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/navbar.html b/src/main/resources/templates/fragments/navbar.html index 159c7a5b..3fb1202a 100644 --- a/src/main/resources/templates/fragments/navbar.html +++ b/src/main/resources/templates/fragments/navbar.html @@ -53,7 +53,7 @@ - diff --git a/src/main/resources/templates/delete-pages.html b/src/main/resources/templates/remove-pages.html similarity index 93% rename from src/main/resources/templates/delete-pages.html rename to src/main/resources/templates/remove-pages.html index fb192b3c..06e6c25e 100644 --- a/src/main/resources/templates/delete-pages.html +++ b/src/main/resources/templates/remove-pages.html @@ -14,7 +14,7 @@

PDF Page remover

-