liceneses without translation or GH action

This commit is contained in:
Anthony Stirling
2024-01-03 23:01:33 +00:00
parent 4b0df4ffd5
commit 0592bac5bf
8 changed files with 994 additions and 3 deletions

View File

@@ -1,9 +1,41 @@
<div th:fragment="footer">
<footer id="footer" class="text-center py-3">
<div class="footer-center">
<a href="https://github.com/Stirling-Tools/Stirling-PDF" target="_blank" class="mx-1" title="Visit Github Repository"><img src="images/github.svg"></img></a>
<a href="https://hub.docker.com/r/frooodle/s-pdf" target="_blank" class="mx-1" title="See Docker Hub"><img src="images/docker.svg"></img></a>
<a href="https://discord.gg/Cn8pWhQRxZ" target="_blank" class="mx-1" title="Join Discord Channel"><img src="images/discord.svg"></img></a>
<a href="https://github.com/sponsors/Frooodle" target="_blank" class="mx-1" title="Donate"><img src="images/suit-heart-fill.svg"></img></a>
<div th:if="${@appName} != 'Stirling PDF'" class="mt-2" style="color: grey;">Powered by Stirling PDF</div>
</div>
<div class="right-link-container">
<a href="https://example.com" target="_blank" class="mx-1" title="Visit Example Site">
Licenses
</a>
</div>
<div th:if="${@appName} != 'Stirling PDF'" class="mt-2 footer-center" style="color: grey;">Powered by Stirling PDF</div>
<style>
#footer {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.footer-center {
display: flex;
justify-content: center;
align-items: center;
flex-grow: 1;
}
.right-link-container {
margin-left: auto; /* Push the link to the far right */
}
</style>
</footer>
</div>

View File

@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html th:lang="${#locale.toString()}"
th:lang-direction="#{language.direction}"
xmlns:th="http://www.thymeleaf.org">
<th:block
th:insert="~{fragments/common :: head(title=#{pdfOrganiser.title}, header=#{pdfOrganiser.header})}"></th:block>
<style>
a {
text-decoration: none;
}
a:hover, a:focus {
text-decoration: underline;
/* Adds underline on hover/focus for clarity */
}
</style>
<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">
<h2>3rd Party licenses</h2>
<table class="table table-striped">
<thead>
<tr>
<th>Module</th>
<th>Version</th>
<th>License</th>
</tr>
</thead>
<tbody>
<tr th:each="dep : ${dependencies}">
<td><a th:href="${dep.moduleUrl}"
th:text="${dep.moduleName}"></a></td>
<td th:text="${dep.moduleVersion}"></td>
<td><a th:href="${dep.moduleLicenseUrl}"
th:text="${dep.moduleLicense}"></a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div th:insert="~{fragments/footer.html :: footer}"></div>
</div>
</body>
</html>

View File

@@ -26,9 +26,9 @@
<div class="mb-3">
<label for="certType" th:text="#{certSign.certType}"></label> <select
class="form-control" id="certType" name="certType">
<option value="" th:text="#{selectFillter}"></option>
<!-- <option value="" th:text="#{selectFillter}"></option> -->
<option value="PKCS12">PKCS12</option>
<option value="PEM">PEM</option>
<!-- <option value="PEM">PEM</option> -->
</select>
</div>