diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-08-20 18:49:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-08-20 18:49:36 +0200 |
commit | 5bca4819dd35226886e85adf6e6c3cebdf1fb00a (patch) | |
tree | eeddde4349108f84c8fa252e467da91c8bf3257c /templates/display.html.ep | |
parent | 9d09737ac16b1f3715c38f57830b41a3269d85d9 (diff) |
move application from cgi directory to project root
Diffstat (limited to 'templates/display.html.ep')
-rw-r--r-- | templates/display.html.ep | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/display.html.ep b/templates/display.html.ep new file mode 100644 index 0000000..e65fdc9 --- /dev/null +++ b/templates/display.html.ep @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> +<head> + <title><%= $title %></title> + <meta charset="utf-8"> + %= stylesheet '/display.css' + %= javascript '/jquery-2.1.1.min.js' +</head> +<body style="color: #<%= join(q{}, map { sprintf('%02x', $_) } @{$color} ) %>; + font-size: <%= $scale * 100 %>%;"> + +<div class="outer"> +% for my $d (@{$departures}) { +<div class="row"> +<div class="line"> <%= $d->[0] %> </div> +<div class="dest"> <%= $d->[1] %> </div> +<div class="time"> <%= $d->[2] %> </div> +</div> <!-- row --> +% } +</div> <!-- outer --> + +</body> +</html> |