2023-02-03 21:26:35 +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-02-03 21:26:35 +01:00
|
|
|
|
2023-02-11 15:27:15 +01:00
|
|
|
<th:block th:insert="~{fragments/common :: head(title=#{pdfToImage.title})}"></th:block>
|
2023-02-03 21:26:35 +01:00
|
|
|
|
2023-02-07 21:14:03 +01:00
|
|
|
|
2023-02-11 15:27:15 +01:00
|
|
|
<body>
|
2023-05-03 23:07:51 +02:00
|
|
|
<th:block th:insert="~{fragments/common :: game}"></th:block>
|
2023-02-11 15:27:15 +01:00
|
|
|
<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="#{pdfToImage.header}"></h2>
|
|
|
|
<p th:text="#{processTimeWarning}"></p>
|
2023-09-12 00:19:50 +02:00
|
|
|
<form method="post" enctype="multipart/form-data" th:action="@{api/v1/convert/pdf/img}">
|
2023-03-25 23:16:26 +01:00
|
|
|
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multiple=false, accept='application/pdf')}"></div>
|
2023-08-20 22:57:19 +02:00
|
|
|
<div class="mb-3">
|
2023-02-11 15:27:15 +01:00
|
|
|
<label th:text="#{pdfToImage.selectText}"></label>
|
|
|
|
<select class="form-control" name="imageFormat">
|
|
|
|
<option value="png">PNG</option>
|
2023-02-25 10:53:07 +01:00
|
|
|
<option value="jpg">JPG</option>
|
|
|
|
<option value="gif">GIF</option>
|
2023-10-05 19:45:33 +02:00
|
|
|
<option value="tiff">TIFF</option>
|
|
|
|
<option value="bmp">BMP</option>
|
2023-02-11 15:27:15 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
2023-08-20 22:57:19 +02:00
|
|
|
<div class="mb-3">
|
2023-02-11 15:27:15 +01:00
|
|
|
<label th:text="#{pdfToImage.singleOrMultiple}"></label>
|
|
|
|
<select class="form-control" name="singleOrMultiple">
|
|
|
|
<option value="multiple" th:text="#{pdfToImage.multi}"></option>
|
2023-12-24 22:55:11 +01:00
|
|
|
<option value="single" th:text="#{pdfToImage.single}"></option>
|
2023-02-11 15:27:15 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
2023-08-20 22:57:19 +02:00
|
|
|
<div class="mb-3">
|
2023-02-11 15:27:15 +01:00
|
|
|
<label th:text="#{pdfToImage.colorType}"></label>
|
|
|
|
<select class="form-control" name="colorType">
|
|
|
|
<option value="color" th:text="#{pdfToImage.color}"></option>
|
|
|
|
<option value="greyscale" th:text="#{pdfToImage.grey}"></option>
|
|
|
|
<option value="blackwhite" th:text="#{pdfToImage.blackwhite}"></option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2023-08-20 22:57:19 +02:00
|
|
|
<div class="mb-3">
|
2023-02-11 15:27:15 +01:00
|
|
|
<label for="dpi">DPI:</label>
|
2023-05-30 20:45:51 +02:00
|
|
|
<input type="number" name="dpi" class="form-control" id="dpi" min="1" step="1" value="300" required>
|
2023-02-11 15:27:15 +01:00
|
|
|
</div>
|
2023-04-02 12:51:07 +02:00
|
|
|
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{pdfToImage.submit}"></button>
|
2023-02-11 15:27:15 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div th:insert="~{fragments/footer.html :: footer}"></div>
|
|
|
|
</div>
|
2023-02-03 21:26:35 +01:00
|
|
|
</body>
|
2023-10-05 19:45:33 +02:00
|
|
|
</html>
|