summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-04 22:51:59 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-04 22:51:59 +0100
commit3d22c00120518f8c5207fe1049a00506091cd43c (patch)
tree5b252917e282970663309467e75c150149ac55cc /templates/layouts
parentd8d8d53efd8e5d81e648e264a0b45e4e151c5277 (diff)
show train route on map2.5.0
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/app.html.ep4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index bba3c32..2a596c0 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -28,6 +28,10 @@
% if (stash('with_geolocation')) {
%= javascript "/static/${av}/js/geolocation.min.js", defer => undef
% }
+ % if (stash('with_map')) {
+ %= stylesheet "/static/${av}/leaflet/leaflet.css"
+ %= javascript "/static/${av}/leaflet/leaflet.js"
+ % }
</head>
<body style="<%= (param('dark') ? 'background-color: #000000; color: #ffffff;' : q{}) %>">