From 0bfb71d78d1a7996fe0fb32af063ccfdc6ceea15 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 16 Nov 2019 00:01:50 +0100 Subject: add map view of past journeys. unfinished and unreferenced. --- templates/layouts/default.html.ep | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/layouts') 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 @@ %= 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" + % } -- cgit v1.2.3