summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-07-02 21:05:33 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-07-02 21:05:33 +0200
commit257a4ec39bbf6c9fadce097b854c16969c953a35 (patch)
treeb03aedbc39fd6f2c77578fc55d5090977d4b9dcd /templates
parent254013b651cbb183452107d1d9eb7636d2157808 (diff)
Note that dbf is limited to DB lines when encountering no results
Diffstat (limited to 'templates')
-rw-r--r--templates/_error.html.ep4
-rw-r--r--templates/layouts/app.html.ep4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/_error.html.ep b/templates/_error.html.ep
index 4abfb4e..8585f90 100644
--- a/templates/_error.html.ep
+++ b/templates/_error.html.ep
@@ -1,5 +1,5 @@
<div class="error"><strong>Fehler:</strong>
-<pre>
+<p style="font-family: Monospace;">
%= $error
-</pre>
+</p>
</div>
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index 83c83fa..a897747 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -101,9 +101,9 @@
<div class="container">
% if (my $error = stash 'error') {
<div class="error"><strong>Fehler:</strong>
-<pre>
+<p>
%= $error
-</pre>
+</p>
</div>
% }
% elsif (stash('stationlist')) {