From b801571bf0e27d20d10acfd6aa47ab3b1a79fdf5 Mon Sep 17 00:00:00 2001 From: rene Date: Sun, 26 Apr 2026 10:29:14 +0200 Subject: [PATCH] =?UTF-8?q?Notizblock:=20ph-Icon-Font=20=E2=86=92=20SVG-Sp?= =?UTF-8?q?rite,=203=20neue=20Sprite-Icons=20=E2=80=94=20SW=20by-v424?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alle durch ersetzt. Neue Icons: magnifying-glass, spinner-gap, warning-circle, note. Spin-Animation für Ladeindikator. Search-Icon-CSS auf width/height. --- backend/static/icons/phosphor.svg | 6 ++++++ backend/static/js/app.js | 2 +- backend/static/js/pages/notes.js | 25 +++++++++++++------------ backend/static/sw.js | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/backend/static/icons/phosphor.svg b/backend/static/icons/phosphor.svg index 766b8bc..7f2cf85 100644 --- a/backend/static/icons/phosphor.svg +++ b/backend/static/icons/phosphor.svg @@ -160,4 +160,10 @@ + + + + + + \ No newline at end of file diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 01072e4..1c458d3 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 = '402'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '403'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const App = (() => { diff --git a/backend/static/js/pages/notes.js b/backend/static/js/pages/notes.js index 97247df..afc38f4 100644 --- a/backend/static/js/pages/notes.js +++ b/backend/static/js/pages/notes.js @@ -152,7 +152,7 @@ window.Page_notes = (() => {
- +
@@ -206,7 +206,7 @@ window.Page_notes = (() => { /* Toolbar */ .notes-toolbar { display: flex; gap: var(--space-2); align-items: center; } .notes-search-wrap { position: relative; flex: 1; } - .notes-search-icon { position: absolute; left: var(--space-3); top: 50%; transform: translateY(-50%); color: var(--c-text-muted); font-size: 1rem; pointer-events: none; } + .notes-search-icon { position: absolute; left: var(--space-3); top: 50%; transform: translateY(-50%); color: var(--c-text-muted); width: 16px; height: 16px; pointer-events: none; } .notes-search-input { width: 100%; padding: var(--space-2) var(--space-3) var(--space-2) calc(var(--space-3) + 1.3rem); border: 1.5px solid var(--c-border); border-radius: var(--radius-md); font-size: var(--text-sm); background: var(--c-surface); color: var(--c-text); outline: none; box-sizing: border-box; } .notes-search-input:focus { border-color: var(--c-primary); } .notes-sort-btns { display: flex; border: 1.5px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; } @@ -233,6 +233,7 @@ window.Page_notes = (() => { .notes-action-btn--danger:hover { background: #fef2f2; color: var(--c-danger); border-color: var(--c-danger); } .notes-list { display: flex; flex-direction: column; gap: var(--space-4); } + @keyframes spin { to { transform: rotate(360deg); } } `; @@ -247,17 +248,17 @@ window.Page_notes = (() => {
- + Muster-Analyse
- +
${_kiOpen ? `
- ${_kiError ? `
${_esc(_kiError)}
` : ''} + ${_kiError ? `
${_esc(_kiError)}
` : ''} ${_kiSuggestions ? `
    @@ -291,7 +292,7 @@ window.Page_notes = (() => {
    - + ${_esc(rb.label)} ${note.parent_label @@ -300,10 +301,10 @@ window.Page_notes = (() => { }
    @@ -320,9 +321,9 @@ window.Page_notes = (() => {
    - + ${_esc(_formatTime(note.updated_at || note.created_at))} - ${hasLocation ? ` ${_esc(note.location_name)}` : ''} + ${hasLocation ? ` ${_esc(note.location_name)}` : ''}
`; @@ -467,7 +468,7 @@ window.Page_notes = (() => { - ${_esc(rb.label)} + ${_esc(rb.label)}

Notiz bearbeiten diff --git a/backend/static/sw.js b/backend/static/sw.js index f548621..fb865ed 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-v423'; +const CACHE_VERSION = 'by-v424'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten