summaryrefslogtreecommitdiff
path: root/templates/bad_gateway.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-11-23 10:04:48 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-11-23 10:04:48 +0100
commitd0c0c2bc7c17f0df5f359f49f1dafa61e095fc47 (patch)
treeb76cbfdf517048a85a7001be7d64db6f58334fce /templates/bad_gateway.html.ep
parent509c2377614c3d7fca5f407b247b85d804c39aaa (diff)
departures: distinguish between backend errors (502) and internal errors (500)2.9.1
Closes #179
Diffstat (limited to 'templates/bad_gateway.html.ep')
-rw-r--r--templates/bad_gateway.html.ep21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/bad_gateway.html.ep b/templates/bad_gateway.html.ep
new file mode 100644
index 0000000..773cda8
--- /dev/null
+++ b/templates/bad_gateway.html.ep
@@ -0,0 +1,21 @@
+<div class="row">
+ <div class="col s12">
+ <div class="card caution-color">
+ <div class="card-content white-text">
+ <span class="card-title">502 Bad Gateway</span>
+ <p>
+ Das von travelynx genutzte Backend hat einen Fehler zurückgegeben.
+ Oft sind diese temporär – versuche es in ein paar Sekunden bis Minuten noch einmal.
+ </p>
+ </div>
+ </div>
+ </div>
+</div>
+<div class="row">
+ <div class="col s12">
+ <p>Details:</p>
+ <p style="font-family: monospace;">
+ %= $message
+ </p>
+ </div>
+</div>