From 85f63a12586c04be3eb212a0705608aad53626ab Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Tue, 18 Aug 2026 17:59:54 +0100 Subject: [PATCH] Add zoom controls --- static/js/map.js | 1 - templates/add_spot.html | 2 +- templates/alerts.html | 2 +- templates/bands.html | 4 ++-- templates/base.html | 10 +++++----- templates/conditions.html | 2 +- templates/map.html | 4 ++-- templates/spots.html | 4 ++-- templates/status.html | 2 +- 9 files changed, 15 insertions(+), 16 deletions(-) diff --git a/static/js/map.js b/static/js/map.js index efe25ac..50dfc37 100644 --- a/static/js/map.js +++ b/static/js/map.js @@ -522,7 +522,6 @@ function loadMapURLParams() { function setUpMap() { // Create map map = L.map('map', { - zoomControl: false, minZoom: 2, maxZoom: 12 }); diff --git a/templates/add_spot.html b/templates/add_spot.html index 87b09ea..77cdfbe 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index 065cbfa..8cad303 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -84,7 +84,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 6e1dca6..27a43ab 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,8 +76,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index e6eacf6..e3958ab 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -15,10 +15,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index c7caabf..c8f0278 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index eceb479..ebc4c22 100644 --- a/templates/map.html +++ b/templates/map.html @@ -109,8 +109,8 @@ - - + + diff --git a/templates/spots.html b/templates/spots.html index f10bf07..387bfea 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -113,8 +113,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index 07473d6..ded117c 100644 --- a/templates/status.html +++ b/templates/status.html @@ -86,7 +86,7 @@ - +