Thu, 31 Aug 2017 21:30:34 +0300
Hups
| 0 | 1 | <html> | 
| 2 | <head> | |
| 35 | 3 | <link rel="icon" type="image/png" href="../static/favicon.png" /> | 
| 4 | <link rel="stylesheet" type="text/css" href="../static/style.css" /> | |
| 0 | 5 | <meta charset='UTF-8' /> | 
| 
33
 
f448f291c1dd
Korjattu pysäkkisivun otsikko
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
32 
diff
changeset
 | 
6 | <title>{{name}}</title> | 
| 
32
 
ca1a0ea81cf6
Yhdistetty pysäkki.png ja iso-pysäkki.png
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
27 
diff
changeset
 | 
7 | <meta http-equiv='refresh' content='60'> | 
| 0 | 8 | <style> | 
| 21 | 9 | .sarake-määränpää | 
| 10 | { | |
| 11 | text-align: left; | |
| 12 | } | |
| 0 | 13 | </style> | 
| 22 | 14 | {% if tausta %} | 
| 15 | <style> | |
| 16 | /*body | |
| 17 | { | |
| 18 | background: url('/{{tausta}}') no-repeat center center fixed; | |
| 19 | background-size: cover; | |
| 20 | }*/ | |
| 21 | </style> | |
| 22 | {% endif %} | |
| 0 | 23 | </head> | 
| 24 | <body> | |
| 35 | 25 | <h1><img src="../static/pysäkki.png" height="96" /> <span>{{name}}</span></h1> | 
| 5 | 26 | <p id="pysäkki-info"> | 
| 
24
 
e6bdb9c54096
Yhtenäistetty ohjelmakoodin kieli englanniksi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
22 
diff
changeset
 | 
27 | {{region or ""}} | 
| 5 | 28 | — | 
| 27 | 29 | <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌 ({{location}})</a> | 
| 5 | 30 | </p> | 
| 
20
 
3199e289ae62
- Sivusto hieman edustuksellisempi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
19 
diff
changeset
 | 
31 | {% if cluster %} | 
| 
19
 
16fa9fb20b32
Lisätty pysäkkiryhmän aikataulunäkymä
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
14 
diff
changeset
 | 
32 | <p> | 
| 
48
 
428cfdf64ccc
Lisätty uudelleenohjauksia
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
41 
diff
changeset
 | 
33 | <a href="../stop_cluster/{{cluster}}">{{tr('nearby-area-schedule', 'misc-text')}}</a> | 
| 
19
 
16fa9fb20b32
Lisätty pysäkkiryhmän aikataulunäkymä
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
14 
diff
changeset
 | 
34 | </p> | 
| 
20
 
3199e289ae62
- Sivusto hieman edustuksellisempi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
19 
diff
changeset
 | 
35 | {% endif %} | 
| 22 | 36 | <table class='aikataulu' cellspacing="0"> | 
| 0 | 37 | <tr> | 
| 
20
 
3199e289ae62
- Sivusto hieman edustuksellisempi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
19 
diff
changeset
 | 
38 | <th class='sarake-aika'>{{tr('time', 'headings')}}</th> | 
| 
 
3199e289ae62
- Sivusto hieman edustuksellisempi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
19 
diff
changeset
 | 
39 | <th class='sarake-linja'>{{tr('route', 'headings')}}</th> | 
| 
 
3199e289ae62
- Sivusto hieman edustuksellisempi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
19 
diff
changeset
 | 
40 | <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> | 
| 0 | 41 | </tr> | 
| 
24
 
e6bdb9c54096
Yhtenäistetty ohjelmakoodin kieli englanniksi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
22 
diff
changeset
 | 
42 | {% for halt in schedule %} | 
| 
 
e6bdb9c54096
Yhtenäistetty ohjelmakoodin kieli englanniksi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
22 
diff
changeset
 | 
43 | <tr class="{% if halt['night'] %} yö {% endif %}"> | 
| 41 | 44 | <td class='sarake-aika'> | 
| 45 | {% if halt['imminent'] %} | |
| 46 | <span class='imminent-leave'>●</span> | |
| 47 | {% endif %} | |
| 48 | {{halt['time']}}</td> | |
| 0 | 49 | <td class='sarake-linja linja'> | 
| 
48
 
428cfdf64ccc
Lisätty uudelleenohjauksia
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
41 
diff
changeset
 | 
50 | <a href="../trip/{{halt['trip']}}">{{halt['route']}}</a> | 
| 0 | 51 | </td> | 
| 52 | <td class='sarake-määränpää'> | |
| 
48
 
428cfdf64ccc
Lisätty uudelleenohjauksia
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
41 
diff
changeset
 | 
53 | <a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a> | 
| 0 | 54 | </td> | 
| 55 | </tr> | |
| 56 | {% endfor %} | |
| 57 | </table> | |
| 58 | </body> | |
| 4 | 59 | </html> |