This commit is contained in:
pika 2025-04-03 14:24:28 +02:00
parent 66fe31eabe
commit 67dae6f5e4
7 changed files with 490 additions and 23 deletions

View file

@ -209,6 +209,10 @@
class="sidebar-item {{ 'active' if request.endpoint and request.endpoint.startswith('dashboard.server') }}">
<span class="ti ti-server me-2"></span> Servers
</a>
<a href="{{ url_for('dashboard.overview') }}"
class="sidebar-item {{ 'active' if request.endpoint == 'dashboard.overview' }}">
<span class="ti ti-sitemap me-2"></span> Overview
</a>
<!-- IPAM with Subnet Tree -->
<div class="sidebar-item-parent" id="ipam-menu">
@ -315,6 +319,10 @@
<!-- ONLY ONE CONTENT BLOCK FOR BOTH AUTHENTICATED AND NON-AUTHENTICATED STATES -->
<div class="{{ 'py-4' if current_user.is_authenticated else '' }}">
<!-- Add this right after the header, before the main content -->
{% if breadcrumbs is defined %}
{% include 'components/breadcrumbs.html' %}
{% endif %}
{% block content %}{% endblock %}
</div>
@ -618,4 +626,4 @@
{% block scripts %}{% endblock %}
</body>
</html>
</html>