templates/stop.html

changeset 34
d1b88561afdf
parent 33
f448f291c1dd
child 35
8ed8f8be7a07
equal deleted inserted replaced
33:f448f291c1dd 34:d1b88561afdf
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="icon" type="image/png" href="/static/favicon.png" /> 3 <link rel="icon" type="image/png" href="static/favicon.png" />
4 <link rel="stylesheet" type="text/css" href="/static/style.css" /> 4 <link rel="stylesheet" type="text/css" href="static/style.css" />
5 <meta charset='UTF-8' /> 5 <meta charset='UTF-8' />
6 <title>{{name}}</title> 6 <title>{{name}}</title>
7 <meta http-equiv='refresh' content='60'> 7 <meta http-equiv='refresh' content='60'>
8 <style> 8 <style>
9 .sarake-määränpää 9 .sarake-määränpää
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> 25 <h1><img src="static/pysäkki.png" height="96" /> <span>{{name}}</span></h1>
26 <p id="pysäkki-info"> 26 <p id="pysäkki-info">
27 {{region or ""}} 27 {{region or ""}}
28 28
29 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌 ({{location}})</a> 29 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌 ({{location}})</a>
30 </p> 30 </p>
31 {% if cluster %} 31 {% if cluster %}
32 <p> 32 <p>
33 <a href="/pysäkkiryhmä/{{cluster}}">{{tr('nearby-area-schedule', 'misc-text')}}</a> 33 <a href="pysäkkiryhmä/{{cluster}}">{{tr('nearby-area-schedule', 'misc-text')}}</a>
34 </p> 34 </p>
35 {% endif %} 35 {% endif %}
36 <table class='aikataulu' cellspacing="0"> 36 <table class='aikataulu' cellspacing="0">
37 <tr> 37 <tr>
38 <th class='sarake-aika'>{{tr('time', 'headings')}}</th> 38 <th class='sarake-aika'>{{tr('time', 'headings')}}</th>
41 </tr> 41 </tr>
42 {% for halt in schedule %} 42 {% for halt in schedule %}
43 <tr class="{% if halt['night'] %} yö {% endif %}"> 43 <tr class="{% if halt['night'] %} yö {% endif %}">
44 <td class='sarake-aika'>{{halt['time']}}</td> 44 <td class='sarake-aika'>{{halt['time']}}</td>
45 <td class='sarake-linja linja'> 45 <td class='sarake-linja linja'>
46 <a href="/ajovuoro/{{halt['trip']}}">{{halt['route']}}</a> 46 <a href="ajovuoro/{{halt['trip']}}">{{halt['route']}}</a>
47 </td> 47 </td>
48 <td class='sarake-määränpää'> 48 <td class='sarake-määränpää'>
49 <a href="/ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a> 49 <a href="ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a>
50 </td> 50 </td>
51 </tr> 51 </tr>
52 {% endfor %} 52 {% endfor %}
53 </table> 53 </table>
54 </body> 54 </body>

mercurial