diff --git a/index.php b/index.php index ff446ca..7630ecd 100644 --- a/index.php +++ b/index.php @@ -186,7 +186,7 @@ try { border-radius: 999px; background: rgba(162, 155, 120, 0.14); color: #f2eed9; - font-size: 0.72em; + font-size: 0.60em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; @@ -349,8 +349,8 @@ try { -
- Contenu à venir +
+ Contenu à venir
id="accountPanel"> @@ -606,6 +606,12 @@ try { refreshStatus(); } + function clearSelection() { + selectedIds.clear(); + rows.forEach((row) => row.classList.remove('is-selected')); + refreshStatus(); + } + rows.forEach((row) => { row.addEventListener('click', function () { const rowId = String(row.dataset.resourceId || ''); @@ -634,6 +640,7 @@ try { const ids = Array.from(selectedIds); saveFilter(ids); applyFilter(ids); + clearSelection(); }); clearButton.addEventListener('click', function () { @@ -641,6 +648,7 @@ try { applyFilter([]); }); + applyFilter(loadFilter()); })();