| 34 background-size: cover; |
34 background-size: cover; |
| 35 }*/ |
35 }*/ |
| 36 </style> |
36 </style> |
| 37 </head> |
37 </head> |
| 38 <body> |
38 <body> |
| 39 <h1><img src="../static/pysäkki.png" height="96" /> <span>{{name}}</span></h1> |
39 <!-- |
| 40 <p id="pysäkki-info"> |
|
| 41 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌 ({{location}})</a> |
|
| 42 </p> |
|
| 43 <div class="stops-in-cluster"> |
40 <div class="stops-in-cluster"> |
| 44 <ul> |
41 <ul> |
| 45 {% for stop in stops_in_cluster %} |
42 {% for stop in stops_in_cluster %} |
| 46 <li><a href="../pysäkki/{{stop['id']}}"><img src="../static/pysäkki.png" height="24" /> {{stop['code']}} {{stop['name']}}</a></li> |
43 <li><a href="../pysäkki/{{stop['id']}}"><img src="../static/pysäkki.png" height="24" /> {{stop['code']}} {{stop['name']}}</a></li> |
| 47 {% endfor %} |
44 {% endfor %} |
| 48 </ul> |
45 </ul> |
| 49 </div> |
46 </div> |
| |
47 --> |
| 50 <table class='aikataulu' cellspacing="0"> |
48 <table class='aikataulu' cellspacing="0"> |
| |
49 <thead> |
| |
50 <tr> |
| |
51 <th class='primary-heading' colspan='5'> |
| |
52 <span>{{name}}</span> |
| |
53 </th> |
| |
54 </tr> |
| 51 <tr> |
55 <tr> |
| 52 <th class='sarake-aika'>{{tr('time', 'headings')}}</th> |
56 <th class='sarake-aika'>{{tr('time', 'headings')}}</th> |
| |
57 <th class='sarake-pysäkki'>{{tr('bus-stop', 'headings')}}</th> |
| 53 <th class='sarake-linja'>{{tr('route', 'headings')}}</th> |
58 <th class='sarake-linja'>{{tr('route', 'headings')}}</th> |
| 54 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> |
59 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> |
| 55 <th class='sarake-pysäkki'>{{tr('bus-stop', 'headings')}}</th> |
60 <th> |
| |
61 <span class='actions'> |
| |
62 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌</a> |
| |
63 {% if cluster %} |
| |
64 <a href="../stop_cluster/{{cluster}}">🞊</a> |
| |
65 {% endif %} |
| |
66 </th> |
| 56 </tr> |
67 </tr> |
| |
68 </thead> |
| |
69 <tbody> |
| 57 {% for halt in schedule %} |
70 {% for halt in schedule %} |
| 58 <tr class="{% if halt['night'] %} yö {% endif %}"> |
71 <tr class="{% if halt['night'] %} yö {% endif %}"> |
| 59 <td class='sarake-aika'> |
72 <td class='sarake-aika'> |
| 60 {% if halt['imminent'] %} |
73 {% if halt['imminent'] %} |
| 61 <span class='imminent-leave'>●</span> |
74 <span class='imminent-leave'>●</span> |
| 62 {% endif %} |
75 {% endif %} |
| 63 {{halt['time']}} |
76 {{halt['time']}} |
| 64 </td> |
77 </td> |
| |
78 <td class='sarake-pysäkki'> |
| |
79 <a href="../stop/{{halt['stop_id']}}"><img src="../static/pysäkki.png" height="24" /> {{halt['stop_code']}}</a> |
| |
80 </td> |
| 65 <td class='sarake-linja linja'> |
81 <td class='sarake-linja linja'> |
| 66 <a href="../trip/{{halt['trip']}}">{{halt['route']}}</a> |
82 <a href="../trip/{{halt['trip']}}">{{halt['route']}}</a> |
| 67 </td> |
83 </td> |
| 68 <td class='sarake-määränpää'> |
84 <td class='sarake-määränpää' colspan='2'> |
| 69 <a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a> |
85 <a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a> |
| 70 </td> |
|
| 71 <td class='sarake-pysäkki'> |
|
| 72 <a href="../stop/{{halt['stop_id']}}"><img src="../static/pysäkki.png" height="24" /> {{halt['stop_code']}}</a> |
|
| 73 </td> |
86 </td> |
| 74 </tr> |
87 </tr> |
| 75 {% endfor %} |
88 {% endfor %} |
| |
89 </tbody> |
| 76 </table> |
90 </table> |
| 77 </body> |
91 </body> |
| 78 </html> |
92 </html> |