Add files via upload

This commit is contained in:
Anthony Stirling 2023-01-31 16:50:54 +00:00 committed by GitHub
parent 52c5ad79f8
commit 1bcde53c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View File

@ -17,7 +17,7 @@
<form method="post" th:action="@{/add-image}"
<form method="post" th:action="@{add-image}"
enctype="multipart/form-data">
<div class="custom-file">

View File

@ -17,7 +17,7 @@
<form action="#" th:action="@{/compress-pdf}" th:object="${rotateForm}"
<form action="#" th:action="@{compress-pdf}" th:object="${rotateForm}"
method="post" enctype="multipart/form-data">
<p>Warning: This process can take up to a minute depending on file-size</p>
<div class="custom-file">

View File

@ -15,7 +15,7 @@
<h2>Image to PDF</h2>
<form method="post" enctype="multipart/form-data"
th:action="@{/convert-to-pdf}">
th:action="@{convert-to-pdf}">
<div class="custom-file">
<input type="file" class="custom-file-input" id="fileInput"
name="fileInput" required> <label
@ -35,7 +35,7 @@
<div class="col-md-6">
<h2>PDF to img</h2>
<form method="post" enctype="multipart/form-data"
th:action="@{/convert-from-pdf}">
th:action="@{convert-from-pdf}">
<div class="custom-file">
<input type="file" class="custom-file-input" id="fileInput"
name="fileInput" required> <label

View File

@ -15,7 +15,7 @@
<div class="row justify-content-center">
<div class="col-md-6" >
<h2>Merge multiple PDFs (2+)</h2>
<form action="/merge-pdfs" method="post"
<form action="merge-pdfs" method="post"
enctype="multipart/form-data">
<div class="form-group">
<label>Select (or drag & drop) all PDFs to merge</label>

View File

@ -16,7 +16,7 @@
<form th:action="@{/rearrange-pages}" method="post"
<form th:action="@{rearrange-pages}" method="post"
enctype="multipart/form-data">
<div class="custom-file">
<input type="file" class="custom-file-input" id="fileInput"

View File

@ -17,7 +17,7 @@
<form action="#" th:action="@{/rotate-pdf}" th:object="${rotateForm}"
<form action="#" th:action="@{rotate-pdf}" th:object="${rotateForm}"
method="post" enctype="multipart/form-data">
<div class="custom-file">
<input type="file" class="custom-file-input" id="fileInput"

View File

@ -24,7 +24,7 @@
<p>Document #5: Page 8</p>
<p>Document #6: Page 9 and 10</p>
<form th:action="@{/split-pages}" method="post"
<form th:action="@{split-pages}" method="post"
enctype="multipart/form-data">
<div class="custom-file">
<input type="file" class="custom-file-input" id="fileInput"