PDF security features (#26)

- Support for adding and removing passwords
- Support for watermarks
- Dedicated page remover
- Support for PDF permissions
- Removed endpoint /home and replaced with /
- Code cleanups
- Fixed page titles
This commit is contained in:
Anthony Stirling
2023-02-03 20:26:35 +00:00
committed by GitHub
parent 1937a83531
commit 5275866f09
34 changed files with 1253 additions and 604 deletions

View File

@@ -1,12 +1,14 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<th:block th:insert="~{common :: head}"></th:block>
<title>S-PDF Split PDFs</title>
</head>
<th:block th:insert="~{fragments/common :: head(title='Split')}"></th:block>
<body>
<div th:insert="~{navbar.html :: navbar}"></div>
<div id="page-container">
<div id="content-wrap">
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
<br>
<br>
<div class="container">
@@ -35,15 +37,17 @@
<div class="form-group">
<label for="pages">Enter pages to split on:</label> <input
type="text" class="form-control" id="pages" name="pages"
placeholder="1,3,5-10">
placeholder="1,3,5-10" required>
</div>
<br>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<th:block th:insert="~{common :: filelist}"></th:block>
<th:block th:insert="~{fragments/common :: filelist}"></th:block>
</div>
</div>
</div>
<div th:insert="~{footer.html :: footer}"></div>
</div>
<div th:insert="~{fragments/footer.html :: footer}"></div>
</div>
</body>
</html>