aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-04 22:17:14 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-04 22:17:14 +0200
commitfd7262bebcd6aff7e3ad229bd9e737816a2b23bc (patch)
tree6b82b7ee03e6d4c3083aff436cf2a9543af46a2a /views
Init commit
Diffstat (limited to 'views')
-rw-r--r--views/error.jade6
-rw-r--r--views/index.jade10
-rw-r--r--views/layout.jade11
3 files changed, 27 insertions, 0 deletions
diff --git a/views/error.jade b/views/error.jade
new file mode 100644
index 0000000..51ec12c
--- /dev/null
+++ b/views/error.jade
@@ -0,0 +1,6 @@
+extends layout
+
+block content
+ h1= message
+ h2= error.status
+ pre #{error.stack}
diff --git a/views/index.jade b/views/index.jade
new file mode 100644
index 0000000..126abcb
--- /dev/null
+++ b/views/index.jade
@@ -0,0 +1,10 @@
+extends layout
+
+block content
+ form#search
+ .input-wrapper
+ input(type='text', placeholder='Search', autofocus)
+ .autocomplete-wrapper
+ ul.autocomplete
+ #search-space-filler
+ iframe#schedule
diff --git a/views/layout.jade b/views/layout.jade
new file mode 100644
index 0000000..4af4668
--- /dev/null
+++ b/views/layout.jade
@@ -0,0 +1,11 @@
+doctype html
+html
+ head
+ title Metis Rooster
+ meta(name='theme-color',content='#F44336')
+ meta(name='viewport', content='width=device-width, initial-scale=1')
+ link(rel='stylesheet', href='/stylesheets/style.css')
+ script(async, defer, src='/javascripts/bundle.js')
+ link(href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet')
+ body
+ block content