templates/ajovuoro.html

changeset 2
48efa8ca14dd
parent 0
fc48613c73e5
child 4
312c432bb9e6
equal deleted inserted replaced
1:22c22ff63e66 2:48efa8ca14dd
60 <h1>Ajo {{numero}}: {{linja}} {{selite}}</h1> 60 <h1>Ajo {{numero}}: {{linja}} {{selite}}</h1>
61 <table id='aikataulu'> 61 <table id='aikataulu'>
62 <tr> 62 <tr>
63 <th class='sarake-aika'>Aika</th> 63 <th class='sarake-aika'>Aika</th>
64 <th class='sarake-linja'>Viite</th> 64 <th class='sarake-linja'>Viite</th>
65 <th class='sarake-määränpää'>Nimi</th> 65 <th class='sarake-nimi'>Nimi</th>
66 <th class='sarake-alue'>Alue</th>
66 </tr> 67 </tr>
67 {% for rivi in reitti %} 68 {% for rivi in reitti %}
68 <tr> 69 <tr>
69 <td class='sarake-aika'>{{rivi['aika']}}</td> 70 <td class='sarake-aika'>{{rivi['aika']}}</td>
70 <td class='sarake-tunniste'> 71 <td class='sarake-tunniste'>
71 <a href="/pysäkki/{{rivi['tunniste']}}">{{rivi['tunniste']}}</a> 72 <a href="/pysäkki/{{rivi['tunniste']}}">{{rivi['tunniste']}}</a>
72 </td> 73 </td>
73 <td class='sarake-nimi'> 74 <td class='sarake-nimi'>
74 <a href="/pysäkki/{{rivi['tunniste']}}">{{rivi['nimi']}}</a> 75 <a href="/pysäkki/{{rivi['tunniste']}}">{{rivi['nimi']}}</a>
75 </td> 76 </td>
77 <td class='sarake-alue'>
78 {{rivi['alue'] or ''}}
79 </td>
76 </tr> 80 </tr>
77 {% endfor %} 81 {% endfor %}
78 </table> 82 </table>
79 </body> 83 </body>
80 </html> 84 </html>

mercurial