diff --git a/web/html/adduser.html b/web/html/adduser.html index cabd929..6f1ef55 100644 --- a/web/html/adduser.html +++ b/web/html/adduser.html @@ -119,38 +119,14 @@
- - - - - - - - +

Utilisateur

-
- ID - -
-
Pseudo - +
@@ -178,143 +154,18 @@
- -
- Date de naissance - -
- -
- Dernière connexion - -
- -
- Date de création - -
- -
- Date de mise à jour - -
- -
- Date de suppression - -
- -
- - -
+
- - - - - -
- - + - - - - - -
@@ -326,5 +177,5 @@ - + \ No newline at end of file diff --git a/web/html/user.html b/web/html/user.html index cabd929..6b95184 100644 --- a/web/html/user.html +++ b/web/html/user.html @@ -150,7 +150,7 @@
Pseudo - +
diff --git a/web/js/addUser.js b/web/js/addUser.js new file mode 100644 index 0000000..9423a30 --- /dev/null +++ b/web/js/addUser.js @@ -0,0 +1,2 @@ +checkToken(); +signOut(); \ No newline at end of file diff --git a/web/js/users.js b/web/js/users.js index eabcb01..e8d7308 100644 --- a/web/js/users.js +++ b/web/js/users.js @@ -93,4 +93,9 @@ instance.get("users", {withCredentials: true, params :{ page:page, nbPages: nbPa }); +document.getElementById("addUser").addEventListener("click", function(){ + location.href="/html/adduser.html"; +}) + +