From f703d61f24a60b73590522645bd6eadd1690b601 Mon Sep 17 00:00:00 2001 From: Vincent LAURENT Date: Thu, 14 Apr 2022 09:09:48 +0200 Subject: [PATCH] FirstPage with white background --- public/js/signature.js | 2 ++ templates/signature.html.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/signature.js b/public/js/signature.js index 0605086..9756dcd 100644 --- a/public/js/signature.js +++ b/public/js/signature.js @@ -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'); diff --git a/templates/signature.html.php b/templates/signature.html.php index 69c18e9..84f7711 100644 --- a/templates/signature.html.php +++ b/templates/signature.html.php @@ -10,7 +10,7 @@ Signature PDF - +