14 Commits

Author SHA1 Message Date
Erik Thuning
bc6345aad3 Fixed a css bug introduced by updating leaflet
The form popup for editing a marker wasn't breaking lines properly,
setting labels and inputs to block display solved the issue.
2025-09-03 16:41:30 +02:00
Erik Thuning
05dcc7e5d9 Implemented support for roles and comments on each point
Comments are only visible to users with admin rights or who have the new
permission level 'export'.

Also opportunisitally reduced code duplication in script.js
2025-09-03 16:28:20 +02:00
Erik Thuning
b0d0a94a3d Greatly improved mobile support by moving the sidebar to the bottom on narrow displays 2025-06-27 15:40:04 +02:00
Erik Thuning
7c272a1617 Added a read-only mode for the map.
The config item required_entitlement has been replaced by two new items:
 - access_entitlement: grants access to the site
 - admin_entitlement: grants edit rights on the site
2025-06-27 12:08:00 +02:00
Erik Thuning
bf57a1d29f CSS tweaks 2025-06-10 15:32:01 +02:00
Erik Thuning
49cbd2ed92 Improved handling of denied access. 2025-06-10 13:23:03 +02:00
Erik Thuning
96cd09ebaf Graying out markers that are not part of the search result
Also allow clearing the search by searching with an empty string
2025-06-09 15:26:52 +02:00
Erik Thuning
09fac3976f Added a spinner shown while waiting for search results
Search got significantly sped up by moving to async function so it will
probably never be visible.
2025-06-09 14:37:55 +02:00
Erik Thuning
6f77a88a86 Implemented highlighting of active search results, along with further changes:
- Fixed the map no longer working due to z-index -1
 - Fixed focus bug in marker edit popup
 - Sorted search results
 - Tweaked height of search results pane
2025-06-09 14:16:22 +02:00
Erik Thuning
514c82f982 Several changes
- Added toggling of labels
 - Added a search function
 - Moved buttons into a sidebar
 - Eliminated some extraneous css
 - Added the correct map to the repo
 - Zoom levels and map position are remembered across reloads
 - Markes are now draggable
 - The edit form takes a reasonable guess as to where focus should be
 - Fixed a bug preventing marker deletion on the server
2025-06-05 16:37:06 +02:00
Erik Thuning
3e99c530a5 Fully functional MVP.
Searchability needs implementing.
2025-06-04 15:16:28 +02:00
Erik Thuning
8c7095b365 Coming along. Leaflet implemented, points can be placed and modified. 2025-06-04 10:39:35 +02:00
Erik Thuning
0365ac28bc Trying leaflet for map rendering. Not working yet, but hopefully close. 2025-05-28 16:25:14 +02:00
Erik Thuning
bf717aecbe Initial commit, very basic POC 2025-05-26 10:48:14 +02:00