templates/stop.html

changeset 55
0f1d046b3f78
parent 48
428cfdf64ccc
child 67
336c750b7b5d
equal deleted inserted replaced
54:0b1e263674e8 55:0f1d046b3f78
20 }*/ 20 }*/
21 </style> 21 </style>
22 {% endif %} 22 {% endif %}
23 </head> 23 </head>
24 <body> 24 <body>
25 <h1><img src="../static/pysäkki.png" height="96" /> <span>{{name}}</span></h1>
26 <p id="pysäkki-info">
27 {{region or ""}}
28
29 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌 ({{location}})</a>
30 </p>
31 {% if cluster %}
32 <p>
33 <a href="../stop_cluster/{{cluster}}">{{tr('nearby-area-schedule', 'misc-text')}}</a>
34 </p>
35 {% endif %}
36 <table class='aikataulu' cellspacing="0"> 25 <table class='aikataulu' cellspacing="0">
26 <thead>
37 <tr> 27 <tr>
28 <th colspan='4' class='primary-heading'>
29 <span><img src="../static/pysäkki.png" height="96" /> {{name}}</span>
30 </th>
31 </tr>
32 <tr class='headings'>
38 <th class='sarake-aika'>{{tr('time', 'headings')}}</th> 33 <th class='sarake-aika'>{{tr('time', 'headings')}}</th>
39 <th class='sarake-linja'>{{tr('route', 'headings')}}</th> 34 <th class='sarake-linja'>{{tr('route', 'headings')}}</th>
40 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> 35 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th>
36 <th>
37 <span class='actions'>
38 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌</a>
39 {% if cluster %}
40 <a href="../stop_cluster/{{cluster}}">🞊</a>
41 {% endif %}
42 </th>
41 </tr> 43 </tr>
44 </thead>
45 <tbody>
42 {% for halt in schedule %} 46 {% for halt in schedule %}
43 <tr class="{% if halt['night'] %} yö {% endif %}"> 47 <tr class="{% if halt['night'] %} yö {% endif %}">
44 <td class='sarake-aika'> 48 <td class='sarake-aika'>
45 {% if halt['imminent'] %} 49 {% if halt['imminent'] %}
46 <span class='imminent-leave'>●</span> 50 <span class='imminent-leave'>●</span>
47 {% endif %} 51 {% endif %}
48 {{halt['time']}}</td> 52 {{halt['time']}}</td>
49 <td class='sarake-linja linja'> 53 <td class='sarake-linja linja'>
50 <a href="../trip/{{halt['trip']}}">{{halt['route']}}</a> 54 <a href="../trip/{{halt['trip']}}">{{halt['route']}}</a>
51 </td> 55 </td>
52 <td class='sarake-määränpää'> 56 <td class='sarake-määränpää' colspan='2'>
53 <a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a> 57 <a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a>
54 </td> 58 </td>
55 </tr> 59 </tr>
56 {% endfor %} 60 {% endfor %}
61 </tbody>
57 </table> 62 </table>
58 </body> 63 </body>
59 </html> 64 </html>

mercurial