geocode/templates
Edward Betts 76437d5240 Redesign map page and add lat/lon/needs_commons URL parameters
- Redesign pin_detail.html to match detail page style: place name heading,
  result card, button group, collapsible API response, element cards with
  left-border highlight, collapsible SPARQL query
- Redesign map.html: compact header, styled prompt, shared CSS for element
  cards and tag keys, loading state on XHR
- Add lat/lon URL params to /map: map centres on coords and auto-loads pin
- Add needs_commons checkbox to map page: toggles needs_commons=false in URL
  and re-fetches the current pin when changed
- Return geojson in /pin/ JSON response so map can render the polygon layer
- Pass needs_commons through to /pin/ route and detail page link

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 22:18:10 +01:00
..
sparql Add needs_commons=false option and redesign detail and index pages 2026-04-18 20:22:54 +01:00
base.html Various improvements 2023-10-13 19:11:02 +01:00
coordinate_error.html Fix coordinate parsing to handle DMS format and prevent stack traces 2025-07-15 09:05:31 +00:00
database_error.html Catch database connection error and show error page 2023-11-17 12:21:07 -03:00
detail.html Add needs_commons=false option and redesign detail and index pages 2026-04-18 20:22:54 +01:00
index.html Add needs_commons=false option and redesign detail and index pages 2026-04-18 20:22:54 +01:00
map.html Redesign map page and add lat/lon/needs_commons URL parameters 2026-04-18 22:18:10 +01:00
pin_detail.html Redesign map page and add lat/lon/needs_commons URL parameters 2026-04-18 22:18:10 +01:00
query_error.html Update query error template to extend base.html 2023-11-25 13:58:39 +00:00
reports.html Reorder page to show tables in columns 2023-12-22 12:18:28 +00:00
show_error.html Show error page 2023-11-25 14:29:34 +00:00
wikidata_tag.html Add missing template 2022-05-18 14:13:29 +01:00