1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-06-08 17:02:28 +02:00

FirstPage with white background

This commit is contained in:
Vincent LAURENT 2022-04-14 09:09:48 +02:00
parent 992081a882
commit f703d61f24
2 changed files with 3 additions and 1 deletions

View file

@ -967,6 +967,7 @@ var modalSharing = function() {
}
var pageUpload = async function() {
document.querySelector('body').classList.remove('bg-light');
document.getElementById('input_pdf_upload').value = '';
document.getElementById('page-upload').classList.remove('d-none');
document.getElementById('page-signature').classList.add('d-none');
@ -1007,6 +1008,7 @@ var updateNbLayers = function() {
};
var pageSignature = async function(url) {
document.querySelector('body').classList.add('bg-light');
modalSharing();
document.getElementById('page-upload').classList.add('d-none');
document.getElementById('page-signature').classList.remove('d-none');

View file

@ -10,7 +10,7 @@
<link href="/css/app.css" rel="stylesheet">
<title>Signature PDF</title>
</head>
<body class="bg-light">
<body>
<noscript>
<div class="alert alert-danger text-center" role="alert">
<i class="bi bi-exclamation-triangle"></i> Site non fonctionnel sans JavaScript activé