

diff --git a/.gitignore b/.gitignore index 1739a98e..d2876f81 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ static/fonts/* scss/assets .pytest_cache/ .venv/ +__pycache__ diff --git a/atst/app.py b/atst/app.py index 259a6539..19ebe727 100644 --- a/atst/app.py +++ b/atst/app.py @@ -5,7 +5,8 @@ from tornado.web import url def make_app(**kwargs): app = tornado.web.Application([ - url( r"/", MainHandler, {'page': 'home'}, name='home' ), + url( r"/", MainHandler, {'page': 'login'}, name='login' ), + url( r"/home", MainHandler, {'page': 'home'}, name='home' ), url( r"/requests", MainHandler, {'page': 'requests'}, name='requests' ), url( r"/users", MainHandler, {'page': 'users'}, name='users' ), url( r"/reports", MainHandler, {'page': 'reports'}, name='reports' ), diff --git a/scss/atat.scss b/scss/atat.scss index 65ec64a6..afe397c1 100644 --- a/scss/atat.scss +++ b/scss/atat.scss @@ -1,2 +1,13 @@ -@import '../node_modules/uswds/src/stylesheets/uswds.scss'; -@import 'variables.scss'; \ No newline at end of file +@import '../node_modules/uswds/src/stylesheets/uswds'; +@import 'variables'; + +@import 'base/typography'; +@import 'base/forms'; +@import 'base/buttons'; +@import 'base/tables'; + +@import 'components/empty_state'; + +@import 'sections/layout'; +@import 'sections/login'; + diff --git a/scss/base/_buttons.scss b/scss/base/_buttons.scss new file mode 100644 index 00000000..e69de29b diff --git a/scss/base/_forms.scss b/scss/base/_forms.scss new file mode 100644 index 00000000..e69de29b diff --git a/scss/base/_tables.scss b/scss/base/_tables.scss new file mode 100644 index 00000000..e69de29b diff --git a/scss/base/_typography.scss b/scss/base/_typography.scss new file mode 100644 index 00000000..80f7501d --- /dev/null +++ b/scss/base/_typography.scss @@ -0,0 +1,3 @@ +h1, h2, h3, h4, h5, h6 { + font-family: $font-sans; +} diff --git a/scss/components/_empty_state.scss b/scss/components/_empty_state.scss new file mode 100644 index 00000000..e69de29b diff --git a/scss/sections/_layout.scss b/scss/sections/_layout.scss new file mode 100644 index 00000000..ee58f0d6 --- /dev/null +++ b/scss/sections/_layout.scss @@ -0,0 +1,15 @@ +.content { + +} + +header { + +} + +section { + +} + +footer { + +} \ No newline at end of file diff --git a/scss/sections/_login.scss b/scss/sections/_login.scss new file mode 100644 index 00000000..030d09d5 --- /dev/null +++ b/scss/sections/_login.scss @@ -0,0 +1,3 @@ +.login-area { + text-align: center; +} \ No newline at end of file diff --git a/static/img/favicon.ico b/static/img/favicon.ico new file mode 100644 index 00000000..0eeef5ef Binary files /dev/null and b/static/img/favicon.ico differ diff --git a/static/img/logo-alt.png b/static/img/logo-alt.png new file mode 100644 index 00000000..24e32a9e Binary files /dev/null and b/static/img/logo-alt.png differ diff --git a/templates/base.html.to b/templates/base.html.to index 63643cd9..d52ce5ec 100644 --- a/templates/base.html.to +++ b/templates/base.html.to @@ -7,6 +7,7 @@ {% for url in assets['css'].urls() %} {% end %} +
diff --git a/templates/blank.html.to b/templates/blank.html.to new file mode 100644 index 00000000..6ee07c63 --- /dev/null +++ b/templates/blank.html.to @@ -0,0 +1,29 @@ + + + + + +