forked from hacker_marc/spamhasi
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:
1 parent
8d0245c769
commit
58b5af9e7e
38 files changed
+4024
-2075
No files matched your search
@@ -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;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user