From 315964bb43f923792dd6dfa8fb4237fd0ec16d7c Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 16 Oct 2024 20:29:26 +0200 Subject: [PATCH] move new user form outside of user list + fix confirm delete route bug --- app/view/templates/user.php | 78 ++++++++++++------------ app/view/templates/userconfirmdelete.php | 2 +- assets/css/user.css | 5 ++ 3 files changed, 44 insertions(+), 41 deletions(-) diff --git a/app/view/templates/user.php b/app/view/templates/user.php index c76fb6cb..7f447cc0 100644 --- a/app/view/templates/user.php +++ b/app/view/templates/user.php @@ -11,11 +11,11 @@
- +
-

Admin panel

+

Users

@@ -23,45 +23,7 @@ - - - - - - - - - - - - - - - +
+ +
+ +

Add new user

+ +
+ + +
+ + + + + +
+ + + +
+ + + + + + + +
+
+
diff --git a/app/view/templates/userconfirmdelete.php b/app/view/templates/userconfirmdelete.php index 4cf2f780..462f093a 100644 --- a/app/view/templates/userconfirmdelete.php +++ b/app/view/templates/userconfirmdelete.php @@ -11,7 +11,7 @@ - + diff --git a/assets/css/user.css b/assets/css/user.css index 9984c50f..3bc4585b 100644 --- a/assets/css/user.css +++ b/assets/css/user.css @@ -11,3 +11,8 @@ main.user table form { main.user td { white-space: nowrap; } + + +.new-user form > * { + display: block; +} \ No newline at end of file
idpasswordhashlevelset expiration dateactionexpireconnect
- - - - - - - - - - - - - - - - -