1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +02:00

Bouton de séléction de signature plus gros et différent de celui de

téléchargement du pdf
This commit is contained in:
Vincent LAURENT 2021-10-07 09:29:58 +02:00
parent e8ff2e20fd
commit e09738cd81
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ loadingTask.promise.then(function(pdf) {
document.getElementById('svg_selected').src = this.value; document.getElementById('svg_selected').src = this.value;
} else { } else {
document.getElementById('btn_svn_select').classList.remove('d-none'); document.getElementById('btn_svn_select').classList.remove('d-none');
document.getElementById('btn_svn_select').focus();
document.getElementById('svg_selected_container').classList.add('d-none'); document.getElementById('svg_selected_container').classList.add('d-none');
document.getElementById('svg_selected').src = null; document.getElementById('svg_selected').src = null;
} }

View File

@ -68,7 +68,7 @@
</div> </div>
<div class="position-fixed top-0 start-0 bg-white w-100 p-2 shadow d-md-none"> <div class="position-fixed top-0 start-0 bg-white w-100 p-2 shadow d-md-none">
<div class="d-grid gap-2"> <div class="d-grid gap-2">
<button id="btn_svn_select" class="btn btn-primary" data-bs-toggle="offcanvas" data-bs-target="#offcanvasTop" aria-controls="offcanvasTop"><i class="bi bi-check2-circle"></i> Séléctionner une signature</button> <button id="btn_svn_select" class="btn btn-light btn-lg" data-bs-toggle="offcanvas" data-bs-target="#offcanvasTop" aria-controls="offcanvasTop"><i class="bi bi-hand-index"></i> Séléctionner une signature</button>
</div> </div>
<div id="svg_selected_container" class="d-grid gap-2 d-none"> <div id="svg_selected_container" class="d-grid gap-2 d-none">
<div class="btn-group"> <div class="btn-group">