aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-09-08 21:44:45 +0200
committerNoah Loomans <noahloomans@gmail.com>2017-09-08 21:44:45 +0200
commit5aac32f72eca8c66e879583ce653d07bb3c7370f (patch)
treee529c41a917ce3f7f13183febc3ce666a6f627d4 /views
parentb4a63e917d8e07f0b1422f5f4e145e46e223386e (diff)
parentc8d6527d802a64e19ef5e7141a9c817517d5a99f (diff)
Merge branch 'master' into beta
Diffstat (limited to 'views')
-rw-r--r--views/index.jade2
-rw-r--r--views/redirect.jade47
2 files changed, 48 insertions, 1 deletions
diff --git a/views/index.jade b/views/index.jade
index 8e75ef9..397e6b2 100644
--- a/views/index.jade
+++ b/views/index.jade
@@ -47,5 +47,5 @@ block content
block scripts
script.
- !{flagsStr}!{usersStr}
+ !{flagsStr}!{usersStr}!{validWeekNumbersStr}
script(src='/javascripts/bundle.js')
diff --git a/views/redirect.jade b/views/redirect.jade
new file mode 100644
index 0000000..e895456
--- /dev/null
+++ b/views/redirect.jade
@@ -0,0 +1,47 @@
+extends layout
+
+block head
+ style.
+ body {
+ font-family: 'Roboto', sans-serif;
+ text-align: center;
+ margin: 32px;
+ }
+
+ .content {
+ max-width: 600px;
+ margin: 0 auto;
+ }
+
+ h1 {
+ color: #212121;
+ margin-bottom: 32px;
+ }
+
+ h2 {
+ color: #727272;
+ margin-bottom: 64px;
+ }
+
+ a, a:visited {
+ margin: 8px;
+ padding: 8px 16px;
+ background-color: #c84127;
+ color: white;
+ text-decoration: none;
+ font-weight: bold;
+ border-radius: 3px;
+ }
+
+ a:hover, a:focus, a:active {
+ background-color: #e45a3f;
+ }
+
+block content
+ .content
+ script document.body.style.opacity = 1
+ img(src='/icons/mml-logo.png')
+ h1 Er is iets mis gegaan tijdens het ophalen van de benodigde informatie
+ h2 Je kunt proberen door te gaan naar het oude rooster of Magister
+ a(href='http://www.meetingpointmco.nl/Roosters-AL/doc/') Oud rooster
+ a(href='http://msa.magister.net/') Magister