templates/trip.html

changeset 35
8ed8f8be7a07
parent 34
d1b88561afdf
child 36
728965530259
equal deleted inserted replaced
34:d1b88561afdf 35:8ed8f8be7a07
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