Fotoupload im Personenformular ergänzen und Initialen-Platzhalter aussortieren

Fotofeld mit Dateiauswahl, Einfügen per Strg+V, Zwischenablage-Schaltfläche
und Drag & Drop; sichtbarer Foto-Button je Zeile. Foto wird beim Anlegen
oder Speichern übernommen bzw. entfernt.

Nextcloud meldet generierte Initialen-Avatare teils als eigene Profilbilder.
Der Import erkennt Bilder mit dominanter Hintergrundfarbe und lässt sie aus;
„Platzhalter-Fotos entfernen" bereinigt bereits importierte.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
ferdi2goandClaude Fable 5.1 committed 2026-09-16 09:57:54 +00:00
1 parent 8a0f903a40
commit 9ed59bcf56
6 files changed
+295 -7

No files matched your search

+15
View File
@@ -188,6 +188,21 @@ button:disabled { opacity: .45; cursor: default; }
.month-nav h2 { min-width: 0; }
}
/* Fotofeld im Personenformular: Ablagefläche für Datei, Drag & Drop und Zwischenablage */
.photo-field { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.photo-field.dragover { border-color: var(--tradeo-blue); background: var(--tint-1); }
.photo-field:focus-visible { outline: 2px solid var(--tradeo-blue); outline-offset: 2px; border-style: solid; }
.photo-field .photo-preview { width: 64px; height: 64px; font-size: 18px; cursor: default; }
.photo-field .photo-preview.empty { border-style: dashed; }
.photo-text { display: grid; gap: 8px; min-width: 0; flex: 1; }
.photo-text strong { font-family: var(--font-title); font-weight: 500; font-size: 14px; }
.photo-text .hint { margin: 0; }
.photo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-actions button { min-height: 34px; padding: 0 12px; font-size: 13px; }
.list-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 8px; }
.list-tools .hint { margin: 0; }
/* Listen: Zeilen mit dezenten Trennlinien statt einzelner Kästen */
.list, .person-list, .contacts-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list li, .person-list li, .contacts-list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }