From 0743d9de40e6c7c1a57ea5a75e0a03f7c6c11414 Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Sun, 8 Jan 2023 23:18:31 +0100 Subject: [PATCH] bla --- static/css/main.css | 2 +- static/js/main.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/static/css/main.css b/static/css/main.css index 5edd127..24a922d 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -246,7 +246,7 @@ button[type="submit"]:hover { border-left: 3px solid black; } -.activity-uid, .prank-uid, .prank-date, .treasure-uid, .treasure-date, #activite-place, .prank-status { +.activity-uid, .prank-uid, .prank-date, .treasure-uid, .treasure-date, #activite-place { color: #00000078; margin-top: 5px; font-size: 12px; diff --git a/static/js/main.js b/static/js/main.js index 79ce8b4..47a00c6 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -566,6 +566,7 @@ function refreshListener() { }) $(".prank-btn-delete").click((e) => { let uid = e.target.parentNode.parentNode.id; + console.log(e); $.ajax({ type: 'POST', url: base_url + 'delPrank', @@ -657,6 +658,10 @@ function updateDemandes() {
Livraison: ${pd[pd_uid].where}
Notes: ${pd[pd_uid].note}
Statue: ${pd[pd_uid].state}
+ +
UID: ${treasureData[entry].treasureUid}
+
DATE: ${treasureData[entry].date}
+
${ (pd[pd_uid].state != "Accepted" && pd[pd_uid].state != "Refused" ) ? `
Annuler