2023-02-03 21:26:35 +01:00
|
|
|
<!DOCTYPE html>
|
2023-02-07 21:14:03 +01:00
|
|
|
<html th:lang="${#locale.language}" th:lang-direction="#{language.direction}" xmlns:th="http://www.thymeleaf.org">
|
2023-02-03 21:26:35 +01:00
|
|
|
|
2023-02-05 13:54:48 +01:00
|
|
|
<th:block th:insert="~{fragments/common :: head(title=#{watermark.title})}"></th:block>
|
2023-02-03 21:26:35 +01:00
|
|
|
|
|
|
|
<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">
|
2023-02-05 13:54:48 +01:00
|
|
|
<h2 th:text="#{watermark.header}"></h2>
|
2023-02-03 21:26:35 +01:00
|
|
|
|
|
|
|
<form method="post" enctype="multipart/form-data" action="add-watermark">
|
|
|
|
<div class="form-group">
|
2023-02-05 13:54:48 +01:00
|
|
|
<label th:text="#{watermark.selectText.1}"></label>
|
2023-02-03 21:26:35 +01:00
|
|
|
<div class="custom-file">
|
|
|
|
<input type="file" class="custom-file-input" id="fileInput"
|
|
|
|
name="fileInput" required> <label
|
2023-02-05 13:54:48 +01:00
|
|
|
class="custom-file-label" th:text="#{pdfPrompt}"></label>
|
2023-02-03 21:26:35 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-02-05 13:54:48 +01:00
|
|
|
<label for="watermarkText" th:text="#{watermark.selectText.2}"></label>
|
2023-02-03 21:26:35 +01:00
|
|
|
<input type="text" id="watermarkText" name="watermarkText" class="form-control" placeholder="Stirling-PDF" required/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-02-05 13:54:48 +01:00
|
|
|
<label for="fontSize" th:text="#{watermark.selectText.3}"></label>
|
2023-02-03 21:26:35 +01:00
|
|
|
<input type="text" id="fontSize" name="fontSize" class="form-control" value="30"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-02-05 13:54:48 +01:00
|
|
|
<label for="rotation" th:text="#{watermark.selectText.4}"></label>
|
2023-02-03 21:26:35 +01:00
|
|
|
<input type="text" id="rotation" name="rotation" class="form-control" value="45"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-02-05 13:54:48 +01:00
|
|
|
<label for="widthSpacer" th:text="#{watermark.selectText.5}"></label>
|
2023-02-03 21:26:35 +01:00
|
|
|
<input type="text" id="widthSpacer" name="widthSpacer" class="form-control" value="50"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-02-05 13:54:48 +01:00
|
|
|
<label for="heightSpacer" th:text="#{watermark.selectText.6}"></label>
|
2023-02-03 21:26:35 +01:00
|
|
|
<input type="text" id="heightSpacer" name="heightSpacer" class="form-control" value="50"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group text-center">
|
2023-02-05 13:54:48 +01:00
|
|
|
<input type="submit" th:value="#{watermark.submit}" class="btn btn-primary"/>
|
2023-02-03 21:26:35 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div th:insert="~{fragments/footer.html :: footer}"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|