Merge branch 'master' into basic-auth
This commit is contained in:
@@ -30,6 +30,7 @@ def make_app(config):
|
|||||||
name="login",
|
name="login",
|
||||||
),
|
),
|
||||||
url(r"/home", MainHandler, {"page": "home"}, name="home"),
|
url(r"/home", MainHandler, {"page": "home"}, name="home"),
|
||||||
|
url( r"/workspaces/blank", MainHandler, {'page': 'workspaces_blank'}, name='workspaces_blank' ),
|
||||||
url(
|
url(
|
||||||
r"/workspaces",
|
r"/workspaces",
|
||||||
Workspace,
|
Workspace,
|
||||||
@@ -55,6 +56,7 @@ def make_app(config):
|
|||||||
app = tornado.web.Application(
|
app = tornado.web.Application(
|
||||||
routes,
|
routes,
|
||||||
login_url="/",
|
login_url="/",
|
||||||
|
|
||||||
template_path = home.child('templates'),
|
template_path = home.child('templates'),
|
||||||
static_path = home.child('static'),
|
static_path = home.child('static'),
|
||||||
cookie_secret=config["default"]["COOKIE_SECRET"],
|
cookie_secret=config["default"]["COOKIE_SECRET"],
|
||||||
|
@@ -0,0 +1,15 @@
|
|||||||
|
.empty-state {
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 10rem;
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-family: $font-sans;
|
||||||
|
font-weight: 300;
|
||||||
|
line-height: 10rem;
|
||||||
|
font-size: 44px;
|
||||||
|
line-height: 5rem;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
max-width: 40%;
|
||||||
|
}
|
||||||
|
}
|
12
templates/workspaces_blank.html.to
Normal file
12
templates/workspaces_blank.html.to
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{% extends "base.html.to" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<div class="usa-width-one-whole empty-state">
|
||||||
|
<p>There are currently no JEDI workspaces</p>
|
||||||
|
<a href="" class="usa-button">New Workspace</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{% end %}
|
||||||
|
|
Reference in New Issue
Block a user