summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-10-09 16:44:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-10-09 16:44:53 +0200
commit72bc2b2302c985ceedc10f03a849f91c8733210d (patch)
treefda7cffbbcc8c55f97c1d913a1d6b8e76ccc02f0 /cgi
parentc27307c00ef423edfe95bbe756bbb38c61f7d2ae (diff)
make error messages more prominent (big and red)
Diffstat (limited to 'cgi')
-rw-r--r--cgi/templates/layouts/default.html.ep8
1 files changed, 7 insertions, 1 deletions
diff --git a/cgi/templates/layouts/default.html.ep b/cgi/templates/layouts/default.html.ep
index 98b151e..a755388 100644
--- a/cgi/templates/layouts/default.html.ep
+++ b/cgi/templates/layouts/default.html.ep
@@ -13,6 +13,12 @@
font-family: Sans-Serif;
}
+ span.error {
+ font-size: 150%;
+ font-weight: bold;
+ color: #dd0000;
+ }
+
div.outer {
border: 0.2em solid #000066;
width: 55em;
@@ -197,7 +203,7 @@
<% if (my $error = stash 'error') { %>
<p>
- Error: <%= $error %><br/>
+ <span class="error">Error</span>: <%= $error %><br/>
</p>
<% } %>