templates/cluster.html

changeset 38
d0ae1996abdd
parent 35
8ed8f8be7a07
child 48
428cfdf64ccc
--- a/templates/cluster.html	Wed Jun 28 16:25:17 2017 +0300
+++ b/templates/cluster.html	Wed Jun 28 17:01:42 2017 +0300
@@ -23,7 +23,7 @@
 	{
 		text-align: center;
 	}
-	.sarake-määränpää
+	.sarake-määränpää, .sarake-pysäkki
 	{
 		text-align: left;
 	}
@@ -56,7 +56,12 @@
 		</tr>
 		{% for halt in schedule %}
 		<tr class="{% if halt['night'] %} yö {% endif %}">
-			<td class='sarake-aika'>{{halt['time']}}</td>
+			<td class='sarake-aika'>
+				{% if halt['imminent'] %}
+				<span class='imminent-leave'>●</span>
+				{% endif %}
+				{{halt['time']}}
+			</td>
 			<td class='sarake-linja linja'>
 				<a href="../ajovuoro/{{halt['trip']}}">{{halt['route']}}</a>
 			</td>

mercurial