From 334cdd809e665db47dde838765c2669f9a52d3cf Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 20 Dec 2014 14:03:15 +0100 Subject: add exception and not_found templates --- templates/exception.html.ep | 26 ++++++++++++++++++++++++++ templates/not_found.html.ep | 20 ++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 templates/exception.html.ep create mode 100644 templates/not_found.html.ep (limited to 'templates') diff --git a/templates/exception.html.ep b/templates/exception.html.ep new file mode 100644 index 0000000..dfa71e1 --- /dev/null +++ b/templates/exception.html.ep @@ -0,0 +1,26 @@ + + + + vrr-fakedisplay + + %= stylesheet '/main.css' + + + +
500 Internal Server Error
+
+
+An error occured while processing your request.
+
+----------[Debug start]----------
+%= $exception->message
+Stash:
+%= dumper $snapshot
+----------[Debug end]----------
+
+
+
+return to main page +
+ + diff --git a/templates/not_found.html.ep b/templates/not_found.html.ep new file mode 100644 index 0000000..35255b3 --- /dev/null +++ b/templates/not_found.html.ep @@ -0,0 +1,20 @@ + + + + vrr-fakedisplay + + %= stylesheet '/main.css' + + + +
404 Not Found
+
+
+The requested URL does not exist and does not map to a public transit station.
+
+
+
+return to main page +
+ + -- cgit v1.2.3