Notizblock: Notiz-Button für 6 neue Bereiche + RUBRIKEN + Datenschutz — SW by-v425
Neue Notiz-Buttons: - Tagebuch: in der Detail-Ansicht (nicht Edit-Form) - Trainingspläne: im Plan-Header pro Plan - Freunde: in jedem Freund-Karten-Bereich - Giftköder: in jedem Meldungs-Karten (private Umstände) - Verlorener Hund: in jedem Eintrag Notizblock: - 4 neue RUBRIKEN: trainingsplan, friends, poison, lost - Datenschutz-Hinweis: "Alle Notizen sind privat" - lock-simple Icon zum Sprite hinzugefügt
This commit is contained in:
parent
b801571bf0
commit
02120bb532
9 changed files with 430 additions and 10 deletions
|
|
@ -34,6 +34,10 @@ window.Page_notes = (() => {
|
|||
{ type: 'walk', label: 'Gassi-Treffen',color: '#f39c12', icon: 'paw-print' },
|
||||
{ type: 'sitting', label: 'Sitting', color: '#16a085', icon: 'house-line' },
|
||||
{ type: 'erste_hilfe', label: 'Erste Hilfe', color: '#c0392b', icon: 'first-aid' },
|
||||
{ type: 'trainingsplan', label: 'Trainingsplan',color: '#059669', icon: 'clipboard-text' },
|
||||
{ type: 'friends', label: 'Freunde', color: '#7c3aed', icon: 'users' },
|
||||
{ type: 'poison', label: 'Giftköder', color: '#dc2626', icon: 'warning-octagon' },
|
||||
{ type: 'lost', label: 'Vermisste', color: '#b45309', icon: 'magnifying-glass' },
|
||||
];
|
||||
|
||||
function _rubrik(type) {
|
||||
|
|
@ -135,6 +139,15 @@ window.Page_notes = (() => {
|
|||
<span class="notes-count">${_notes.length} Notiz${_notes.length !== 1 ? 'en' : ''}</span>
|
||||
</div>
|
||||
|
||||
<!-- Datenschutz-Hinweis -->
|
||||
<div style="font-size:var(--text-xs);color:var(--c-text-muted);background:var(--c-surface-2);
|
||||
border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);
|
||||
display:flex;align-items:center;gap:var(--space-2)">
|
||||
<svg class="ph-icon" aria-hidden="true" style="width:14px;height:14px;flex-shrink:0">
|
||||
<use href="/icons/phosphor.svg#lock-simple"></use></svg>
|
||||
Alle Notizen sind privat — nur du kannst sie lesen.
|
||||
</div>
|
||||
|
||||
<!-- KI-Panel -->
|
||||
${kiEnabled ? _kiPanelHtml() : ''}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue