summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-10-12 14:59:34 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:23:18 +0100
commit0d93d19602f6796e2a8beef331721c704b3f8e1f (patch)
tree03439176bad2d271c107c30e3d8a0e88100fb9ee /ishtar_common/templates
parent7ff7ee6b83ca4b8889087b8c3f0f47625d1f6976 (diff)
downloadIshtar-0d93d19602f6796e2a8beef331721c704b3f8e1f.tar.bz2
Ishtar-0d93d19602f6796e2a8beef331721c704b3f8e1f.zip
Geo: zoom on feature WIP
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/blocks/sheet_map.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/sheet_map.html b/ishtar_common/templates/ishtar/blocks/sheet_map.html
index ab4d2a4ee..70832e1a1 100644
--- a/ishtar_common/templates/ishtar/blocks/sheet_map.html
+++ b/ishtar_common/templates/ishtar/blocks/sheet_map.html
@@ -9,6 +9,13 @@
<h4>{% trans "Geographic data" %}</h4>
<ul>{% for geodata in geodata_list %}
<li>
+ <a role="link" href="#" aria-disabled="true" class="map-zoom-link"
+ id="map-zoom-{{geo_item.SLUG}}-{{geo_item.pk}}-{{geodata.pk}}"
+ data-map-id="map-{{window_id}}-{{geo_item.SLUG}}-{{geo_item.pk}}"
+ data-geo-id="{{geo_item.SLUG}}-{{geo_item.pk}}-{{geodata.pk}}"
+ >
+ <i class="fa fa-search" aria-hidden="true"></i>
+ </a>&nbsp;&nbsp;
<input type="checkbox" name="map-ol-{{geo_item.SLUG}}-{{geo_item.pk}}-{{geodata.pk}}"
class="map-ol-{{geo_item.SLUG}}-{{geo_item.pk}}"
id="map-ol-{{geo_item.SLUG}}-{{geo_item.pk}}-{{geodata.pk}}"