Add: footer, meta info, move api to footer

This commit is contained in:
2023-09-07 22:32:54 +09:00
parent 016994d594
commit 3672d8b321
9 changed files with 46 additions and 25 deletions

View File

@@ -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>

View File

@@ -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' %}"

View 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>

View File

@@ -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"