nopaque/app/templates/header.html.j2

37 lines
1.1 KiB
Plaintext
Raw Normal View History

<header>
<nav>
<ul class="left hide-on-large-only">
<li><a href="#" data-target="sidenav" class="sidenav-trigger"><i class="material-icons">menu</i></a></li>
</ul>
<div class="nav-wrapper">
<span class="brand-logo center">
{% if title %}
{{ title }}
{% else %}
Opaque
{% endif %}
</span>
<ul class="right hide-on-med-and-down">
<li><a id="nav-notifications" class="dropdown-trigger" href="#!" data-target="nav-notifications-dropdown"><i class="material-icons">notifications</i></a></li>
<li><a id="nav-settings" class="dropdown-trigger" href="#!" data-target="nav-settings-dropdown"><i class="material-icons">settings</i></a></li>
</ul>
</div>
</nav>
<!-- dropdowns -->
<div id="nav-notifications-dropdown" class="dropdown-content">
<p>Notifications</p>
</div>
<div id="nav-settings-dropdown" class="dropdown-content">
<p>Settings</p>
</div>
<!-- sidenav -->
<ul id="slide-out" class="sidenav sidenav-fixed">
<li><a href="{{ url_for('index') }}">Opaque</a></li>
<li><a href="{{ url_for('auth.login') }}">Login</a></li>
</ul>
</header>