Aktueller Stand

This commit is contained in:
2026-01-17 22:32:49 +01:00
parent 67ba95ae23
commit 68b63b8f06
4 changed files with 120 additions and 59 deletions

View File

@@ -545,10 +545,20 @@ export default function AdminPanel() {
<h3 className="text-lg font-semibold">Kategorie bearbeiten</h3>
<button
type="button"
className="text-sm text-slate-600"
className="rounded-full border border-slate-200 p-2 text-slate-600 hover:bg-slate-100"
onClick={closeCategoryModal}
aria-label="Schließen"
title="Schließen"
>
Schließen
<svg
viewBox="0 0 24 24"
className="h-4 w-4"
fill="none"
stroke="currentColor"
strokeWidth="2"
>
<path d="M6 6l12 12M18 6l-12 12" strokeLinecap="round" />
</svg>
</button>
</div>
<form onSubmit={updateCategory} className="mt-4 space-y-3">
@@ -655,15 +665,25 @@ export default function AdminPanel() {
<h3 className="text-lg font-semibold">Termin bearbeiten</h3>
<button
type="button"
className="text-sm text-slate-600"
className="rounded-full border border-slate-200 p-2 text-slate-600 hover:bg-slate-100"
onClick={() => {
setEditEvent(null);
setEditError(null);
setEditStatus(null);
setIsEditOpen(false);
}}
aria-label="Schließen"
title="Schließen"
>
Schließen
<svg
viewBox="0 0 24 24"
className="h-4 w-4"
fill="none"
stroke="currentColor"
strokeWidth="2"
>
<path d="M6 6l12 12M18 6l-12 12" strokeLinecap="round" />
</svg>
</button>
</div>
<form onSubmit={updateEvent} className="mt-4 space-y-3">