2
0
Fork 0

chore: display credits on all pages (with footer)
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2024-05-15 01:43:47 +02:00
parent da4c13672b
commit a073a9f90b
2 changed files with 6 additions and 5 deletions

View File

@ -19,14 +19,13 @@
</section> </section>
{% endblock %} {% endblock %}
{% block footer %} {% block footer_content %}
<div class="content">
{% if DEBUG %} {% if DEBUG %}
<br>
(Debug-Modus) (Debug-Modus)
{% if helper %} {% if helper %}
<a href="{% url 'token_logout' %}">logout</a> <a href="{% url 'token_logout' %}">logout</a>
<a href="{{ helper.logintoken_set.first.get_absolute_url }}">login url</a> <a href="{{ helper.logintoken_set.first.get_absolute_url }}">login url</a>
{% endif %} {% endif %}
{% endif %} {% endif %}
</div>
{% endblock %} {% endblock %}

View File

@ -117,9 +117,11 @@
{% endblock %} {% endblock %}
<footer class="footer"> <footer class="footer">
<div class="container is-flex is-flex-wrap-wrap is-justify-content-space-between"> <div class="container is-flex is-flex-wrap-wrap is-justify-content-space-between">
{% block footer %} <div class="content">
<div class="content"><a href="https://git.as42.net/kontakt/shiftregister">shiftregister</a> by flo, Luca &amp; xAndy</div> <a href="https://git.as42.net/kontakt/shiftregister">shiftregister</a> by flo, Luca &amp; xAndy
{% block footer_content %}
{% endblock %} {% endblock %}
</div>
<div class="breadcrumb has-dot-separator is-flex-grow-1 is-right ml-5"> <div class="breadcrumb has-dot-separator is-flex-grow-1 is-right ml-5">
<ul> <ul>
{% for item in footer_nav_items %} {% for item in footer_nav_items %}