fix: echten Button statt rohem Datei-Input bei allen Admin-Uploads

Bild-/Video-Upload-Felder (admin/inhalte, admin/produkte, admin/ernten)
zeigten den unstyled Browser-Standard-Datei-Input — kaum als
Bedienelement erkennbar. Input jetzt versteckt, stattdessen ein
richtiger, zum Admin-Design passender Button, der den Datei-Dialog
oeffnet.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
Nick SzaunigandClaude Sonnet 5 committed 2026-09-11 23:30:32 +02:00
1 parent 6a815e85fe
commit c7286041a1
6 files changed
+33 -3

No files matched your search

+2
View File
@@ -1129,6 +1129,7 @@ export const en: Dictionary = {
},
adminImageField: {
none: "No image",
chooseFile: "Choose file",
uploading: "Uploading…",
remove: "Remove image",
removeImageAt: (position) => `Remove image ${position}`,
@@ -1136,6 +1137,7 @@ export const en: Dictionary = {
},
adminVideoField: {
none: "No video",
chooseFile: "Choose file",
uploading: "Uploading…",
remove: "Remove video",
uploadError: "The upload failed.",