From 5a7283b92f9f91a972b52e2af1895d1033d8fbce Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 4 Nov 2023 20:59:06 +0100 Subject: [PATCH] add disabled_at --- web/html/event.html | 42 ++++++++++++++---------------------------- web/html/user.html | 5 +++++ web/js/user.js | 3 ++- 3 files changed, 21 insertions(+), 29 deletions(-) diff --git a/web/html/event.html b/web/html/event.html index 48e0a72..c674838 100644 --- a/web/html/event.html +++ b/web/html/event.html @@ -186,46 +186,27 @@ -
- Pseudo - -
- -
- Mot de passe - -
-
Nom
- Prenom - + Lieu +
- Email - + Date de début + +
+ +
+ Date de fin +
-
- - -
- - -
- Date de naissance - -
-
Dernière connexion @@ -241,6 +222,11 @@
+
+ Date de désactivation + +
+
Date de suppression diff --git a/web/html/user.html b/web/html/user.html index 5ea79b3..2273ae7 100644 --- a/web/html/user.html +++ b/web/html/user.html @@ -241,6 +241,11 @@
+
+ Date de désactivation + +
+
Date de suppression diff --git a/web/js/user.js b/web/js/user.js index c80838e..80c3321 100644 --- a/web/js/user.js +++ b/web/js/user.js @@ -7,7 +7,7 @@ if(id.length > 0){ instance.get("users/"+id, {withCredentials: true}) .then(function(response){ var listValue = [ "id", "username", "name", "firstName", "email", "birth"]; - var listTime = ["connected_at", "created_at", "updated_at", "deleted_at"]; + var listTime = ["connected_at", "created_at", "updated_at", "deleted_at", "disabled_at"]; for (var i=0; i 0){ "created_at": "", "updated_at": "", "deleted_at": "", + "disabled_at":"", "connected_at": "" }