bla
This commit is contained in:
parent
f87b5076d0
commit
0743d9de40
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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() {
|
|||
<div class="prank-where">Livraison: ${pd[pd_uid].where}</div>
|
||||
<div class="prank-note">Notes: ${pd[pd_uid].note}</div>
|
||||
<div class="prank-status">Statue: ${pd[pd_uid].state}</div>
|
||||
<span class="prank-footer">
|
||||
<div class="treasure-uid">UID: ${treasureData[entry].treasureUid}</div>
|
||||
<div class="treasure-date">DATE: ${treasureData[entry].date}</div>
|
||||
</span>
|
||||
${ (pd[pd_uid].state != "Accepted" && pd[pd_uid].state != "Refused" ) ?
|
||||
`<span class="activity-btn">
|
||||
<div class="prank-btn-delete">Annuler</div>
|
||||
|
|
Loading…
Reference in a new issue