YAGS/web/VIEWS/layout/header.html
2023-08-30 10:05:44 +02:00

28 lines
1.4 KiB
HTML

<header class="navbar navbar-expand-md navbar-light d-print-none">
<div class="container-xl">
<h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
<a href=".">
<img src="{% BIND logo %}" width="110" height="32" alt="Tabler" class="navbar-brand-image">
</a>
</h1>
<div class="navbar-nav flex-row order-md-last">
<div class="nav-item dropdown">
<a href="#" class="nav-link d-flex lh-1 text-reset p-0 show" data-bs-toggle="dropdown" aria-label="Open user menu" aria-expanded="true">
<span class="avatar avatar-sm" style="background-image: url({% BIND user.img %})"></span>
<div class="d-none d-xl-block ps-2">
<div>{% BIND user.name %}</div>
<div class="mt-1 small text-muted">{% BIND user.info %}</div>
</div>
</a>
<div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow show" data-bs-popper="static">
<a href="#" class="dropdown-item">Status</a>
<a href="#" class="dropdown-item">Profile</a>
<a href="#" class="dropdown-item">Feedback</a>
<div class="dropdown-divider"></div>
<a href="./settings.html" class="dropdown-item">Settings</a>
<a href="./sign-in.html" class="dropdown-item">Logout</a>
</div>
</div>
</div>
</div>
</header>