Add workspaces blank screen

This commit is contained in:
Luis Cielak 2018-06-12 15:52:01 -04:00
parent 7823942b79
commit a13389c735
3 changed files with 28 additions and 0 deletions

View File

@ -18,6 +18,7 @@ def make_app(config):
app = tornado.web.Application([
url( r"/", MainHandler, {'page': 'login'}, 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,
{'page': 'workspaces', 'authz_client': authz_client},

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