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 @@ - - -S-PDF Add-Image - + + + +
+


@@ -45,7 +46,9 @@
-
+ +
+ \ No newline at end of file diff --git a/src/main/resources/templates/compress-pdf.html b/src/main/resources/templates/compress-pdf.html index deff6254d..7631ba4e6 100644 --- a/src/main/resources/templates/compress-pdf.html +++ b/src/main/resources/templates/compress-pdf.html @@ -1,12 +1,12 @@ - - -S-PDF Add-Image - - + + + +
+


@@ -38,7 +38,9 @@
-
+ +
+ \ No newline at end of file diff --git a/src/main/resources/templates/convert/img-to-pdf.html b/src/main/resources/templates/convert/img-to-pdf.html index c76cebb2b..48d8427ba 100644 --- a/src/main/resources/templates/convert/img-to-pdf.html +++ b/src/main/resources/templates/convert/img-to-pdf.html @@ -1,11 +1,11 @@ - - -S-PDF ConvertToPDF - - + + + +
+


@@ -31,6 +31,8 @@
-
+ +
+ \ No newline at end of file diff --git a/src/main/resources/templates/convert/pdf-to-img.html b/src/main/resources/templates/convert/pdf-to-img.html index b1fc0e10c..c37e0c812 100644 --- a/src/main/resources/templates/convert/pdf-to-img.html +++ b/src/main/resources/templates/convert/pdf-to-img.html @@ -1,11 +1,11 @@ - - -S-PDF ConvertToPDF - - + + + +
+

@@ -36,6 +36,8 @@
-
+ +
+ \ No newline at end of file diff --git a/src/main/resources/templates/delete-pages.html b/src/main/resources/templates/delete-pages.html index a8722fc60..fb192b3c0 100644 --- a/src/main/resources/templates/delete-pages.html +++ b/src/main/resources/templates/delete-pages.html @@ -1,11 +1,11 @@ - - -S-PDF Page Remover - - + + + +
+


@@ -35,6 +35,8 @@
-
+ +
+ \ No newline at end of file diff --git a/src/main/resources/templates/fragments/base-layout.html b/src/main/resources/templates/fragments/base-layout.html new file mode 100644 index 000000000..f5b1517b2 --- /dev/null +++ b/src/main/resources/templates/fragments/base-layout.html @@ -0,0 +1,15 @@ + +
+
+
+ + + +
+ +
+ + + +
+
\ No newline at end of file diff --git a/src/main/resources/templates/fragments/card.html b/src/main/resources/templates/fragments/card.html new file mode 100644 index 000000000..c87bb3845 --- /dev/null +++ b/src/main/resources/templates/fragments/card.html @@ -0,0 +1,9 @@ +
+
+
+
+

+ Go +
+
+
\ No newline at end of file diff --git a/src/main/resources/templates/fragments/common.html b/src/main/resources/templates/fragments/common.html index 576f9f8c6..ed4c1505a 100644 --- a/src/main/resources/templates/fragments/common.html +++ b/src/main/resources/templates/fragments/common.html @@ -35,6 +35,7 @@ }); + diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index 58115d6ce..62fb1958b 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -1,106 +1,61 @@ - - -S-PDF - + + + -
- -
-
-

Stirling PDF

-

Your locally hosted one-stop-shop for all your - PDF needs. (Made 100% in ChatGPT in 1 day as a experiment)

+ +
+
+
+ +
+
+

Stirling PDF

+

Your locally hosted one-stop-shop for all your + PDF needs. (Made 100% in ChatGPT in 1 day as a experiment)

+
+
+ + +
+
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
- - -
-
-
-
-
-
Merge PDFs
-

Easily merge multiple PDFs into one.

- Go -
-
-
-
-
-
-
Split PDFs
-

Split PDFs into multiple documents

- Go -
-
-
-
-
-
-
Add image to PDF
-

Adds image/watermark to a PDF

- Go -
-
-
-
-
-
-
-
-
-
Convert to/from PDF
-

Convert images to/from PDF.

- Go -
-
-
- -
-
-
-
PDF Organizer
-

