From 0cebe69ff8c7c4ea63a16e5e39daaa3b6c1eb2de Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Tue, 13 Jun 2023 00:32:15 +0100 Subject: [PATCH] Pipeline init --- .../api/other/MetadataController.java | 1 + .../controller/web/GeneralWebController.java | 7 + src/main/resources/templates/pipeline.html | 280 ++++++++++++++++++ 3 files changed, 288 insertions(+) create mode 100644 src/main/resources/templates/pipeline.html diff --git a/src/main/java/stirling/software/SPDF/controller/api/other/MetadataController.java b/src/main/java/stirling/software/SPDF/controller/api/other/MetadataController.java index 7eed7c5f..78647ff2 100644 --- a/src/main/java/stirling/software/SPDF/controller/api/other/MetadataController.java +++ b/src/main/java/stirling/software/SPDF/controller/api/other/MetadataController.java @@ -73,6 +73,7 @@ public class MetadataController { @RequestParam(value = "trapped", required = false) @Parameter(description = "The trapped status of the document") String trapped, + @Parameter(description = "Map list of key and value of custom parameters, note these must start with customKey and customValue if they are non standard") @RequestParam Map allRequestParams) throws IOException { diff --git a/src/main/java/stirling/software/SPDF/controller/web/GeneralWebController.java b/src/main/java/stirling/software/SPDF/controller/web/GeneralWebController.java index e3df1fb0..f911429b 100644 --- a/src/main/java/stirling/software/SPDF/controller/web/GeneralWebController.java +++ b/src/main/java/stirling/software/SPDF/controller/web/GeneralWebController.java @@ -10,6 +10,13 @@ import io.swagger.v3.oas.annotations.Hidden; @Controller public class GeneralWebController { + @GetMapping("/pipeline") + @Hidden + public String pipelineForm(Model model) { + model.addAttribute("currentPage", "pipeline"); + return "pipeline"; + } + @GetMapping("/merge-pdfs") @Hidden public String mergePdfForm(Model model) { diff --git a/src/main/resources/templates/pipeline.html b/src/main/resources/templates/pipeline.html new file mode 100644 index 00000000..16a9be72 --- /dev/null +++ b/src/main/resources/templates/pipeline.html @@ -0,0 +1,280 @@ + + + + + + + +
+
+
+

+
+
+
+ + +
+ + +

Pipeline:

+
    + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ + \ No newline at end of file