Wed, 28 Jun 2017 16:25:17 +0300
Kavennettu hieman
| 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> | 
| 35 | 33 | <a href="../pysäkkiryhmä/{{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 %}"> | 
| 
 
e6bdb9c54096
Yhtenäistetty ohjelmakoodin kieli englanniksi
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
22 
diff
changeset
 | 
44 | <td class='sarake-aika'>{{halt['time']}}</td> | 
| 0 | 45 | <td class='sarake-linja linja'> | 
| 35 | 46 | <a href="../ajovuoro/{{halt['trip']}}">{{halt['route']}}</a> | 
| 0 | 47 | </td> | 
| 48 | <td class='sarake-määränpää'> | |
| 35 | 49 | <a href="../ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a> | 
| 0 | 50 | </td> | 
| 51 | </tr> | |
| 52 | {% endfor %} | |
| 53 | </table> | |
| 54 | </body> | |
| 4 | 55 | </html> |