aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-12-29 11:08:32 +0100
committerGuido Günther <agx@sigxcpu.org>2015-12-29 11:08:32 +0100
commitb1cf3b002c769c1594d5c1d70e6ab3ccf42a1d89 (patch)
treeee7a358025c0478f0ce5193d1ae89b655dc185b7
parentf92da491e7bdce8aeac3a167ca38abdd61cdb9bd (diff)
Colorize error message
-rw-r--r--cl2vcs.css3
-rw-r--r--templates/index.html3
2 files changed, 5 insertions, 1 deletions
diff --git a/cl2vcs.css b/cl2vcs.css
new file mode 100644
index 0000000..1f09d40
--- /dev/null
+++ b/cl2vcs.css
@@ -0,0 +1,3 @@
+.errormsg {
+ color: red;
+}
diff --git a/templates/index.html b/templates/index.html
index 313b37f..b8cd84c 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -3,13 +3,14 @@
xmlns:xi="http://www.w3.org/2001/XInclude">
<head>
<title>$title</title>
+ <link rel="stylesheet" type="text/css" href="cl2vcs.css"/>
</head>
<body class="index">
<xi:include href="form.html" />
<div py:if="err">
- <em>${err}</em>
+ <em class="errormsg">${err}</em>
</div>
<div id="description">