V1.1.3
This commit is contained in:
parent
033e89484e
commit
11ac0a6bb5
14
index.php
14
index.php
@ -186,7 +186,7 @@ try {
|
|||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: rgba(162, 155, 120, 0.14);
|
background: rgba(162, 155, 120, 0.14);
|
||||||
color: #f2eed9;
|
color: #f2eed9;
|
||||||
font-size: 0.72em;
|
font-size: 0.60em;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.06em;
|
letter-spacing: 0.06em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@ -349,8 +349,8 @@ try {
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="assets-div-menu md-trigger" data-modal="modal-ScanReference">
|
<div class="assets-div-menu">
|
||||||
<a href="#">Contenu à venir</a>
|
<a href="#" class="md-trigger" data-modal="modal-ScanReference">Contenu à venir</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="connexion-div-menu <?php echo $is_authenticated ? 'is-authenticated' : 'md-trigger'; ?>" data-login-label="Connexion" <?php echo $is_authenticated ? '' : 'data-modal="modal-Login"'; ?> id="accountPanel">
|
<div class="connexion-div-menu <?php echo $is_authenticated ? 'is-authenticated' : 'md-trigger'; ?>" data-login-label="Connexion" <?php echo $is_authenticated ? '' : 'data-modal="modal-Login"'; ?> id="accountPanel">
|
||||||
@ -606,6 +606,12 @@ try {
|
|||||||
refreshStatus();
|
refreshStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function clearSelection() {
|
||||||
|
selectedIds.clear();
|
||||||
|
rows.forEach((row) => row.classList.remove('is-selected'));
|
||||||
|
refreshStatus();
|
||||||
|
}
|
||||||
|
|
||||||
rows.forEach((row) => {
|
rows.forEach((row) => {
|
||||||
row.addEventListener('click', function () {
|
row.addEventListener('click', function () {
|
||||||
const rowId = String(row.dataset.resourceId || '');
|
const rowId = String(row.dataset.resourceId || '');
|
||||||
@ -634,6 +640,7 @@ try {
|
|||||||
const ids = Array.from(selectedIds);
|
const ids = Array.from(selectedIds);
|
||||||
saveFilter(ids);
|
saveFilter(ids);
|
||||||
applyFilter(ids);
|
applyFilter(ids);
|
||||||
|
clearSelection();
|
||||||
});
|
});
|
||||||
|
|
||||||
clearButton.addEventListener('click', function () {
|
clearButton.addEventListener('click', function () {
|
||||||
@ -641,6 +648,7 @@ try {
|
|||||||
applyFilter([]);
|
applyFilter([]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
applyFilter(loadFilter());
|
applyFilter(loadFilter());
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user