From d04e55114566f109e6495d520cb32e6103a410a0 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Wed, 15 Nov 2023 23:46:55 +0100 Subject: [PATCH] add tags --- web/html/addevent.html | 12 +++++++++++- web/js/addItem.js | 6 ++++++ web/js/tags.js | 2 ++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 web/js/tags.js diff --git a/web/html/addevent.html b/web/html/addevent.html index 030b8ce..ca54227 100644 --- a/web/html/addevent.html +++ b/web/html/addevent.html @@ -8,13 +8,14 @@ Dashboard Template · Bootstrap v5.2 - + + @@ -27,6 +28,8 @@ + + @@ -185,6 +188,12 @@ Lieu
+ +
+ Organisateurs + +
+
Date de début de l'évènement @@ -214,5 +223,6 @@ + \ No newline at end of file diff --git a/web/js/addItem.js b/web/js/addItem.js index f3bb033..5a76191 100644 --- a/web/js/addItem.js +++ b/web/js/addItem.js @@ -52,11 +52,17 @@ document.getElementById("addUser").addEventListener("click", function(){ }; break; case "event": + organizers = [] + listValue = JSON.parse(document.getElementById("organizesUpdateInput").value) + for (var i=0; i