templates/interesting.html

changeset 97
6967657fced6
parent 96
5acbf5a81383
child 98
c07a77c8a070
equal deleted inserted replaced
96:5acbf5a81383 97:6967657fced6
49 {% for entry in day_data['leaves'] %} 49 {% for entry in day_data['leaves'] %}
50 <tr class="{% if False %} yö {% endif %}"> 50 <tr class="{% if False %} yö {% endif %}">
51 <td class='sarake-aika'> 51 <td class='sarake-aika'>
52 {{entry['departure'].strftime('%H:%M')}}</td> 52 {{entry['departure'].strftime('%H:%M')}}</td>
53 <td class='sarake-pysäkki'> 53 <td class='sarake-pysäkki'>
54 <a href="../stop/{{entry['stop'].code}}"><img src="../static/{{entry['stop'].typename}}.png" height="24" /> <span class='stop-code'>{{entry['stop'].code}} </span><br /><span class='stop-name'>{{entry['stop'].name}}</span></a> 54 <a href="./stop/{{entry['stop'].code}}"><img src="./static/{{entry['stop'].typename}}.png" height="24" /> <span class='stop-code'>{{entry['stop'].code}} </span><br /><span class='stop-name'>{{entry['stop'].name}}</span></a>
55 </td> 55 </td>
56 <td class='sarake-linja linja'> 56 <td class='sarake-linja linja'>
57 <a href="../trip/{{entry['trip']}}">{{entry['route']}}</a> 57 <a href="./trip/{{entry['trip']}}">{{entry['route']}}</a>
58 </td> 58 </td>
59 <td class='sarake-määränpää' colspan='2'> 59 <td class='sarake-määränpää' colspan='2'>
60 <a href="../trip/{{entry['trip']}}">{{entry['description']}}</a> 60 <a href="./trip/{{entry['trip']}}">{{entry['description']}}</a>
61 </td> 61 </td>
62 </tr> 62 </tr>
63 {% endfor %} 63 {% endfor %}
64 </tbody> 64 </tbody>
65 {% endfor %} 65 {% endfor %}

mercurial