aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
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