From 6aeca3fc264d77bd3b2d1af468d6e6b78e8812e3 Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Tue, 10 Jan 2023 13:37:49 +0100 Subject: [PATCH] bla --- static/js/main.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/static/js/main.js b/static/js/main.js index 34b2717..cf02492 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -307,23 +307,6 @@ function get_admin(type) { } break; case "activity": - $("#admin-content").append(` - - - -
Titre:
-
Description:
-
Lieu:
-
Début:
-
Fin:
- -
Ajouter une activité
-
-
- `) let activityData = []; for (activityUid in data.activityData) { data.activityData[activityUid].activityUid = activityUid; @@ -367,6 +350,23 @@ function get_admin(type) { `) } } + $("#admin-content").prepend(` + + + +
Titre:
+
Description:
+
Lieu:
+
Début:
+
Fin:
+ +
Ajouter une activité
+
+
+ `) break; } refreshListener(); @@ -788,7 +788,7 @@ function updateDemandes() { }), contentType: "application/json; charset=utf-8", dataType: "json", - + success: function(data) { if(data.success) { if(data.state == "open") {