Info Tab und MFA
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<!-- Aktionen: Standort-Dropdown, +Button, Theme, Logout -->
|
||||
<div class="navbar-nav flex-row order-md-last top-actions">
|
||||
<!-- Standort-Auswahl -->
|
||||
{% if current_user.is_authenticated %}
|
||||
<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>
|
||||
@@ -34,6 +35,7 @@
|
||||
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;padding:0;"><i class="ti ti-plus"></i></a>
|
||||
{% endif %}
|
||||
|
||||
<!-- Dark-Mode-Toggle (persistiert in localStorage("signage-theme")) -->
|
||||
<div>
|
||||
@@ -50,6 +52,7 @@
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<a class="dropdown-item" href="/change-password"><i class="ti ti-key me-1"></i>Passwort ändern</a>
|
||||
<a class="dropdown-item" href="/mfa/setup"><i class="ti ti-shield me-1"></i>MFA einrichten{% if current_user.mfa_enabled %} <span class="badge bg-green text-green-fg ms-1" style="font-size:0.6rem;">Aktiv</span>{% endif %}</a>
|
||||
<a class="dropdown-item" href="/admin/help"><i class="ti ti-help me-1"></i>Hilfe</a>
|
||||
{% if current_user.is_admin %}
|
||||
<a class="dropdown-item" href="/admin/dashboard"><i class="ti ti-dashboard me-1"></i>Admin Dashboard</a>
|
||||
|
||||
Reference in New Issue
Block a user