Lang setup (#35)

This commit is contained in:
Anthony Stirling
2023-02-05 12:54:48 +00:00
committed by GitHub
parent dd11cfab40
commit 6662115d10
22 changed files with 674 additions and 172 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<th:block th:insert="~{fragments/common :: head(title='Merge PDFs')}"></th:block>
<th:block th:insert="~{fragments/common :: head(title=#{merge.title})}"></th:block>
<body> <div id="page-container">
@@ -12,22 +12,22 @@
<div class="container" id="dropContainer">
<div class="row justify-content-center">
<div class="col-md-6">
<h2>Merge multiple PDFs (2+)</h2>
<h2 th:text="#{merge.header}"></h2>
<form action="merge-pdfs" method="post"
enctype="multipart/form-data">
<div class="form-group">
<label>Select (or drag & drop) all PDFs to merge</label>
<label th:text="#{multiPdfDropPrompt}"></label>
<div class="custom-file">
<input type="file" class="custom-file-input" id="fileInput"
name="fileInput" multiple required> <label
class="custom-file-label">Choose PDFs</label>
class="custom-file-label" th:text="#{pdfPrompt}">s</label>
</div>
</div>
<div class="form-group">
<ul id="selectedFiles" class="list-group"></ul>
</div>
<div class="form-group text-center">
<button type="submit" class="btn btn-primary">Merge</button>
<button type="submit" class="btn btn-primary" th:text="#{merge.submit}"></button>
</div>
</form>