added frontend and made it usable

This commit is contained in:
Hendrik Behme committed 2026-08-15 14:50:42 +02:00
1 parent 96408f00d8
commit b9b15152bc
50 files changed
+7974 -1

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
{% extends 'base.html.twig' %}
{% block title %}Map — VINDN{% endblock %}
{% block head_extra %}
{% include '_leaflet_head.html.twig' %}
{% endblock %}
{% block body %}
{% include '_map_stage.html.twig' %}
{% endblock %}
{% block scripts %}
{% include '_leaflet_scripts.html.twig' %}
<script type="application/json" id="map-data">{{ mapEventsJson|raw }}</script>
<script>
Vindn.initRadiusMapStage({
events: Vindn.readEmbeddedJson('map-data'),
center: [{{ centerLat }}, {{ centerLon }}],
rangeKm: {{ rangeKm }},
maxRangeKm: {{ maxRangeKm }}
});
</script>
{% endblock %}