optimize dashboard

This commit is contained in:
team2
2026-03-01 16:52:50 +01:00
parent eb9ab2ec48
commit 6d1ab87f75
7 changed files with 206 additions and 94 deletions

View File

@@ -6,7 +6,9 @@
<title>{% block title %}Admin{% endblock %}</title>
{% block stylesheets %}
<link href="/assets/styles/bootstrap.min.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css" rel="stylesheet">
<link rel="stylesheet" href="/assets/styles/base.css">
<link rel="stylesheet" href="{{ asset('/assets/styles/admin-markdown.css') }}">
{% endblock %}
</head>
@@ -51,11 +53,11 @@
{% set route = app.request.attributes.get('_route') %}
<nav class="nav flex-column small">
<nav class="nav flex-column">
<a class="nav-link text-light {% if route starts with 'admin_dashboard' %}active fw-bold{% endif %}"
href="{{ path('admin_dashboard') }}">
Dashboard
<i class="bi bi-hdd-rack"></i> Dashboard
</a>
<hr class="border-secondary">
@@ -66,7 +68,7 @@
<a class="nav-link text-light {% if route starts with 'admin_document' %}active fw-bold{% endif %}"
href="{{ path('admin_documents') }}">
Dokumente
<i class="bi bi-card-list"></i> Dokumente
</a>
{# ------------------------- #}
@@ -74,12 +76,12 @@
{# ------------------------- #}
<a class="nav-link text-light {% if route starts with 'admin_tags' %}active fw-bold{% endif %}"
href="{{ path('admin_tags_index') }}">
Tags
<i class="bi bi-tag-fill"></i> Tags
</a>
<a class="nav-link text-light {% if route starts with 'admin_system_agent' %}active fw-bold{% endif %}"
href="{{ path('admin_system_agent') }}">
Retrieval Wissensbasis (Chunk-Index)
<i class="bi bi-body-text"></i> Wissensbasis (Chunk-Index)
</a>
<hr class="border-secondary">
@@ -90,12 +92,12 @@
<a class="nav-link text-light {% if route starts with 'admin_system_prompt' %}active fw-bold{% endif %}"
href="{{ path('admin_system_prompt') }}">
System Prompt
<i class="bi bi-chat-right-dots-fill"></i> System Prompt
</a>
<a class="nav-link text-light {% if route starts with 'admin_ingest_profile' %}active fw-bold{% endif %}"
href="{{ path('admin_ingest_profile_list') }}">
Indexierungsprofile (Ingest Profiles)
<i class="bi bi-diagram-3-fill"></i> Indexierungsprofile (Ingest Profiles)
</a>
<hr class="border-secondary">
@@ -106,7 +108,7 @@
<a class="nav-link text-light {% if route starts with 'admin_model_config' %}active fw-bold{% endif %}"
href="{{ path('admin_model_config_list') }}">
Modell-Generierung (Matrix Parameter)
<i class="bi bi-motherboard-fill"></i> Modell-Generierung (Matrix Parameter)
</a>
<hr class="border-secondary">
<div class="text-info text-uppercase small mb-2">
@@ -115,7 +117,7 @@
<a class="nav-link text-light {% if route starts with 'admin_model_config' %}active fw-bold{% endif %}"
href="{{ path('admin_guides_index') }}">
How-To & Leitfäden
<i class="bi bi-collection"></i> How-To & Leitfäden
</a>
<hr class="border-secondary">
<div class="text-info text-uppercase small mb-2">
@@ -123,15 +125,15 @@
</div>
<a class="nav-link text-light {% if route starts with 'admin_job' %}active fw-bold{% endif %}"
href="{{ path('admin_jobs') }}">
Indexierungs-Log (Ingest Jobs)
<i class="bi bi-binoculars-fill"></i> Indexierungs-Log (Ingest Jobs)
</a>
<a class="nav-link text-light {% if route starts with 'admin_job' %}active fw-bold{% endif %}"
href="{{ path('admin_vector_log') }}">
Vector-Log Python
<i class="bi bi-binoculars-fill"></i> Vector-Log Python
</a>
<a class="nav-link text-light {% if route starts with 'admin_job' %}active fw-bold{% endif %}"
href="{{ path('admin_system_logs_index') }}">
System-Logs
<i class="bi bi-binoculars-fill"></i> System-Logs
</a>
</nav>