1 {% from "macros.html" import route_rep %} |
1 {% from "macros.html" import route_rep, bus_stop_rep %} |
2 <html> |
2 <html> |
3 <head> |
3 <head> |
4 <link rel="icon" type="image/png" href="./static/favicon.png" /> |
4 <link rel="icon" type="image/png" href="./static/favicon.png" /> |
5 <link rel="stylesheet" type="text/css" href="./static/style.css" /> |
5 <link rel="stylesheet" type="text/css" href="./static/style.css" /> |
6 <meta charset='UTF-8' /> |
6 <meta charset='UTF-8' /> |
49 {% for entry in day_data['leaves'] %} |
44 {% for entry in day_data['leaves'] %} |
50 <tr class="{% if False %} yö {% endif %}"> |
45 <tr class="{% if False %} yö {% endif %}"> |
51 <td class='sarake-aika'> |
46 <td class='sarake-aika'> |
52 {{entry['departure'].strftime('%H:%M')}}</td> |
47 {{entry['departure'].strftime('%H:%M')}}</td> |
53 <td class='sarake-pysäkki'> |
48 <td class='sarake-pysäkki'> |
54 <a href="./stop/{{entry['stop'].code}}"><img src="./static/{{entry['stop'].typename}}.png" height="24" /> <span class='stop-code'>{{entry['stop'].code}} </span><br /><span class='stop-name'>{{entry['stop'].name}}</span></a> |
49 {{bus_stop_rep(entry['stop'])}} |
55 </td> |
50 </td> |
56 <td class='sarake-linja linja'> |
51 <td class='sarake-linja linja'> |
57 <a href="./trip/{{entry['trip']}}">{{entry['route']}}</a> |
52 <a href="./trip/{{entry['trip']}}">{{entry['route']}}</a> |
58 </td> |
53 </td> |
59 <td class='sarake-määränpää' colspan='2'> |
54 <td class='sarake-määränpää' colspan='2'> |