From fb1a9d27cd10be5a1ac0cbaf20c0cae3d86f4be4 Mon Sep 17 00:00:00 2001 From: rene Date: Sat, 2 May 2026 10:12:51 +0200 Subject: [PATCH] =?UTF-8?q?Feature:=20Hundepass=20=E2=80=94=20Ausweis=20in?= =?UTF-8?q?tegriert,=20Icons=20&=20Kontrast-Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ausweis-Button aus Profil-Ansicht entfernt; stattdessen "Ausweis öffnen"-Button im Hundepass-Modal-Footer - Bearbeiten-Button in Gesundheits-Info von btn-link auf btn-secondary (besserer Kontrast) - 7 fehlende Phosphor-Icons zum Sprite hinzugefügt: file-pdf, notebook, link, identification-card, wave-sine, list-checks, share-network - Leere Sektionen (Impfungen, Medikamente) zeigen einladenden Empty-State mit Icon statt nacktem Text --- backend/static/icons/phosphor.svg | 28 ++++++++++++++++++++++ backend/static/js/pages/dog-profile.js | 33 ++++++++++++++------------ 2 files changed, 46 insertions(+), 15 deletions(-) diff --git a/backend/static/icons/phosphor.svg b/backend/static/icons/phosphor.svg index bc2df08..bdbfd78 100644 --- a/backend/static/icons/phosphor.svg +++ b/backend/static/icons/phosphor.svg @@ -230,4 +230,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/backend/static/js/pages/dog-profile.js b/backend/static/js/pages/dog-profile.js index 9f60609..82a2e8a 100644 --- a/backend/static/js/pages/dog-profile.js +++ b/backend/static/js/pages/dog-profile.js @@ -187,16 +187,10 @@ window.Page_dog_profile = (() => { ${!dog.is_guest ? `` : ''} -
- - ${!dog.is_guest ? `` : ''} -
${!dog.is_guest ? ` + + + Ausweis öffnen + +
@@ -1464,7 +1461,10 @@ window.Page_dog_profile = (() => {
${vaccs.length === 0 - ? '

Keine Impfungen eingetragen.

' + ? `
+ +

Noch keine Impfungen eingetragen.
Klicke auf „+ Eintragen" um loszulegen.

+
` : vaccs.map(v => `
${meds.length === 0 - ? '

Keine Medikamente eingetragen.

' + ? `
+ +

Noch keine Medikamente eingetragen.
Klicke auf „+ Eintragen" um loszulegen.

+
` : meds.map(m => `