From 5d70b58fa773051dc90567c55ccaed301d87308d Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Fri, 10 Nov 2023 23:50:41 +0100 Subject: [PATCH] update page addevents --- web/html/addevent.html | 36 ++++++++---------------------------- web/js/lists.js | 6 ++---- 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/web/html/addevent.html b/web/html/addevent.html index 8e9023b..4bcb367 100644 --- a/web/html/addevent.html +++ b/web/html/addevent.html @@ -173,49 +173,29 @@

Évènement

-
- Pseudo - -
- -
- Mot de passe - -
-
Nom - +
- Prenom - + Lieu +
- Email - + Date de début de l'évènement +
- Date de naissance - -
- - - -
- - + Date de fin de l'évènement +
- +
diff --git a/web/js/lists.js b/web/js/lists.js index a6287f3..728b015 100644 --- a/web/js/lists.js +++ b/web/js/lists.js @@ -216,11 +216,9 @@ document.getElementById("searchUser").addEventListener("keydown", function(ev){ } }); +listInput = ["Status", "Pages" ] if (pathURL=="users"){ - listInput = ["Status", "Roles", "Pages" ] -} -if (pathURL=="events"){ - listInput = ["Status", "Pages" ] + listInput.append("Roles") } for (var i=0; i