From f43fe15193ce257245221472e34336cdf4983cf8 Mon Sep 17 00:00:00 2001
From: Ludy
Date: Sat, 15 Jun 2024 23:07:09 +0200
Subject: [PATCH] further bug fixes when using context path (#1475)
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
---
src/main/resources/templates/account.html | 4 +-
.../resources/templates/auto-split-pdf.html | 6 +-
.../templates/convert/book-to-pdf.html | 2 +-
.../templates/convert/file-to-pdf.html | 2 +-
.../templates/convert/html-to-pdf.html | 2 +-
.../templates/convert/img-to-pdf.html | 2 +-
.../templates/convert/markdown-to-pdf.html | 2 +-
.../templates/convert/pdf-to-book.html | 2 +-
.../templates/convert/pdf-to-csv.html | 2 +-
.../templates/convert/pdf-to-html.html | 2 +-
.../templates/convert/pdf-to-img.html | 2 +-
.../templates/convert/pdf-to-pdfa.html | 2 +-
.../convert/pdf-to-presentation.html | 2 +-
.../templates/convert/pdf-to-text.html | 2 +-
.../templates/convert/pdf-to-word.html | 2 +-
.../templates/convert/pdf-to-xml.html | 2 +-
.../templates/convert/url-to-pdf.html | 2 +-
src/main/resources/templates/crop.html | 2 +-
src/main/resources/templates/error.html | 2 +-
.../resources/templates/extract-page.html | 2 +-
.../resources/templates/fragments/common.html | 84 ++++++-------
.../fragments/errorBannerPerPage.html | 4 +-
.../resources/templates/fragments/footer.html | 2 +-
.../templates/fragments/languages.html | 64 +++++-----
.../resources/templates/fragments/navbar.html | 36 +++---
src/main/resources/templates/home.html | 118 +++++++++---------
src/main/resources/templates/login.html | 8 +-
src/main/resources/templates/merge-pdfs.html | 4 +-
.../resources/templates/misc/add-image.html | 6 +-
.../templates/misc/add-page-numbers.html | 2 +-
.../resources/templates/misc/auto-crop.html | 2 +-
.../resources/templates/misc/auto-rename.html | 2 +-
.../templates/misc/change-metadata.html | 2 +-
.../templates/misc/compress-pdf.html | 2 +-
.../templates/misc/extract-image-scans.html | 2 +-
.../templates/misc/extract-images.html | 2 +-
.../resources/templates/misc/fake-scan.html | 2 +-
.../resources/templates/misc/flatten.html | 2 +-
.../resources/templates/misc/ocr-pdf.html | 2 +-
.../resources/templates/misc/print-file.html | 2 +-
.../templates/misc/remove-annotations.html | 2 +-
.../templates/misc/remove-blanks.html | 2 +-
src/main/resources/templates/misc/repair.html | 2 +-
.../templates/misc/show-javascript.html | 6 +-
src/main/resources/templates/misc/stamp.html | 2 +-
.../templates/multi-page-layout.html | 2 +-
src/main/resources/templates/overlay-pdf.html | 2 +-
.../resources/templates/pdf-organizer.html | 2 +-
.../templates/pdf-to-single-page.html | 2 +-
src/main/resources/templates/pipeline.html | 4 +-
.../resources/templates/remove-pages.html | 2 +-
src/main/resources/templates/rotate-pdf.html | 2 +-
src/main/resources/templates/scale-pages.html | 2 +-
.../templates/security/get-info-on-pdf.html | 2 +-
src/main/resources/templates/sign.html | 8 +-
.../templates/split-by-size-or-count.html | 2 +-
.../templates/split-pdf-by-sections.html | 4 +-
src/main/resources/templates/split-pdfs.html | 2 +-
src/main/resources/templates/view-pdf.html | 22 ++--
59 files changed, 233 insertions(+), 233 deletions(-)
diff --git a/src/main/resources/templates/account.html b/src/main/resources/templates/account.html
index 0e5246b8..ddb48a30 100644
--- a/src/main/resources/templates/account.html
+++ b/src/main/resources/templates/account.html
@@ -329,8 +329,8 @@
});
diff --git a/src/main/resources/templates/auto-split-pdf.html b/src/main/resources/templates/auto-split-pdf.html
index 00b65c8d..06915a47 100644
--- a/src/main/resources/templates/auto-split-pdf.html
+++ b/src/main/resources/templates/auto-split-pdf.html
@@ -21,7 +21,7 @@
-
diff --git a/src/main/resources/templates/convert/pdf-to-book.html b/src/main/resources/templates/convert/pdf-to-book.html
index 018adbc4..2a59587e 100644
--- a/src/main/resources/templates/convert/pdf-to-book.html
+++ b/src/main/resources/templates/convert/pdf-to-book.html
@@ -14,7 +14,7 @@
-
-
-
@@ -111,7 +111,7 @@
}
-
+
Stirling-PDF
@@ -134,7 +134,7 @@
-
+
diff --git a/src/main/resources/templates/misc/change-metadata.html b/src/main/resources/templates/misc/change-metadata.html
index f547b4e8..7f19f40a 100644
--- a/src/main/resources/templates/misc/change-metadata.html
+++ b/src/main/resources/templates/misc/change-metadata.html
@@ -16,7 +16,7 @@
-
+
diff --git a/src/main/resources/templates/misc/compress-pdf.html b/src/main/resources/templates/misc/compress-pdf.html
index cdb679d5..7c80ad36 100644
--- a/src/main/resources/templates/misc/compress-pdf.html
+++ b/src/main/resources/templates/misc/compress-pdf.html
@@ -19,7 +19,7 @@
-
+
diff --git a/src/main/resources/templates/misc/extract-image-scans.html b/src/main/resources/templates/misc/extract-image-scans.html
index 4ae50678..e1e21568 100644
--- a/src/main/resources/templates/misc/extract-image-scans.html
+++ b/src/main/resources/templates/misc/extract-image-scans.html
@@ -18,7 +18,7 @@
-
+
diff --git a/src/main/resources/templates/misc/extract-images.html b/src/main/resources/templates/misc/extract-images.html
index 8442b46b..6b0f5131 100644
--- a/src/main/resources/templates/misc/extract-images.html
+++ b/src/main/resources/templates/misc/extract-images.html
@@ -17,7 +17,7 @@
-
+
diff --git a/src/main/resources/templates/misc/fake-scan.html b/src/main/resources/templates/misc/fake-scan.html
index 5de49969..5591b3a9 100644
--- a/src/main/resources/templates/misc/fake-scan.html
+++ b/src/main/resources/templates/misc/fake-scan.html
@@ -14,7 +14,7 @@
-
+
diff --git a/src/main/resources/templates/misc/flatten.html b/src/main/resources/templates/misc/flatten.html
index 51af6772..22567be9 100644
--- a/src/main/resources/templates/misc/flatten.html
+++ b/src/main/resources/templates/misc/flatten.html
@@ -17,7 +17,7 @@
-
+
diff --git a/src/main/resources/templates/misc/ocr-pdf.html b/src/main/resources/templates/misc/ocr-pdf.html
index 65dd17da..9971d6e5 100644
--- a/src/main/resources/templates/misc/ocr-pdf.html
+++ b/src/main/resources/templates/misc/ocr-pdf.html
@@ -39,7 +39,7 @@
-
+
diff --git a/src/main/resources/templates/misc/print-file.html b/src/main/resources/templates/misc/print-file.html
index e665139c..629ecd2c 100644
--- a/src/main/resources/templates/misc/print-file.html
+++ b/src/main/resources/templates/misc/print-file.html
@@ -14,7 +14,7 @@
-
+
diff --git a/src/main/resources/templates/misc/remove-annotations.html b/src/main/resources/templates/misc/remove-annotations.html
index 5d0d8219..1b685493 100644
--- a/src/main/resources/templates/misc/remove-annotations.html
+++ b/src/main/resources/templates/misc/remove-annotations.html
@@ -28,7 +28,7 @@
-
+
+
+
-
-
+
+
@@ -229,7 +229,7 @@
-
+
-
+
-
+
diff --git a/src/main/resources/templates/split-pdfs.html b/src/main/resources/templates/split-pdfs.html
index 2491dbde..be4d685b 100644
--- a/src/main/resources/templates/split-pdfs.html
+++ b/src/main/resources/templates/split-pdfs.html
@@ -18,7 +18,7 @@
-
+
diff --git a/src/main/resources/templates/view-pdf.html b/src/main/resources/templates/view-pdf.html
index d2738b2e..9e42dfb7 100644
--- a/src/main/resources/templates/view-pdf.html
+++ b/src/main/resources/templates/view-pdf.html
@@ -28,18 +28,18 @@ See https://github.com/adobe-type-tools/cmap-resources
PDF.js viewer
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -298,8 +298,8 @@ See https://github.com/adobe-type-tools/cmap-resources
-
-
+
+
Stirling PDF
@@ -308,7 +308,7 @@ See https://github.com/adobe-type-tools/cmap-resources
-
+
Back to Main Page
diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html
index 2832bad2..6bc13ff1 100644
--- a/src/main/resources/templates/login.html
+++ b/src/main/resources/templates/login.html
@@ -2,7 +2,7 @@