aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-09-06 19:20:36 +0200
committerNoah Loomans <noahloomans@gmail.com>2017-09-06 19:20:36 +0200
commita03db5fb5d09b85df359a6e2828e6bab4efc1e9f (patch)
tree6a872dcee284010fb383af41af8975033db4fe0c /views
parent702794c8feab387772a8d9913df847c55e8842d5 (diff)
Add user friendly error page
Diffstat (limited to 'views')
-rw-r--r--views/redirect.jade46
1 files changed, 46 insertions, 0 deletions
diff --git a/views/redirect.jade b/views/redirect.jade
new file mode 100644
index 0000000..f5f9a55
--- /dev/null
+++ b/views/redirect.jade
@@ -0,0 +1,46 @@
+extends layout
+
+block head
+ style.
+ body {
+ 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