Add workspaces blank screen
This commit is contained in:
parent
7823942b79
commit
a13389c735
@ -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},
|
||||
|
@ -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