Sun, 11 Jun 2017 01:28:25 +0300
- Sivusto hieman edustuksellisempi
- Aikataulut ottavat edelliselle päivälle merkitty, mutta nykyiselle päivälle "vuotavat" vuorot huomioon (yölinjat)
| 0 | 1 | <html> |
| 2 | <head> | |
|
11
e18ad36fbbf5
Lisätty favicon, korjattu tr()-funktio joka ei olettunut suomen kieleen (vaan kääntämättömään)
Teemu Piippo <teemu@hecknology.net>
parents:
5
diff
changeset
|
3 | <link rel="icon" type="image/png" href="/static/favicon.png" /> |
|
19
16fa9fb20b32
Lisätty pysäkkiryhmän aikataulunäkymä
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
4 | <link rel="stylesheet" type="text/css" href="/static/style.css" /> |
| 0 | 5 | <meta charset='UTF-8' /> |
|
19
16fa9fb20b32
Lisätty pysäkkiryhmän aikataulunäkymä
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
6 | <title>{{nimi}}</title> |
| 0 | 7 | <style> |
|
19
16fa9fb20b32
Lisätty pysäkkiryhmän aikataulunäkymä
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
8 | p { text-align: center } |
| 0 | 9 | </style> |
| 10 | </head> | |
| 11 | <body> | |
|
19
16fa9fb20b32
Lisätty pysäkkiryhmän aikataulunäkymä
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
12 | <h1>{{nimi}}</h1> |
| 5 | 13 | <p id="pysäkki-info"> |
| 14 | {{alue or ""}} | |
| 15 | — | |
| 16 | <a class="pysäkki-sijainti" href="{{linkki_karttaan}}" target="_blank">📌 ({{sijainti}})</a> | |
| 17 | </p> | |
|
20
3199e289ae62
- Sivusto hieman edustuksellisempi
Teemu Piippo <teemu@hecknology.net>
parents:
19
diff
changeset
|
18 | {% if cluster %} |
|
19
16fa9fb20b32
Lisätty pysäkkiryhmän aikataulunäkymä
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
19 | <p> |
|
20
3199e289ae62
- Sivusto hieman edustuksellisempi
Teemu Piippo <teemu@hecknology.net>
parents:
19
diff
changeset
|
20 | <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
|
21 | </p> |
|
20
3199e289ae62
- Sivusto hieman edustuksellisempi
Teemu Piippo <teemu@hecknology.net>
parents:
19
diff
changeset
|
22 | {% endif %} |
| 5 | 23 | <table id='aikataulu' cellspacing="0"> |
| 0 | 24 | <tr> |
|
20
3199e289ae62
- Sivusto hieman edustuksellisempi
Teemu Piippo <teemu@hecknology.net>
parents:
19
diff
changeset
|
25 | <th class='sarake-aika'>{{tr('time', 'headings')}}</th> |
|
3199e289ae62
- Sivusto hieman edustuksellisempi
Teemu Piippo <teemu@hecknology.net>
parents:
19
diff
changeset
|
26 | <th class='sarake-linja'>{{tr('route', 'headings')}}</th> |
|
3199e289ae62
- Sivusto hieman edustuksellisempi
Teemu Piippo <teemu@hecknology.net>
parents:
19
diff
changeset
|
27 | <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> |
| 0 | 28 | </tr> |
| 29 | {% for rivi in aikataulu %} | |
| 5 | 30 | <tr class="{% if rivi['yö'] %} yö {% endif %}"> |
| 0 | 31 | <td class='sarake-aika'>{{rivi['aika']}}</td> |
| 32 | <td class='sarake-linja linja'> | |
| 33 | <a href="/ajovuoro/{{rivi['ajovuoro']}}">{{rivi['linja']}}</a> | |
| 34 | </td> | |
| 35 | <td class='sarake-määränpää'> | |
| 36 | <a href="/ajovuoro/{{rivi['ajovuoro']}}">{{rivi['kyltti']}}</a> | |
| 37 | </td> | |
| 38 | </tr> | |
| 39 | {% endfor %} | |
| 40 | </table> | |
| 41 | </body> | |
| 4 | 42 | </html> |