blob: 5a98e1ab1fc7676a8cd5695317090b207ca4ffde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html>
<head>
<title><%= $title %></title>
<meta charset="utf-8">
% my $av = 'v1'; # asset version
%= stylesheet "/static/${av}/css/display.css"
%= javascript '/static/js/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>
|