Jacek Kowalski
2019-06-22 df2ceeed93732415b6067ff6ffa6e07224eef78e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<title>Vehicles on lines (TTSS-based)</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
 
<style type="text/css">
table {
    border-collapse: collapse;
    border-spacing: 0;
}
th, td {
    border: 1px solid black;
    padding: 5px;
}
td {
    vertical-align: top;
    text-align: center;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.low {
    color: #000;
}
.low0 {
    color: #C70;
}
.low1, .low2 {
    color: #070;
}
</style>
 
<table>
 
<thead>
<tr>
{% for line in lines|keys %}
<th>{{ line | e }}</th>
{% endfor %}
</tr>
</thead>
 
<tbody>
<tr>
{% for trips in lines %}
<td>
{% for trip in trips %}
<a href="https://mpk.jacekk.net/map.html#!{{ prefix }}{{ trip.trip.id | e }}" class="low{{ trip.vehicle.low | default }}">
{{ trip.vehicle.num | default('<?>') | e }}<br />
</a>
{% endfor %}
</td>
{% endfor %}
</tr>
</tbody>
 
</table>