about summary refs log tree commit diff
path: root/bh20simplewebuploader/templates/home.html
diff options
context:
space:
mode:
authorPjotr Prins2020-07-17 09:59:32 +0100
committerPjotr Prins2020-07-17 09:59:32 +0100
commit06e3922a5541641077b18016e272cddc7e50205b (patch)
tree951ad8f893161ef92e0928e3a6980234e01d58cb /bh20simplewebuploader/templates/home.html
parent7565f72b1bf0d70426947a50d1b9a62edc48071d (diff)
downloadbh20-seq-resource-06e3922a5541641077b18016e272cddc7e50205b.tar.gz
bh20-seq-resource-06e3922a5541641077b18016e272cddc7e50205b.tar.lz
bh20-seq-resource-06e3922a5541641077b18016e272cddc7e50205b.zip
Map refactoring, now shows on HOME
Diffstat (limited to 'bh20simplewebuploader/templates/home.html')
-rw-r--r--bh20simplewebuploader/templates/home.html15
1 files changed, 14 insertions, 1 deletions
diff --git a/bh20simplewebuploader/templates/home.html b/bh20simplewebuploader/templates/home.html
index b90a18d..42b08c0 100644
--- a/bh20simplewebuploader/templates/home.html
+++ b/bh20simplewebuploader/templates/home.html
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html>
   {% include 'header.html' %}
+  {% include 'mapheader.html' %}
     <body>
       {% include 'banner.html' %}
       {% include 'menu.html' %}
@@ -44,7 +45,19 @@
                 </div>
         </section>
 
-{% include 'footer.html' %}
+      <section id="map_view" class="invisible">
+        <div id="mapid"></div>
+      </section>
+
+      {% include 'footer.html' %}
+
+
+      <script type="text/javascript">
+        let scriptRoot = {{ request.script_root|tojson|safe }}; // examples
+
+        drawMap()
+
+      </script>
 
    </body>
 </html>