summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-09 19:21:03 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-09 19:21:03 +0200
commitbcc02b1935c367db49d57856eccf5152a91b6c45 (patch)
treec6165e036ada8bd42281afec793e49abc0e12ac4 /templates
parent1feda8aef6ce963b30392529c8c60517c3950ed7 (diff)
deploy new back-button navigation for train details3.4.0
Diffstat (limited to 'templates')
-rw-r--r--templates/_train_details.html.ep5
-rw-r--r--templates/layouts/app.html.ep2
-rw-r--r--templates/layouts/legacy.html.ep2
-rw-r--r--templates/train_details.html.ep2
4 files changed, 3 insertions, 8 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index 4084b55..19c7061 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -214,9 +214,4 @@
% }
</ul> <!-- mroute -->
% }
-% if (param('ajax')) {
- <div style="margin-top: 1em;">
- <a class="smallbutton" href="/z/<%= $departure->{train_type} %>%20<%= $departure->{train_no} %>/<%= $station_name %>"><i class="material-icons" aria-hidden="true">share</i> Link</a>
- </div>
-% }
</div> <!-- mfooter -->
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index cafa0b7..a7c0ec7 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -18,7 +18,7 @@
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
- % my $av = 'v33'; # asset version
+ % my $av = 'v34'; # asset version
% if (session('theme') and session('theme') eq 'dark' or param('dark')) {
%= stylesheet "/static/${av}/css/dark.min.css", id => 'theme'
% }
diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep
index 869707a..f34d65f 100644
--- a/templates/layouts/legacy.html.ep
+++ b/templates/layouts/legacy.html.ep
@@ -17,7 +17,7 @@
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
- % my $av = 'v33'; # asset version
+ % my $av = 'v34'; # asset version
%= stylesheet "/static/${av}/css/default.css"
%= stylesheet "/static/${av}/css/material-icons.css"
%= stylesheet "/static/${av}/css/jquery-ui.min.css"
diff --git a/templates/train_details.html.ep b/templates/train_details.html.ep
index 1313c4e..08058a9 100644
--- a/templates/train_details.html.ep
+++ b/templates/train_details.html.ep
@@ -1,4 +1,4 @@
-<div class="app">
+<div class="app" data-station="<%= $station_name %>">
<div class="moreinfo" data-static="1">
%= include '_train_details'
</div>