diff --git a/atst/app.py b/atst/app.py index 9d8ddc00..06e00a9e 100644 --- a/atst/app.py +++ b/atst/app.py @@ -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"], diff --git a/scss/components/_empty_state.scss b/scss/components/_empty_state.scss index e69de29b..d11f5083 100644 --- a/scss/components/_empty_state.scss +++ b/scss/components/_empty_state.scss @@ -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%; + } +} \ No newline at end of file diff --git a/templates/workspaces_blank.html.to b/templates/workspaces_blank.html.to new file mode 100644 index 00000000..0e5f4a0a --- /dev/null +++ b/templates/workspaces_blank.html.to @@ -0,0 +1,12 @@ +{% extends "base.html.to" %} + +{% block content %} + +
+

There are currently no JEDI workspaces

+ New Workspace +
+ + +{% end %} +