feat: Add user edit modal and user management pages

- Implemented user edit modal in user_edit.html for editing user details.
- Updated sidebar.html to correctly reflect active states for Users and Settings.
- Created table-07.html for displaying user data in a structured format.
- Added settings.html for managing email content and configurations.
- Developed users.html for listing all users with functionality to add and edit users.
This commit is contained in:
marc-go committed 2026-04-27 19:00:06 +02:00
1 parent 8d0245c769
commit 58b5af9e7e
38 files changed
+4024 -2075

No files matched your search

+2 -3
View File
@@ -244,7 +244,6 @@
.catch(error => console.error("API Error: " + error))
function opferEdit(id) {
console.log(document.getElementById("opfer_name"));
fetch("/api/opfer/info.php", {
method: "POST",
headers: {
@@ -270,8 +269,8 @@
const toogle_el = document.querySelector('#toggle2');
const toogle_data = Alpine.$data(document.getElementById("toogle2_div"));
toogle_data.switcherToggle = data.status;
toogle_el.checked = data.status;
toogle_data.switcherToggle = true;
toogle_el.checked = true;
}
})
}