From 512457a4106650ff79ed709bd744dc91100366ae Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Sep 2013 02:47:12 +0200 Subject: add &color= support for html frontend --- cgi/templates/display.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgi/templates') 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 %>%; } -- cgit v1.2.3