mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-09-13 05:03:01 +02:00
Add: footer, meta info, move api to footer
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
{% block collector_head %}{% endblock collector_head %}
|
||||
{% block account_head %}{% endblock account_head %}
|
||||
</head>
|
||||
<body>
|
||||
<body class="d-flex flex-column min-vh-100">
|
||||
{% block collector_content %}{% endblock collector_content %}
|
||||
{% block account_content %}{% endblock account_content %}
|
||||
<!-- BS dependences JS-->
|
||||
@@ -46,6 +46,7 @@
|
||||
<script src="{% static '/js/bs.theme.mode.js' %}"></script>
|
||||
<!-- BS tooltip JS-->
|
||||
<script src="{% static '/js/bs.tooltip.js' %}"></script>
|
||||
<!-- Apps JS-->
|
||||
{% block collector_scripts %}{% endblock collector_scripts %}
|
||||
{% block account_scripts %}{% endblock account_scripts %}
|
||||
</body>
|
||||
|
@@ -19,14 +19,6 @@
|
||||
><i class="bi bi-shield-shaded"></i> Admin</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
<a class="dropdown-item" type="button" href="{% url 'swagger-ui' %}" target="_blank"
|
||||
><i class="bi bi-braces-asterisk"></i> Swagger</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" type="button" href="{% url 'redoc' %}" target="_blank"
|
||||
><i class="bi bi-file-earmark-medical"></i> Redoc</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="{% url 'two_factor:profile' %}"
|
||||
|
26
logs_collector/templates/includes/footer.html
Normal file
26
logs_collector/templates/includes/footer.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
||||
<div class="container d-flex justify-content-between">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<span class="text-muted">© Created by {{ author }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<li>
|
||||
<a
|
||||
class="nav-link"
|
||||
type="button"
|
||||
href="{% url 'swagger-ui' %}"
|
||||
target="_blank"
|
||||
data-bs-toggle="tooltip"
|
||||
data-bs-html="true"
|
||||
data-bs-placement="bottom"
|
||||
data-bs-title="Swagger"
|
||||
>
|
||||
<i class="bi bi-braces-asterisk"></i> API
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
@@ -14,7 +14,7 @@
|
||||
class="progress"
|
||||
role="progressbar"
|
||||
aria-label="storage used"
|
||||
aria-valuenow="25"
|
||||
aria-valuenow="{{ storage.used_percent }}"
|
||||
aria-valuemin="0"
|
||||
aria-valuemax="100"
|
||||
style="width: 125px"
|
||||
|
Reference in New Issue
Block a user