summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-05-09 18:14:16 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-05-09 18:14:16 +0200
commit374da8718236a3a1ad624ffbd63813b9cc8fd9fb (patch)
tree9f0140c4c14b7e63f6df519e64b5b33102b0deae /templates
parent66a35a35ebd8efdd722597e6986cb431b3f629c0 (diff)
hide status countdown when offline1.1.10
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep2
-rw-r--r--templates/_public_status_card.html.ep2
-rw-r--r--templates/layouts/default.html.ep2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index ffac3d6..43fda02 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -3,7 +3,7 @@
<i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i>
<span class="card-title">Eingecheckt in <%= $journey->{train_type} %> <%= $journey->{train_no} %></span>
<p>
- <div class="center">
+ <div class="center countdown">
% if ($journey->{departure_countdown} > 120) {
Abfahrt in <%= sprintf('%.f', $journey->{departure_countdown} / 60) %> Minuten
% }
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index 494ad43..4b3b787 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -4,7 +4,7 @@
<i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i>
<span class="card-title"><%= $name %> ist unterwegs</span>
<p>
- <div class="center-align">
+ <div class="center-align countdown">
<b><%= $journey->{train_type} %> <%= $journey->{train_no} %></b><br/>
% if ($journey->{departure_countdown} > 120) {
Abfahrt in <%= sprintf('%.f', $journey->{departure_countdown} / 60) %> Minuten
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index fb77eec..98289f7 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -9,7 +9,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Weather PWA">
- % my $av = 'v15'; # asset version
+ % my $av = 'v16'; # asset version
<link rel="apple-touch-icon" href="/static/<%= $av %>/icons/icon-152x152.png">
<link rel="manifest" href="/static/<%= $av %>/manifest.json">
%= stylesheet "/static/${av}/css/materialize.min.css"