diff --git a/web/html/users.html b/web/html/users.html index 1b3b5b9..eb12335 100644 --- a/web/html/users.html +++ b/web/html/users.html @@ -141,7 +141,7 @@
- +
- +
-
-
- - - - -


+
+ + +
+ +

+
+
+ +
+
+ +
+
+ +
+
+


diff --git a/web/js/library.js b/web/js/library.js index 4fd381c..8db4cd5 100644 --- a/web/js/library.js +++ b/web/js/library.js @@ -21,34 +21,39 @@ function checkToken(){ } -function buildParam(e, id){ +function buildParam(typeInput){ var search = document.getElementById("searchUser").value; var param = ""; - var listParam = ["page", "nbPages"]; - if(id.length > 0){ - var select = document.getElementById(id); - var getId = select.options[select.selectedIndex].value; - if(id == "inputRoles"){ - var status = e.target.value; - if(status != "-2"){ - param = param + "status="+status+"&"; - } - if(getId != "All"){ - param = param + "roles="+getId; + var listParam = ["skip"]; + if(typeInput.length > 0){ + listId =["inputRoles", "inputStatus", "inputPages"] + for (var i=0; i 0){ diff --git a/web/js/users.js b/web/js/users.js index 50302e3..69947ca 100644 --- a/web/js/users.js +++ b/web/js/users.js @@ -12,7 +12,7 @@ for(var i=0; i