Merge branch 'master' into basic-auth

This commit is contained in:
richard-dds 2018-06-14 13:14:30 -04:00 committed by GitHub
commit d294171d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 0 deletions

View File

@ -30,6 +30,7 @@ def make_app(config):
name="login",
),
url(r"/home", MainHandler, {"page": "home"}, name="home"),
url( r"/workspaces/blank", MainHandler, {'page': 'workspaces_blank'}, name='workspaces_blank' ),
url(
r"/workspaces",
Workspace,
@ -55,6 +56,7 @@ def make_app(config):
app = tornado.web.Application(
routes,
login_url="/",
template_path = home.child('templates'),
static_path = home.child('static'),
cookie_secret=config["default"]["COOKIE_SECRET"],

View File

@ -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%;
}
}

View 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 %}