aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/templates/demo.html
diff options
context:
space:
mode:
authorBonfaceKilz2020-06-17 03:07:49 +0300
committerBonfaceKilz2020-06-17 03:07:49 +0300
commitae107a75f2a0211a8aeb082127865ff029ed87a5 (patch)
tree78c3e09f6537a2fe265b4876eae4786f31727aec /bh20simplewebuploader/templates/demo.html
parent3219721c15ba9518ea153bea335966b45a4cffcb (diff)
downloadbh20-seq-resource-ae107a75f2a0211a8aeb082127865ff029ed87a5.tar.gz
bh20-seq-resource-ae107a75f2a0211a8aeb082127865ff029ed87a5.tar.lz
bh20-seq-resource-ae107a75f2a0211a8aeb082127865ff029ed87a5.zip
Add leaflet css and js libs
Diffstat (limited to 'bh20simplewebuploader/templates/demo.html')
-rw-r--r--bh20simplewebuploader/templates/demo.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/bh20simplewebuploader/templates/demo.html b/bh20simplewebuploader/templates/demo.html
index d9ebae2..b9df5dc 100644
--- a/bh20simplewebuploader/templates/demo.html
+++ b/bh20simplewebuploader/templates/demo.html
@@ -1,16 +1,19 @@
<!DOCTYPE html>
<html>
{% include 'header.html' %}
+ <link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
+ integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
+ crossorigin=""/>
<body>
{% include 'banner.html' %}
{% include 'menu.html' %}
{% include 'search.html' %}
{% include 'demo-run.html' %}
-
- WIP
-
{% include 'footer.html' %}
+ <script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"
+ integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
+ crossorigin=""></script>
<script type="text/javascript">
let scriptRoot = {{ request.script_root|tojson|safe }}; // examples
@@ -26,6 +29,7 @@
});
});
+ var mymap = L.map('mapid').setView([51.505, -0.09], 13);
</script>
</body>