mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Replace 'pluginfooter' block with 'footer' and 'footer_links' blocks
- 'footer' blocks represents the <footer> html tag - 'footer_links' are the anchor tags inside nav
This commit is contained in:
parent
c489501441
commit
28de330b50
@ -108,14 +108,12 @@
|
|||||||
|
|
||||||
{# Page footer #}
|
{# Page footer #}
|
||||||
<footer class="footer container-fluid">
|
<footer class="footer container-fluid">
|
||||||
{# Plugin Custom Footer #}
|
{% block footer %}
|
||||||
{% block pluginfooter %}{% endblock %}
|
|
||||||
|
|
||||||
<div class="row align-items-center justify-content-between mx-0">
|
<div class="row align-items-center justify-content-between mx-0">
|
||||||
|
|
||||||
{# Docs & Community Links #}
|
|
||||||
<div class="col-sm-12 col-md-auto fs-4 noprint">
|
<div class="col-sm-12 col-md-auto fs-4 noprint">
|
||||||
<nav class="nav justify-content-center justify-content-lg-start">
|
<nav class="nav justify-content-center justify-content-lg-start">
|
||||||
|
{% block footer_links %}
|
||||||
{# Documentation #}
|
{# Documentation #}
|
||||||
<a type="button" class="nav-link" href="{% static 'docs/' %}" target="_blank">
|
<a type="button" class="nav-link" href="{% static 'docs/' %}" target="_blank">
|
||||||
<i title="Docs" class="mdi mdi-book-open-variant text-primary" data-bs-placement="top" data-bs-toggle="tooltip"></i>
|
<i title="Docs" class="mdi mdi-book-open-variant text-primary" data-bs-placement="top" data-bs-toggle="tooltip"></i>
|
||||||
@ -147,16 +145,17 @@
|
|||||||
<a type="button" class="nav-link" href="https://netdev.chat/" target="_blank">
|
<a type="button" class="nav-link" href="https://netdev.chat/" target="_blank">
|
||||||
<i title="Community" class="mdi mdi-slack text-primary" data-bs-placement="top" data-bs-toggle="tooltip"></i>
|
<i title="Community" class="mdi mdi-slack text-primary" data-bs-placement="top" data-bs-toggle="tooltip"></i>
|
||||||
</a>
|
</a>
|
||||||
|
{% endblock footer_links %}
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# System Info #}
|
|
||||||
<div class="col-sm-12 col-md-auto text-center text-lg-end text-muted">
|
<div class="col-sm-12 col-md-auto text-center text-lg-end text-muted">
|
||||||
<span class="d-block d-md-inline">{% annotated_now %} {% now 'T' %}</span>
|
<span class="d-block d-md-inline">{% annotated_now %} {% now 'T' %}</span>
|
||||||
<span class="ms-md-3 d-block d-md-inline">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</span>
|
<span class="ms-md-3 d-block d-md-inline">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endblock footer %}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user