new styles

This commit is contained in:
team 1
2026-04-04 20:26:20 +02:00
parent c7b5cfeb91
commit 7f7d2c512d
3 changed files with 48 additions and 36 deletions

View File

@@ -250,7 +250,7 @@ body {
} }
.bg-dark { .bg-dark {
background-color: #101823 !important; background-color: #121a25 !important;
} }
.bg-info { .bg-info {
--bs-bg-opacity: 1; --bs-bg-opacity: 1;
@@ -305,6 +305,20 @@ body {
color: var(--bs-table-color); color: var(--bs-table-color);
border-color: var(--bs-table-border-color); border-color: var(--bs-table-border-color);
} }
.table-secondary {
--bs-table-color: #000;
--bs-table-bg: #86b7fe;
--bs-table-border-color: #b5b6b7;
--bs-table-striped-bg: #d7d8da;
--bs-table-striped-color: #000;
--bs-table-active-bg: #cbccce;
--bs-table-active-color: #000;
--bs-table-hover-bg: #d1d2d4;
--bs-table-hover-color: #000;
color: var(--bs-table-color);
border-color: var(--bs-table-border-color);
}
.list-group-item.bg-black, .list-group-item.bg-black,
.list-group-item.bg-dark { .list-group-item.bg-dark {

View File

@@ -11,6 +11,27 @@
Neues Profil anlegen Neues Profil anlegen
</a> </a>
</div> </div>
{# ============================= #}
{# Strukturstatus Alert #}
{# ============================= #}
{% if structureMismatch %}
<div class="alert alert-danger d-flex justify-content-between align-items-center mb-4">
<div>
<strong>Strukturabweichung erkannt.</strong>
Die aktuelle Indexstruktur entspricht nicht dem aktiven Profil.
Eine globale Neuindizierung ist erforderlich oder Sie haben kein indexiertes Dokument im System.
</div>
<a href="{{ path('admin_jobs') }}"
class="btn btn-sm btn-outline-danger">
Global Reindex starten
</a>
</div>
{% else %}
<div class="alert alert-success">
Die Indexstruktur entspricht dem aktiven Profil.
</div>
{% endif %}
{# ========================================================= #} {# ========================================================= #}
{# PROFIL SYSTEM DESCRIPTION #} {# PROFIL SYSTEM DESCRIPTION #}
@@ -54,28 +75,6 @@
</div> </div>
</div> </div>
{# ============================= #}
{# Strukturstatus Alert #}
{# ============================= #}
{% if structureMismatch %}
<div class="alert alert-danger d-flex justify-content-between align-items-center">
<div>
<strong>Strukturabweichung erkannt.</strong>
Die aktuelle Indexstruktur entspricht nicht dem aktiven Profil.
Eine globale Neuindizierung ist erforderlich oder Sie haben kein indexiertes Dokument im System.
</div>
<a href="{{ path('admin_jobs') }}"
class="btn btn-sm btn-outline-danger">
Global Reindex starten
</a>
</div>
{% else %}
<div class="alert alert-success">
Die Indexstruktur entspricht dem aktiven Profil.
</div>
{% endif %}
{# ============================= #} {# ============================= #}
{# Profile Tabelle #} {# Profile Tabelle #}
{# ============================= #} {# ============================= #}

View File

@@ -8,6 +8,17 @@
<h1 class="h3 mb-0">Tag-Management</h1> <h1 class="h3 mb-0">Tag-Management</h1>
</div> </div>
{# ========================================================= #}
{# LIVE REBUILD STATUS (SSE) #}
{# ========================================================= #}
<div id="rebuild-status">
{% if latestJob %}
<div class="alert alert-secondary shadow-sm">
Status wird geladen…
</div>
{% endif %}
</div>
{# ========================================================= #} {# ========================================================= #}
{# TAG SYSTEM DESCRIPTION #} {# TAG SYSTEM DESCRIPTION #}
{# ========================================================= #} {# ========================================================= #}
@@ -65,18 +76,6 @@
</div> </div>
</div> </div>
{# ========================================================= #}
{# LIVE REBUILD STATUS (SSE) #}
{# ========================================================= #}
<div id="rebuild-status">
{% if latestJob %}
<div class="alert alert-secondary shadow-sm">
Status wird geladen…
</div>
{% endif %}
</div>
<script> <script>
const statusBox = document.getElementById('rebuild-status'); const statusBox = document.getElementById('rebuild-status');
const source = new EventSource("{{ path('admin_tags_rebuild_stream') }}"); const source = new EventSource("{{ path('admin_tags_rebuild_stream') }}");