2023-01-27 19:23:40 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
2023-02-03 21:26:35 +01:00
|
|
|
|
|
|
|
<th:block th:insert="~{fragments/common :: head(title='Split')}"></th:block>
|
|
|
|
|
2023-01-27 19:23:40 +01:00
|
|
|
|
|
|
|
<body>
|
2023-02-03 21:26:35 +01:00
|
|
|
|
|
|
|
<div id="page-container">
|
|
|
|
<div id="content-wrap">
|
|
|
|
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
|
2023-01-27 19:23:40 +01:00
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<div class="container">
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<h1>Split PDF</h1>
|
|
|
|
<p>The numbers you select are the page number you wish to do a
|
|
|
|
split on</p>
|
2023-01-28 11:00:32 +01:00
|
|
|
<p>As such selecting 1,3,7-8 would split a 10 page document into
|
2023-01-27 19:23:40 +01:00
|
|
|
6 separate PDFS with:</p>
|
|
|
|
<p>Document #1: Page 1</p>
|
|
|
|
<p>Document #2: Page 2 and 3</p>
|
|
|
|
<p>Document #3: Page 4, 5 and 6</p>
|
|
|
|
<p>Document #4: Page 7</p>
|
|
|
|
<p>Document #5: Page 8</p>
|
|
|
|
<p>Document #6: Page 9 and 10</p>
|
|
|
|
|
2023-01-31 17:53:10 +01:00
|
|
|
<form th:action="@{split-pages}" method="post"
|
2023-01-27 19:23:40 +01:00
|
|
|
enctype="multipart/form-data">
|
|
|
|
<div class="custom-file">
|
|
|
|
<input type="file" class="custom-file-input" id="fileInput"
|
|
|
|
name="fileInput" required> <label
|
|
|
|
class="custom-file-label" for="fileInput">Choose PDF</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="pages">Enter pages to split on:</label> <input
|
|
|
|
type="text" class="form-control" id="pages" name="pages"
|
2023-02-03 21:26:35 +01:00
|
|
|
placeholder="1,3,5-10" required>
|
2023-01-27 19:23:40 +01:00
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
|
|
</form>
|
2023-02-03 21:26:35 +01:00
|
|
|
<th:block th:insert="~{fragments/common :: filelist}"></th:block>
|
2023-01-27 19:23:40 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-03 21:26:35 +01:00
|
|
|
</div>
|
|
|
|
<div th:insert="~{fragments/footer.html :: footer}"></div>
|
|
|
|
</div>
|
2023-01-27 19:23:40 +01:00
|
|
|
</body>
|
|
|
|
</html>
|