Sat, 12 Jan 2019 01:38:58 +0200
stuff
98
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
1 | {% from "macros.html" import route_rep, bus_stop_rep %} |
29 | 2 | <html> |
3 | <head> | |
98
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
4 | <base href='..' /> |
35 | 5 | <link rel="icon" type="image/png" href="../static/favicon.png" /> |
6 | <link rel="stylesheet" type="text/css" href="../static/style.css" /> | |
29 | 7 | <meta charset='UTF-8' /> |
8 | <title>{{name}}</title> | |
32
ca1a0ea81cf6
Yhdistetty pysäkki.png ja iso-pysäkki.png
Teemu Piippo <teemu@hecknology.net>
parents:
29
diff
changeset
|
9 | <meta http-equiv='refresh' content='60'> |
29 | 10 | </head> |
11 | <body> | |
12 | <h1><span>{{name}}</span></h1> | |
13 | <table class='aikataulu' cellspacing="0"> | |
14 | <tr> | |
15 | <th class='sarake-aika'>{{tr('time', 'headings')}}</th> | |
98
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
16 | <th class='sarake-lähtö'>{{tr('trip-description', 'headings')}}</th> |
29 | 17 | </tr> |
98
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
18 | {% for stop, schedule in schedules.items() %} |
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
19 | <thead> |
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
20 | <tr> |
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
21 | <td colspan='2'>{{bus_stop_rep(stop)}}</th> |
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
22 | </tr> |
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
23 | </thead> |
29 | 24 | {% for trip in schedule %} |
25 | <tr> | |
26 | <td>{{trip['time']}}</td> | |
98
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
27 | <td><a href="./trip/{{trip['name']}}">{{trip['description']}}</a></td> |
29 | 28 | </tr> |
29 | {% endfor %} | |
98
c07a77c8a070
fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents:
48
diff
changeset
|
30 | {% endfor %} |
29 | 31 | </table> |
32 | </body> | |
33 | </html> |