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='Remove password')}"></th:block>
<th:block th:insert="~{fragments/common :: head(title=#{removePassword.title})}"></th:block>
<body> <div id="page-container">
<div id="content-wrap">
@@ -11,22 +11,26 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<h2>Remove password (Decrypt)</h2>
<h2 th:text="#{removePassword.header}"></h2>
<form action="add-password" method="post"
enctype="multipart/form-data">
<div class="form-group">
<label>Select PDF to Decrypt</label>
<label th:text="#{removePassword.selectText.1}"></label>
<div class="custom-file">
<input type="file" class="custom-file-input" id="fileInput"
name="fileInput" required> <label
class="custom-file-label">Choose PDF</label>
class="custom-file-label" th:text="#{pdfPrompt}"></label>
</div>
</div>
<div class="form-group">
<label>Password</label> <input type="password"
<label th:text="#{removePassword.selectText.2}"></label> <input type="password"
class="form-control" id="password" name="password" required>
</div>
<br />
<div class="form-group text-center">
<button type="submit" class="btn btn-primary" th:text="#{removePassword.submit}"></button>
</div>
</form>
</div>
</div>