templates/trip.html

changeset 34
d1b88561afdf
parent 32
ca1a0ea81cf6
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 <meta http-equiv='refresh' content='60'> 6 <meta http-equiv='refresh' content='60'>
7 <style> 7 <style>
8 .sarake-alue 8 .sarake-alue
9 { 9 {
65 <a class="region-name" href="javascript:toggle_fold('region-schedule-{{entry['index']}}')">{{entry['name']}}</a> 65 <a class="region-name" href="javascript:toggle_fold('region-schedule-{{entry['index']}}')">{{entry['name']}}</a>
66 <table class="nested-schedule" cellspacing="0"> 66 <table class="nested-schedule" cellspacing="0">
67 {% for halt in entry['stops'] %} 67 {% for halt in entry['stops'] %}
68 <tr> 68 <tr>
69 <td>{{halt['time']}}</td> 69 <td>{{halt['time']}}</td>
70 <td><a href="/pysäkki/{{halt['id']}}"><img src='/static/pysäkki.png' height='24' />&nbsp;{{halt['code']}}</a></td> 70 <td><a href="pysäkki/{{halt['id']}}"><img src='static/pysäkki.png' height='24' />&nbsp;{{halt['code']}}</a></td>
71 <td><a href="/pysäkki/{{halt['id']}}">{{halt['name']}}</a></td> 71 <td><a href="pysäkki/{{halt['id']}}">{{halt['name']}}</a></td>
72 </tr> 72 </tr>
73 {% endfor %} 73 {% endfor %}
74 </table> 74 </table>
75 </td> 75 </td>
76 </tr> 76 </tr>

mercurial