summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-11-16 00:01:50 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-11-16 00:01:50 +0100
commit0bfb71d78d1a7996fe0fb32af063ccfdc6ceea15 (patch)
tree32e597a4dbb1a92fe06d704b8738c2cb6beed099 /templates/layouts
parent35e9dae3499a4234836a2f858797e7b05f5d12c6 (diff)
add map view of past journeys. unfinished and unreferenced.
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/default.html.ep6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index b6dcdc7..66ab4e7 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -52,6 +52,9 @@
</script>
%= stylesheet "/static/${av}/css/material-icons.css"
%= stylesheet "/static/${av}/css/local.css"
+ % if (stash('with_map')) {
+ %= stylesheet "/static/${av}/leaflet/leaflet.css"
+ % }
%= javascript "/static/${av}/js/jquery-3.4.1.min.js"
%= javascript "/static/${av}/js/materialize.min.js"
%= javascript "/static/${av}/js/travelynx-actions.min.js"
@@ -61,6 +64,9 @@
% if (stash('with_autocomplete')) {
%= javascript "/static/${av}/js/autocomplete.min.js"
% }
+ % if (stash('with_map')) {
+ %= javascript "/static/${av}/leaflet/leaflet.js"
+ % }
</head>
<body>