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