summaryrefslogtreecommitdiff
path: root/cgi/templates/display.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-22 02:47:12 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-22 02:47:12 +0200
commit512457a4106650ff79ed709bd744dc91100366ae (patch)
tree7637983cc847f9ee5d7ab4ec8cebd1ac61f71143 /cgi/templates/display.html.ep
parentc2ac0910eef3f0db5c4f1bf1692b0769125abedc (diff)
add &color= support for html frontend
Diffstat (limited to 'cgi/templates/display.html.ep')
-rw-r--r--cgi/templates/display.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/templates/display.html.ep b/cgi/templates/display.html.ep
index 234068b..02f974c 100644
--- a/cgi/templates/display.html.ep
+++ b/cgi/templates/display.html.ep
@@ -13,7 +13,7 @@
body {
font-family: VRRR;
background-color: #000000;
- color: #ffd000;
+ color: #<%= join(q{}, map { sprintf('%02x', $_) } @{$color} ) %>;
font-size: <%= $scale * 100 %>%;
}