From 9f47cfe1d49d7b934aac4903a4877a667c60da74 Mon Sep 17 00:00:00 2001 From: rene Date: Tue, 19 May 2026 19:02:22 +0200 Subject: [PATCH] Fix: Pfoten-Button rechts neben Suchzeile (Dog-Chip eigene Zeile), SW by-v1069 --- backend/main.py | 2 +- backend/static/index.html | 14 +++++++------- backend/static/js/app.js | 2 +- backend/static/js/pages/uebungen.js | 27 ++++++++++----------------- backend/static/sw.js | 2 +- 5 files changed, 20 insertions(+), 27 deletions(-) diff --git a/backend/main.py b/backend/main.py index f3cb136..586526c 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 = "1068" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "1069" # muss mit APP_VER in app.js übereinstimmen @app.get("/.well-known/assetlinks.json") async def assetlinks(): diff --git a/backend/static/index.html b/backend/static/index.html index 4941267..9920b45 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -101,9 +101,9 @@ - - - + + + @@ -616,10 +616,10 @@ - - - - + + + + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index d29467b..b794e01 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 = '1068'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1069'; // ← 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/uebungen.js b/backend/static/js/pages/uebungen.js index 2adb789..0e83ff9 100644 --- a/backend/static/js/pages/uebungen.js +++ b/backend/static/js/pages/uebungen.js @@ -562,28 +562,21 @@ window.Page_uebungen = (() => { function _render() { _container.innerHTML = `
-
- -
- ${UI.dogChip(_appState)} - -
- +
${UI.dogChip(_appState)}
+
+
${_renderTabs()} diff --git a/backend/static/sw.js b/backend/static/sw.js index e0f0fc5..5d989d4 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -4,7 +4,7 @@ ============================================================ */ // ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab -const VER = '1068'; +const VER = '1069'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten