Hilfetexte ergänzt
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<!-- Header -->
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
HEADER – Wird von admin.html, priority.html und customer.html eingebunden.
|
||||
Zeigt CANCOM-Logo, Standort-Dropdown, Theme-Toggle und Logout.
|
||||
Erwartet im Kontext: site_list, current_site, brand_subtitle, site_dropdown_url_prefix
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<header class="navbar navbar-expand-md d-print-none brand-surface">
|
||||
<div class="container-xl">
|
||||
<!-- Logo + Titel -->
|
||||
<div class="navbar-brand navbar-brand-autodark pe-0 pe-md-3">
|
||||
<img class="navbar-brand-logo me-3" src="{{ url_for('static', filename='cancom.svg') }}" alt="CANCOM Logo">
|
||||
<span class="navbar-brand-wordmark">
|
||||
@@ -8,7 +13,10 @@
|
||||
<span>{{ brand_subtitle }}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- Aktionen: Standort-Dropdown, +Button, Theme, Logout -->
|
||||
<div class="navbar-nav flex-row order-md-last top-actions">
|
||||
<!-- Standort-Auswahl -->
|
||||
<div class="dropdown me-2">
|
||||
<a class="btn btn-outline-secondary" href="#" data-bs-toggle="dropdown">
|
||||
<i class="ti ti-building me-1"></i>{{ current_site | capitalize }} <i class="ti ti-chevron-down"></i>
|
||||
@@ -20,15 +28,21 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Neuen Standort anlegen (+ Button) -->
|
||||
<a class="btn btn-outline-secondary me-2" href="javascript:void(0)"
|
||||
onclick="var n=prompt('Name des neuen Standorts:'); if(n&&n.trim()) location.href='/add-site?name='+encodeURIComponent(n.trim().toLowerCase());"
|
||||
title="Neuen Standort anlegen"
|
||||
style="display:inline-flex;align-items:center;justify-content:center;min-width:2.5rem;min-height:2.5rem;"><i class="ti ti-plus"></i></a>
|
||||
|
||||
<!-- Dark-Mode-Toggle (persistiert in localStorage("signage-theme")) -->
|
||||
<div>
|
||||
<button class="btn btn-outline-secondary theme-toggle" id="theme-toggle" title="Dark Mode umschalten">
|
||||
<i class="ti ti-moon"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Logout -->
|
||||
<div class="ms-2">
|
||||
<a href="/logout" class="btn btn-outline-secondary"><i class="ti ti-logout me-1"></i>Abmelden</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user