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 <base href=".." /> |
6 <meta charset='UTF-8' /> |
7 <meta charset='UTF-8' /> |
7 <meta http-equiv='refresh' content='60'> |
8 <meta http-equiv='refresh' content='60'> |
8 <title>{{name}}</title> |
9 <title>{{name}}</title> |
9 {% if amount_of_stops_in_cluster >= 5 %} |
10 {% if amount_of_stops_in_cluster >= 5 %} |
10 <style> |
11 <style> |
54 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> |
55 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> |
55 <th> |
56 <th> |
56 <span class='actions'> |
57 <span class='actions'> |
57 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌</a> |
58 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌</a> |
58 {% if cluster %} |
59 {% if cluster %} |
59 <a href="../stop_cluster/{{cluster}}">🞊</a> |
60 <a href="stop_cluster/{{cluster}}">🞊</a> |
60 {% endif %} |
61 {% endif %} |
61 </th> |
62 </th> |
62 </tr> |
63 </tr> |
63 </thead> |
64 </thead> |
64 <tbody> |
65 <tbody> |
69 <span class='imminent-leave'>●</span> |
70 <span class='imminent-leave'>●</span> |
70 {% endif %} |
71 {% endif %} |
71 {{halt['time']}} |
72 {{halt['time']}} |
72 </td> |
73 </td> |
73 <td class='sarake-pysäkki'> |
74 <td class='sarake-pysäkki'> |
74 <a href="../stop/{{halt['stop_id']}}"><img src="../static/{{halt['typename']}}.png" height="24" /> {{halt['stop_code']}}</a> |
75 <!--<a href="../stop/{{halt['stop_id']}}"><img src="../static/{{halt['typename']}}.png" height="24" /> {{halt['stop_code']}}</a>--> |
|
76 {{bus_stop_rep(halt['stop'])}} |
75 </td> |
77 </td> |
76 <td class='sarake-linja linja'> |
78 <td class='sarake-linja linja'> |
77 <a href="../trip/{{halt['trip']}}">{{route_rep(halt['route-splice'])}}</a> |
79 <a href="trip/{{halt['trip']}}">{{route_rep(halt['route-splice'])}}</a> |
78 </td> |
80 </td> |
79 <td class='sarake-määränpää' colspan='2'> |
81 <td class='sarake-määränpää' colspan='2'> |
80 <a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a> |
82 <a href="trip/{{halt['trip']}}">{{halt['sign']}}</a> |
81 </td> |
83 </td> |
82 </tr> |
84 </tr> |
83 {% endfor %} |
85 {% endfor %} |
84 </tbody> |
86 </tbody> |
85 </table> |
87 </table> |