Stirling-PDF/src/main/resources/templates/extract-page.html

33 lines
1.6 KiB
HTML
Raw Normal View History

2023-08-01 01:03:13 +02:00
<!DOCTYPE html>
<html th:lang="${#locale.toString()}" th:lang-direction="#{language.direction}" xmlns:th="http://www.thymeleaf.org">
<th:block th:insert="~{fragments/common :: head(title=#{pageExtracter.title})}"></th:block>
<body>
<div id="page-container">
<div id="content-wrap">
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
<br> <br>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 th:text="#{pageExtracter.header}"></h2>
2023-09-12 00:19:50 +02:00
<form th:action="@{api/v1/general/rearrange-pages}" method="post" enctype="multipart/form-data">
2023-08-01 01:03:13 +02:00
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multiple=false, accept='application/pdf')}"></div>
<input type="hidden" id="customMode" name="customMode" value="">
2023-08-20 22:57:19 +02:00
<div class="mb-3">
2023-08-06 00:03:49 +02:00
<label for="pageOrder" th:text="#{pageOrderPrompt}"></label>
2023-09-13 01:46:30 +02:00
<input type="text" class="form-control" id="pageOrder" name="pageNumbers" placeholder="(e.g. 1,2,8 or 4,7,12-16 or 2n-1)" required>
2023-08-01 01:03:13 +02:00
</div>
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{pageExtracter.submit}"></button>
</form>
</div>
</div>
</div>
</div>
<div th:insert="~{fragments/footer.html :: footer}"></div>
</div>
</body>
</html>