summaryrefslogtreecommitdiff
path: root/templates/error.html.ep
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-10-29 12:13:04 +0100
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-10-29 12:13:04 +0100
commitee43823179ee627ac16ea9da8168e5f1bf9619c0 (patch)
tree5e6c36d5629d2ce79f3cb1310998dc715a6f19c7 /templates/error.html.ep
Initial commit; Stable version
Diffstat (limited to 'templates/error.html.ep')
-rw-r--r--templates/error.html.ep27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/error.html.ep b/templates/error.html.ep
new file mode 100644
index 0000000..92391d6
--- /dev/null
+++ b/templates/error.html.ep
@@ -0,0 +1,27 @@
+<html>
+
+ <head>
+ <title>Error</title>
+ </head>
+
+ <body>
+ <h1>Error</h1>
+ <p class=center>
+% if (my $msg = stash 'error') {
+%= $msg
+% }
+% else {
+ Uwu :(
+% }
+ </p>
+% if (my $see_other = stash 'links') {
+ See:
+ <nav>
+ % for (@$see_other) {
+ <a href="<%= $_ %>"> <%= $_ %> </a><br>
+ % }
+ </nav>
+% }
+ </body>
+
+</html> \ No newline at end of file