mirror of
https://github.com/Lukas0025/YAGS.git
synced 2025-04-11 18:02:12 +01:00
45 lines
2.2 KiB
HTML
45 lines
2.2 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(/static/icons/user.svg)"></span>
|
|
<div class="d-none d-xl-block ps-2">
|
|
<div>{% BIND item.userName %}</div>
|
|
<div class="mt-1 small text-muted">{% BIND item.realName %}</div>
|
|
</div>
|
|
</a>
|
|
<div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow" data-bs-popper="static">
|
|
<a href="/logout" class="dropdown-item">Logout</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div class="navbar-expand-md">
|
|
<div class="collapse navbar-collapse" id="navbar-menu">
|
|
<div class="navbar navbar-light">
|
|
<div class="container-xl">
|
|
<ul class="navbar-nav">
|
|
{% FOREACH menu_items RENDER blocks/nav-item.html %}
|
|
</ul>
|
|
<div class="my-2 my-md-0 flex-grow-1 flex-md-grow-0 order-first order-md-last">
|
|
<form action="./" method="get" autocomplete="off" novalidate>
|
|
<div class="input-icon">
|
|
<span class="input-icon-addon">
|
|
<!-- Download SVG icon from http://tabler-icons.io/i/search -->
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="10" cy="10" r="7" /><line x1="21" y1="21" x2="15" y2="15" /></svg>
|
|
</span>
|
|
<input type="text" value="" class="form-control" placeholder="Search…" aria-label="Search in website">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |