From 192fb39302a1b09ca5c6bf585ceaa601682f76f0 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Wed, 31 May 2023 00:06:35 +0100 Subject: [PATCH] new error display logic init --- src/main/resources/messages_en_GB.properties | 2 +- src/main/resources/templates/error.html | 2 +- .../resources/templates/fragments/common.html | 25 +- .../fragments/errorBannerPerPage.html | 220 ++++++++++++++++++ .../resources/templates/fragments/navbar.html | 4 +- 5 files changed, 245 insertions(+), 8 deletions(-) create mode 100644 src/main/resources/templates/fragments/errorBannerPerPage.html diff --git a/src/main/resources/messages_en_GB.properties b/src/main/resources/messages_en_GB.properties index 85632661..b4c5bca1 100644 --- a/src/main/resources/messages_en_GB.properties +++ b/src/main/resources/messages_en_GB.properties @@ -131,7 +131,7 @@ home.certSign.desc=Signs a PDF with a Certificate/Key (PEM/P12) home.pageLayout.title=Multi-Page Layout home.pageLayout.desc=Merge multiple pages of a PDF document into a single page - +error.pdfPassword=The PDF Document is passworded and either the password was not provided or was incorrect downloadPdf=Download PDF text=Text diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html index 966a9866..dff3fab4 100644 --- a/src/main/resources/templates/error.html +++ b/src/main/resources/templates/error.html @@ -103,7 +103,7 @@ margin-top: 0;