summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-08-24 19:50:02 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-08-24 19:50:02 +0200
commitc4649d7c1700ebdc4ca25b2915c6345b4b24b5df (patch)
tree73eaed9dc7f579573f2348491dd86f02d3037e56 /templates
parent350a0e3d98646254288b736ba85c854767d429f5 (diff)
tripinfo: use icon to indicate missing realtime data
Diffstat (limited to 'templates')
-rw-r--r--templates/tripinfo.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/tripinfo.html b/templates/tripinfo.html
index e610224..dfa1757 100644
--- a/templates/tripinfo.html
+++ b/templates/tripinfo.html
@@ -14,8 +14,7 @@
<span class="delay">An: ––:––</span>
<br/>Plan: {{ tripinfo.plannedArrival.strftime('%H:%M') }}
{% else %}
- An: ??:??
- <br/>Plan: {{ tripinfo.plannedArrival.strftime('%H:%M') }}
+ An: <i class="material-icons">gps_off</i> {{ tripinfo.plannedArrival.strftime('%H:%M') }}
{% endif %}
{% endif %}
</div></div>
@@ -44,8 +43,7 @@
<span class="delay">Ab: ––:––</span>
<br/>Plan: {{ tripinfo.plannedDeparture.strftime('%H:%M') }}
{% else %}
- Ab: ??:??
- <br/>Plan: {{ tripinfo.plannedDeparture.strftime('%H:%M') }}
+ Ab: <i class="material-icons">gps_off</i> {{ tripinfo.plannedDeparture.strftime('%H:%M') }}
{% endif %}
{% endif %}
</div></div>