diff --git a/README.md b/README.md index 39c9c79b..96729959 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# Stirling-PDF +

tirling-PDF

+ This is a locally hosted web application that allows you to perform various operations on PDF files, such as splitting and adding images. diff --git a/build.gradle b/build.gradle index ba0b9acf..c514b8a8 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group = 'stirling.software' -version = '0.3.0' +version = '0.3.1' sourceCompatibility = '17' repositories { diff --git a/docs/stirling-transparent.svg b/docs/stirling-transparent.svg new file mode 100644 index 00000000..700e6444 --- /dev/null +++ b/docs/stirling-transparent.svg @@ -0,0 +1,298 @@ + + + + diff --git a/src/main/java/stirling/software/SPDF/controller/RearrangePagesPDFController.java b/src/main/java/stirling/software/SPDF/controller/RearrangePagesPDFController.java index 7750f686..b655ab69 100644 --- a/src/main/java/stirling/software/SPDF/controller/RearrangePagesPDFController.java +++ b/src/main/java/stirling/software/SPDF/controller/RearrangePagesPDFController.java @@ -33,13 +33,13 @@ public class RearrangePagesPDFController { return "pdf-organizer"; } - @GetMapping("/delete-pages") + @GetMapping("/remove-pages") public String pageDeleter(Model model) { - model.addAttribute("currentPage", "delete-pages"); - return "delete-pages"; + model.addAttribute("currentPage", "remove-pages"); + return "remove-pages"; } - @PostMapping("/delete-pages") + @PostMapping("/remove-pages") public ResponseEntity deletePages(@RequestParam("fileInput") MultipartFile pdfFile, @RequestParam("pagesToDelete") String pagesToDelete) throws IOException { diff --git a/src/main/resources/static/favicon.png b/src/main/resources/static/favicon.png index b17ecf10..11695d86 100644 Binary files a/src/main/resources/static/favicon.png and b/src/main/resources/static/favicon.png differ diff --git a/src/main/resources/static/favicon.svg b/src/main/resources/static/favicon.svg index 8d1e063f..700e6444 100644 --- a/src/main/resources/static/favicon.svg +++ b/src/main/resources/static/favicon.svg @@ -1 +1,298 @@ - \ No newline at end of file + + + + diff --git a/src/main/resources/templates/fragments/card.html b/src/main/resources/templates/fragments/card.html index c87bb384..a8ba116d 100644 --- a/src/main/resources/templates/fragments/card.html +++ b/src/main/resources/templates/fragments/card.html @@ -1,9 +1,5 @@ -
-
-
-
-

- Go -
-
+
+
+

+ 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 ed4c1505..d8abe242 100644 --- a/src/main/resources/templates/fragments/common.html +++ b/src/main/resources/templates/fragments/common.html @@ -1,12 +1,10 @@ - - - + + + +