Stirling-PDF/src/main/resources/templates/merge-pdfs.html

40 lines
2 KiB
HTML
Raw Normal View History

2023-01-27 19:23:40 +01:00
<!DOCTYPE html>
2023-04-03 00:59:22 +02:00
<html th:lang="${#locale.toString()}" th:lang-direction="#{language.direction}" xmlns:th="http://www.thymeleaf.org">
2023-01-27 19:23:40 +01:00
2023-02-05 13:54:48 +01:00
<th:block th:insert="~{fragments/common :: head(title=#{merge.title})}"></th:block>
2023-01-28 11:00:32 +01:00
2023-01-27 19:23:40 +01:00
<body>
<div id="page-container">
<div id="content-wrap">
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
<br> <br>
<div class="container" id="dropContainer">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 th:text="#{merge.header}"></h2>
2023-09-12 00:19:50 +02:00
<form action="api/v1/general/merge-pdfs" method="post" enctype="multipart/form-data">
2023-08-20 22:57:19 +02:00
<div class="mb-3">
<label th:text="#{multiPdfDropPrompt}"></label>
2023-03-28 00:24:48 +02:00
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multiple=true, accept='application/pdf')}"></div>
</div>
2023-08-20 22:57:19 +02:00
<div class="mb-3">
<ul id="selectedFiles" class="list-group"></ul>
</div>
2023-08-20 22:57:19 +02:00
<div class="mb-3 text-center">
2023-08-17 23:03:36 +02:00
<button type="button" id="sortByNameBtn" class="btn btn-info" th:text="#{merge.sortByName}"></button>
<button type="button" id="sortByDateBtn" class="btn btn-info" th:text="#{merge.sortByDate}"></button>
2023-04-02 12:51:07 +02:00
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{merge.submit}"></button>
</div>
</form>
2023-06-02 00:12:55 +02:00
<link rel="stylesheet" href="css/merge.css">
2023-06-02 21:15:10 +02:00
<script src="js/merge.js"></script>
</div>
</div>
</div>
</div>
<div th:insert="~{fragments/footer.html :: footer}"></div>
</div>
2023-01-27 19:23:40 +01:00
</body>
</html>