Remove/Rearrange pages in any order

- Go -
-
-
- -
-
-
-
Rotate PDFs
-

Easily rotate your PDFs.

- Go -
-
-
- -
-
-
- - - - - -
-
-
-
Compress PDFs
-

Compress PDFs to reduce their file size.

- Go -
-
-
- -
-
-
\ No newline at end of file diff --git a/src/main/resources/templates/merge-pdfs.html b/src/main/resources/templates/merge-pdfs.html index 5e377dda5..9337393a5 100644 --- a/src/main/resources/templates/merge-pdfs.html +++ b/src/main/resources/templates/merge-pdfs.html @@ -1,13 +1,11 @@ - - -S-PDF MergePDFs + + - - - +
+


@@ -128,6 +126,8 @@
-
+
+
+ \ No newline at end of file diff --git a/src/main/resources/templates/pdf-organizer.html b/src/main/resources/templates/pdf-organizer.html index 0b869ca9e..10d7e1a85 100644 --- a/src/main/resources/templates/pdf-organizer.html +++ b/src/main/resources/templates/pdf-organizer.html @@ -1,11 +1,11 @@ - - -S-PDF Organizer - - + + + +
+


@@ -37,6 +37,8 @@
-
+ +
+ \ No newline at end of file diff --git a/src/main/resources/templates/rotate-pdf.html b/src/main/resources/templates/rotate-pdf.html index 7c97db630..cd17e8aaf 100644 --- a/src/main/resources/templates/rotate-pdf.html +++ b/src/main/resources/templates/rotate-pdf.html @@ -1,12 +1,12 @@ - - -S-PDF Add-Image - - + + + +
+


@@ -41,7 +41,9 @@
-
+ +
+ \ No newline at end of file diff --git a/src/main/resources/templates/security/add-password.html b/src/main/resources/templates/security/add-password.html index 1f50d58cf..ee1064689 100644 --- a/src/main/resources/templates/security/add-password.html +++ b/src/main/resources/templates/security/add-password.html @@ -1,12 +1,10 @@ - - -S-PDF Add-Image - + - +
+


@@ -98,6 +96,8 @@
-
+ +
+ diff --git a/src/main/resources/templates/security/add-watermark.html b/src/main/resources/templates/security/add-watermark.html index cf32b3cfe..c67d8ee13 100644 --- a/src/main/resources/templates/security/add-watermark.html +++ b/src/main/resources/templates/security/add-watermark.html @@ -1,12 +1,10 @@ - - -S-PDF Add Watermark - + - +
+


@@ -51,6 +49,8 @@
-
+ +
+ diff --git a/src/main/resources/templates/security/change-permissions.html b/src/main/resources/templates/security/change-permissions.html index 384539508..bd6991851 100644 --- a/src/main/resources/templates/security/change-permissions.html +++ b/src/main/resources/templates/security/change-permissions.html @@ -1,22 +1,21 @@ - - -S-PDF Add-Image - + - + +
+


-

Change permissions (Warning to have these permissions be +

Change permissions

+

Warning to have these permissions be unchangeable it is recommended to set them with a password via the - add-password page) - + add-password page

@@ -87,6 +86,8 @@
-
+
+
+
diff --git a/src/main/resources/templates/security/remove-password.html b/src/main/resources/templates/security/remove-password.html index 8c3740e3c..af3d61607 100644 --- a/src/main/resources/templates/security/remove-password.html +++ b/src/main/resources/templates/security/remove-password.html @@ -1,12 +1,10 @@ - - -S-PDF Add-Image - + - +
+


@@ -33,6 +31,8 @@
-
+ +
+ diff --git a/src/main/resources/templates/split-pdfs.html b/src/main/resources/templates/split-pdfs.html index f6378aabf..7239d9857 100644 --- a/src/main/resources/templates/split-pdfs.html +++ b/src/main/resources/templates/split-pdfs.html @@ -1,11 +1,13 @@ - - -S-PDF Split PDFs - + + + + +
+


@@ -44,6 +46,8 @@
+
+ \ No newline at end of file