Add footer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2020-12-04 09:23:05 +01:00
parent 8aa085c988
commit 71f186a9f5
3 changed files with 29 additions and 2 deletions

View File

@ -1,3 +1,23 @@
html {
height: 100%;
}
body {
position: relative;
min-height: 100%;
padding-bottom: 1rem;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
text-align: center;
font-size: small;
margin: 0.5rem;
color: #7a7a7a;
}
section { section {
overflow-x: auto; overflow-x: auto;
padding-top: 2rem !important; padding-top: 2rem !important;
@ -89,7 +109,7 @@ label.checkbox {
white-space: nowrap; white-space: nowrap;
} }
#quick_scroll { .quick-scroll {
margin-bottom: 1rem; margin-bottom: 1rem;
} }

View File

@ -7,7 +7,7 @@
</a> </a>
{% endblock %} {% endblock %}
{% block body %} {% block body %}
<div id="quick_scroll" class="level-right"> <div class="level-right quick-scroll">
<span class="level-item">Quick Scroll :</span> <span class="level-item">Quick Scroll :</span>
{% for folder in folders %} {% for folder in folders %}
{% if loop.index0 %} {% if loop.index0 %}

View File

@ -87,5 +87,12 @@
{% block body %}{% endblock %} {% block body %}{% endblock %}
</section> </section>
<footer>
<b>PyNyaata</b> made by <i>Xéfir Destiny</i>.
This software is open source under <a target="_blank" href="http://www.wtfpl.net">WTFPL</a> license !
Please look at the <a target="_blank" href="https://git.crystalyx.net/Xefir/PyNyaaTa">source code</a>
or <a target="_blank" href="https://hub.docker.com/r/xefir/pynyaata">host it</a> yourself o/
</footer>
</body> </body>
</html> </html>