Stirling-PDF/src/main/resources/templates/fragments/footer.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

59 lines
1.8 KiB
HTML
Raw Normal View History

2024-01-04 19:41:33 +01:00
<div th:fragment="footer">
2024-01-04 21:59:52 +01:00
<footer id="footer" class="text-center py-3">
<div class="footer-center">
2024-02-11 17:47:00 +01:00
2024-01-04 21:59:52 +01:00
<a href="https://github.com/Stirling-Tools/Stirling-PDF"
2024-01-04 19:41:33 +01:00
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>
2024-02-11 17:47:00 +01:00
2024-01-04 21:59:52 +01:00
<div style="color: grey;" th:if="${@appName} != 'Stirling PDF'" class="footer-powered-by" th:text="#{poweredBy} + ' Stirling PDF'"></div>
</div>
2024-02-11 17:47:00 +01:00
2024-01-04 21:59:52 +01:00
<a href="licenses" id="licenses" target="_blank" class="mx-1" title="" th:text="#{licenses.nav}">Licenses</a>
2024-02-11 17:47:00 +01:00
2024-01-04 21:59:52 +01:00
</footer>
</div>
2024-02-11 17:47:00 +01:00
2024-01-04 21:59:52 +01:00
<style>
2024-02-11 17:47:00 +01:00
2024-01-04 21:59:52 +01:00
#footer {
display: flex;
flex-direction: column; /* Stack children vertically */
justify-content: center;
align-items: center;
width: 100%;
}
2024-02-11 17:47:00 +01:00
2024-01-04 21:59:52 +01:00
.footer-center {
display: flex;
flex-direction: column; /* Stack items vertically */
justify-content: center; /* Center children vertically */
align-items: center; /* Center children horizontally */
flex-grow: 1;
2024-01-04 19:41:33 +01:00
}
2024-02-11 17:47:00 +01:00
2024-01-04 21:59:52 +01:00
.footer-powered-by {
margin-top: auto; /* Pushes the text to the bottom */
color: grey;
text-align: center; /* Centers the text inside the div */
width: 100%; /* Full width to center the text properly */
}
2024-02-11 17:47:00 +01:00
2024-01-04 19:41:33 +01:00
.right-link-container {
2024-01-04 21:59:52 +01:00
align-self: flex-end; /* Align to the end of the flex container */
padding-right: 20px;
2024-01-04 19:41:33 +01:00
}
2024-02-11 17:47:00 +01:00
</style>
2024-02-11 17:47:00 +01:00