templates/stop_week.html

changeset 109
88a5110b66ba
parent 92
16a5c37e4e67
child 120
16bc79099171
--- a/templates/stop_week.html	Mon Aug 13 22:56:30 2018 +0300
+++ b/templates/stop_week.html	Fri Sep 07 00:23:42 2018 +0300
@@ -202,7 +202,9 @@
 	<thead>
 		<tr>
 			<th colspan='100' class='primary-heading'>
+			<span style='float:left'><a href='?week={{previous_week}}'>&#9204;</a></span>
 			<span><img src="../static/{{typename}}.png" height="96" /> {{ref}} {{name}}</span>
+			<span style='float:right'><a href='?week={{next_week}}'>&#9205;</a></span>
 			</th>
 		</tr>
 		<tr>
@@ -211,7 +213,7 @@
 		{% for entry in description['description'] %}
 		<tr class="{{entry[0] in description['rare-variant-groups'] and 'rare-group' or 'common-route-group'}}">
 		<td>
-			<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>
+			<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>
 		</td>
 		<td class="{{all_night_routes(entry, description)}} description">{{ entry[1] }}</td>
 		</tr>

mercurial