diff --git a/.gitignore b/.gitignore index fa895de..5e02010 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ pom.xml.asc /resources/public/content/.git /resources/public/vendor /bower_components/ +/resources/public/js/lib/ .lein-deps-sum .lein-repl-history .lein-plugins/ diff --git a/project.clj b/project.clj index 5e77ef4..61956c8 100644 --- a/project.clj +++ b/project.clj @@ -61,7 +61,9 @@ [lein-less "1.7.5"] [lein-codox "0.10.3"]] - :bower-dependencies [[leaflet "0.7.3"]] + :bower-dependencies [[leaflet "0.7.3"] + [jquery "3.3.1"]] + :bower {:directory "resources/public/js/lib"} :cucumber-feature-paths ["test/clj/features"] diff --git a/resources/templates/app.html b/resources/templates/app.html index 6b7bccb..7b181ca 100644 --- a/resources/templates/app.html +++ b/resources/templates/app.html @@ -28,8 +28,8 @@ - - + +{% script "js/lib/leaflet/dist/leaflet.js" %} {% script "/js/app.js" %} {% endblock %} diff --git a/resources/templates/auto/list-addresses-Addresses.html b/resources/templates/auto/list-addresses-Addresses.html index aa6e297..7ad3988 100644 --- a/resources/templates/auto/list-addresses-Addresses.html +++ b/resources/templates/auto/list-addresses-Addresses.html @@ -19,14 +19,30 @@ See [Application Description Language](https://github.com/simon-brooke/adl).--> {% endblock %} - -{% block content %} -
@@ -132,38 +142,38 @@ View