From 0b9e0827185450d75719f720b4e9ea9a8f4dd21a Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Fri, 3 Feb 2023 20:21:35 +0000 Subject: [PATCH] Add files via upload --- src/main/resources/static/general.css | 17 +- src/main/resources/templates/add-image.html | 13 +- .../resources/templates/compress-pdf.html | 14 +- .../templates/convert/img-to-pdf.html | 14 +- .../templates/convert/pdf-to-img.html | 14 +- .../resources/templates/delete-pages.html | 14 +- .../templates/fragments/base-layout.html | 15 ++ .../resources/templates/fragments/card.html | 9 ++ .../resources/templates/fragments/common.html | 1 + src/main/resources/templates/home.html | 147 ++++++------------ src/main/resources/templates/merge-pdfs.html | 14 +- .../resources/templates/pdf-organizer.html | 14 +- src/main/resources/templates/rotate-pdf.html | 14 +- .../templates/security/add-password.html | 12 +- .../templates/security/add-watermark.html | 12 +- .../security/change-permissions.html | 19 +-- .../templates/security/remove-password.html | 12 +- src/main/resources/templates/split-pdfs.html | 12 +- 18 files changed, 188 insertions(+), 179 deletions(-) create mode 100644 src/main/resources/templates/fragments/base-layout.html create mode 100644 src/main/resources/templates/fragments/card.html diff --git a/src/main/resources/static/general.css b/src/main/resources/static/general.css index 20e97c598..a7c3d38f0 100644 --- a/src/main/resources/static/general.css +++ b/src/main/resources/static/general.css @@ -1,5 +1,14 @@ -#footer { - position: absolute; - bottom: 0; - width: 100%; +#page-container { + min-height: 100vh; + display: flex; + flex-direction: column; } + +#content-wrap { + flex: 1; +} + +#footer { +bottom: 0; +width: 100%; +} \ No newline at end of file diff --git a/src/main/resources/templates/add-image.html b/src/main/resources/templates/add-image.html index 41c61da7d..111775dd7 100644 --- a/src/main/resources/templates/add-image.html +++ b/src/main/resources/templates/add-image.html @@ -1,12 +1,13 @@ -
-Your locally hosted one-stop-shop for all your - PDF needs. (Made 100% in ChatGPT in 1 day as a experiment)
+ +Your locally hosted one-stop-shop for all your + PDF needs. (Made 100% in ChatGPT in 1 day as a experiment)
+Warning to have these permissions be unchangeable it is recommended to set them with a password via the - add-password page) - + add-password page