diff --git a/backend/main.py b/backend/main.py index 9dda1e8..06a5ec9 100644 --- a/backend/main.py +++ b/backend/main.py @@ -410,7 +410,7 @@ async def serve_media(path: str, request: _Request): raise _HE(404, "Nicht gefunden.") return _media_response(filepath) -APP_VER = "1017" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "1018" # muss mit APP_VER in app.js übereinstimmen @app.get("/.well-known/assetlinks.json") async def assetlinks(): diff --git a/backend/static/css/components.css b/backend/static/css/components.css index 22aa8d2..650e7be 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -3137,8 +3137,7 @@ html.modal-open { .map-legend-label { font-size: 10px; } .map-legend-all { font-size: 1rem; - min-width: 32px; - padding: 0 var(--space-2); + padding: 5px 10px; background: var(--c-surface-2); border-color: var(--c-border); color: var(--c-text-secondary); diff --git a/backend/static/index.html b/backend/static/index.html index 719055e..d44c6bf 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -103,7 +103,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 7159773..0ba2634 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '1017'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1018'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; // Cache-Bust-Parameter nach Update-Reload sofort entfernen diff --git a/backend/static/js/pages/map.js b/backend/static/js/pages/map.js index 9a2e0d5..ddfdb40 100644 --- a/backend/static/js/pages/map.js +++ b/backend/static/js/pages/map.js @@ -76,7 +76,7 @@ window.Page_map = (() => { // z: zIndexOffset — höher = weiter oben bei Überlappung const TYPEN = { - restaurant: { icon: '', label: 'Hundefreundl. Café/Restaurant', color: '#F97316', z: 10 }, + restaurant: { icon: '', label: 'Café & Restaurant', color: '#F97316', z: 10 }, freilauf: { icon: '', label: 'Freilauf', color: '#22C55E', z: 20 }, shop: { icon: '', label: 'Shop', color: '#3B82F6', z: 15 }, kotbeutel: { icon: '', label: 'Kotbeutel', color: '#84A98C', z: 5 }, @@ -93,7 +93,7 @@ window.Page_map = (() => { treffpunkt: { icon: '', label: 'Treffpunkt', color: '#7C3AED', z: 25 }, community: { icon: '', label: 'Sonstiges', color: '#F59E0B', z: 30 }, zuechter: { icon: '', label: 'Züchter', color: '#7C3AED', z: 50 }, - hotel: { icon: '', label: 'Hundefreundl. Hotel', color: '#0369a1', z: 20 }, + hotel: { icon: '', label: 'Hotel', color: '#0369a1', z: 20 }, }; // Frontend-Layer → Backend-Typ Mapping @@ -181,6 +181,7 @@ window.Page_map = (() => {
${Object.entries(TYPEN).filter(([k]) => k !== 'giftkoeder').map(([k, t]) => `