200 <body> |
200 <body> |
201 <table class='aikataulu' cellspacing="0"> |
201 <table class='aikataulu' cellspacing="0"> |
202 <thead> |
202 <thead> |
203 <tr> |
203 <tr> |
204 <th colspan='100' class='primary-heading'> |
204 <th colspan='100' class='primary-heading'> |
|
205 <span style='float:left'><a href='?week={{previous_week}}'>⏴</a></span> |
205 <span><img src="../static/{{typename}}.png" height="96" /> {{ref}} {{name}}</span> |
206 <span><img src="../static/{{typename}}.png" height="96" /> {{ref}} {{name}}</span> |
|
207 <span style='float:right'><a href='?week={{next_week}}'>⏵</a></span> |
206 </th> |
208 </th> |
207 </tr> |
209 </tr> |
208 <tr> |
210 <tr> |
209 <td colspan='100'> |
211 <td colspan='100'> |
210 <table class='routes-legend'> |
212 <table class='routes-legend'> |
211 {% for entry in description['description'] %} |
213 {% for entry in description['description'] %} |
212 <tr class="{{entry[0] in description['rare-variant-groups'] and 'rare-group' or 'common-route-group'}}"> |
214 <tr class="{{entry[0] in description['rare-variant-groups'] and 'rare-group' or 'common-route-group'}}"> |
213 <td> |
215 <td> |
214 <span class='routes'>{% for route in entry[0] %}<span class="route {{route in description['night-routes'] and 'night-route' or ''}} {{route in description['rare-variants'] and 'rare-route-variant' or ''}}">{{ route }}</span>{{ route != entry[0][-1] and ' ' or '' }}{% endfor %}</span> |
216 <span class='routes'>{% for route in entry[0] %}<span class="route {{route in description['night-routes'] and 'night-route' or ''}} {{route in description['rare-variants'] and 'rare-route-variant' or ''}}">{{ route }}</span>{{ route != entry[0][-1] and '.' or '' }}{% endfor %}</span> |
215 </td> |
217 </td> |
216 <td class="{{all_night_routes(entry, description)}} description">{{ entry[1] }}</td> |
218 <td class="{{all_night_routes(entry, description)}} description">{{ entry[1] }}</td> |
217 </tr> |
219 </tr> |
218 {% endfor %} |
220 {% endfor %} |
219 </table> |
221 </table> |