1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#6372: Move hostname & current time to end of page body

This commit is contained in:
checktheroads
2021-05-07 13:45:03 -07:00
parent 4fd7eaf8e0
commit 308820b8a1
2 changed files with 9 additions and 9 deletions

View File

@ -1,12 +1,4 @@
<div class="d-flex flex-column container-fluid mt-auto justify-content-end sidebar-bottom">
<div class="d-flex flex-column align-items-center px-2 fw-light">
<small class="text-muted">{% now 'Y-m-d H:i:s T' %}</small>
</div>
<div class="d-flex flex-column align-items-center px-2">
<small class="text-muted">
{{ settings.HOSTNAME }} (v{{ settings.VERSION }})
</small>
</div>
<nav class="nav justify-content-between mb-2 mt-4 px-2">
<a type="button" target="_blank" class="nav-link" href="https://netbox.readthedocs.io/">
<i title="Docs" class="mdi mdi-book-open-variant text-primary" data-bs-placement="top" data-bs-toggle="tooltip"></i>

View File

@ -6,7 +6,6 @@
{% block layout %}
<div class="container-fluid">
<div class="row">
<main class="col-md-9 ms-sm-auto col-lg-10 px-0">
<nav id="sidebar-menu" class="col-md-3 col-lg-2 d-md-block sidebar collapse px-0">
<div class="position-sticky pt-3">
@ -64,6 +63,15 @@
{% block tabs %}{% endblock %}
{% block content %}{% endblock %}
</div>
<footer class="footer container-fluid pb-3 pt-4 px-0">
<div class="row align-items-center justify-content-end">
<div class="col-auto d-none d-md-block"></div>
<div class="col text-center text-md-end small text-muted">
<span class="fw-light d-block d-md-inline">{% now 'Y-m-d H:i:s T' %}</span>
<span class="ms-md-3 d-block d-md-inline">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</span>
</div>
</div>
</footer>
</div>
</main>
</div>