Merge branch 'master' into basic-auth
This commit is contained in:
commit
d294171d87
@ -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"],
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user