From da1146b047cc5285964629e2168c91f7c31581de Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 1 May 2026 09:49:48 +0200 Subject: [PATCH] Fix: movies-type-btn bekommt movies-filter-btn CSS + Phosphor-Icons sichtbar, SW by-v583 --- backend/static/js/app.js | 2 +- backend/static/js/pages/movies.js | 16 ++++++---------- backend/static/sw.js | 2 +- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 95fa8fb..beb7069 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 = '582'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '583'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.2.1'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; diff --git a/backend/static/js/pages/movies.js b/backend/static/js/pages/movies.js index 65275d1..552928d 100644 --- a/backend/static/js/pages/movies.js +++ b/backend/static/js/pages/movies.js @@ -93,10 +93,10 @@ window.Page_movies = (() => {
- - - - + + + +
@@ -182,12 +182,8 @@ window.Page_movies = (() => { ? `
Hund stirbt
` : `
Hund überlebt
`; const stars = _starsHtml(film.bewertung_avg, film.id, film.user_rating, false); - const typIcon = film.typ === 'serie' - ? `` - : film.typ === 'doku' - ? `` - : ''; - const typLabel = film.typ === 'serie' ? `${typIcon} Serie` : film.typ === 'doku' ? `${typIcon} Doku` : ''; + const _ico = name => ``; + const typLabel = film.typ === 'serie' ? `${_ico('list')} Serie` : film.typ === 'doku' ? `${_ico('camera')} Doku` : ''; const imdb = film.imdb_rating ? `IMDb ${film.imdb_rating}` : ''; const streaming = film.streaming ? `${_esc(film.streaming)}` : ''; diff --git a/backend/static/sw.js b/backend/static/sw.js index ba359c6..e2dcd3f 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,7 +3,7 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v582'; +const CACHE_VERSION = 'by-v583'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache