mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
The "deselect the selected pages" button become a cross at the top right of the block
This commit is contained in:
parent
60522a1c18
commit
8b8aa16fa7
@ -345,7 +345,7 @@ var updateGlobalState = function() {
|
|||||||
document.querySelector('#container_btn_select').classList.remove('border-primary');
|
document.querySelector('#container_btn_select').classList.remove('border-primary');
|
||||||
document.querySelector('#container_btn_select .card-header').classList.remove('bg-primary', 'text-white');
|
document.querySelector('#container_btn_select .card-header').classList.remove('bg-primary', 'text-white');
|
||||||
document.querySelector('#container_btn_select .card-header').classList.add('text-muted');
|
document.querySelector('#container_btn_select .card-header').classList.add('text-muted');
|
||||||
document.querySelectorAll('#container_btn_select button').forEach(function(button) {
|
document.querySelectorAll('#container_btn_select .card-body button').forEach(function(button) {
|
||||||
button.classList.add('btn-outline-secondary');
|
button.classList.add('btn-outline-secondary');
|
||||||
button.classList.remove('btn-outline-primary');
|
button.classList.remove('btn-outline-primary');
|
||||||
button.setAttribute('disabled', 'disabled');
|
button.setAttribute('disabled', 'disabled');
|
||||||
@ -357,7 +357,7 @@ var updateGlobalState = function() {
|
|||||||
document.querySelector('#container_btn_select').classList.add('border-primary');
|
document.querySelector('#container_btn_select').classList.add('border-primary');
|
||||||
document.querySelector('#container_btn_select .card-header').classList.remove('text-muted');
|
document.querySelector('#container_btn_select .card-header').classList.remove('text-muted');
|
||||||
document.querySelector('#container_btn_select .card-header').classList.add('bg-primary', 'text-white');
|
document.querySelector('#container_btn_select .card-header').classList.add('bg-primary', 'text-white');
|
||||||
document.querySelectorAll('#container_btn_select button').forEach(function(button) {
|
document.querySelectorAll('#container_btn_select .card-body button').forEach(function(button) {
|
||||||
button.classList.add('btn-outline-primary');
|
button.classList.add('btn-outline-primary');
|
||||||
button.classList.remove('btn-outline-secondary');
|
button.classList.remove('btn-outline-secondary');
|
||||||
button.removeAttribute('disabled');
|
button.removeAttribute('disabled');
|
||||||
|
@ -66,12 +66,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<div id="container_btn_select" class="opacity-50 card">
|
<div id="container_btn_select" class="opacity-50 card">
|
||||||
<div class="card-header small text-center p-1"><span>Aucune</span> page(s) séléctionnée(s)</div>
|
<div class="card-header small text-center p-1"><span>Aucune</span> page(s) séléctionnée(s) <button id="btn_cancel_select" type="button" class="btn-close btn-close-white float-end" aria-label="Close"></button></div>
|
||||||
<div class="card-body d-grid gap-2">
|
<div class="card-body d-grid gap-2 p-2">
|
||||||
<button id="btn_rotate_select" disabled="disabled" type="button" class="btn btn-sm btn-outline-secondary"><i class="bi bi-arrow-clockwise"></i> Tourner de 90°</button>
|
<button id="btn_rotate_select" disabled="disabled" type="button" class="btn btn-sm btn-outline-secondary"><i class="bi bi-arrow-clockwise"></i> Tourner de 90°</button>
|
||||||
<button id="btn_delete_select" disabled="disabled" type="button" class="btn btn-sm btn-outline-secondary"><i class="bi bi-trash"></i> Supprimer</button>
|
<button id="btn_delete_select" disabled="disabled" type="button" class="btn btn-sm btn-outline-secondary"><i class="bi bi-trash"></i> Supprimer</button>
|
||||||
<button id="btn_cancel_select" disabled="disabled" type="button" class="btn btn-sm btn-outline-secondary"><i class="bi bi-check-square"></i> Désélectionner</button>
|
<button id="save-select" class="btn btn-sm btn-outline-secondary" disabled="disabled" form="form_pdf" type="submit"><i class="bi bi-download"></i> Télécharger</button>
|
||||||
<button id="save-select" class="btn btn-sm btn-outline-secondary" disabled="disabled" form="form_pdf" type="submit"><i class="bi bi-download"></i> Télécharger le PDF</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user