From aa712e3e6f5cd91b7a733b828ca7450815abd9da Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Tue, 18 Feb 2025 13:19:11 +0330 Subject: [PATCH] feat: Enhance user management with multi-select, filters, validation, and UI improvements - Implemented multi-user selection and deletion with confirmation. - Added filter buttons (All, Not Active, Enable, Disable) with client-side logic. - Fixed "Select All" checkbox to only affect visible users after filtering. - Implemented real-time username validation (alphanumeric only). - Added a disable to prevent submit validation error - Ensured that select all deselect button, work with filters and sorting - Improve UI to be more intuitive. -Improved responsivity buttons in smaller devices --- core/scripts/webpanel/templates/users.html | 259 ++++++++++++++++++--- 1 file changed, 229 insertions(+), 30 deletions(-) diff --git a/core/scripts/webpanel/templates/users.html b/core/scripts/webpanel/templates/users.html index 0d6b755..619af73 100644 --- a/core/scripts/webpanel/templates/users.html +++ b/core/scripts/webpanel/templates/users.html @@ -7,7 +7,7 @@
-

Users

+

Users

@@ -18,20 +18,47 @@

User List

-
+
+ + +
+ +
+
+ +
+
+ +
+
+ +
+ -
+
-
- + +
@@ -43,6 +70,9 @@ + @@ -57,6 +87,9 @@ {% for user in users %} + @@ -125,7 +163,8 @@ -
+ + Status Username Quota
+ + {% if user['status'] == "Online" %} Online @@ -79,7 +112,8 @@ {% endif %} - + - - -