actix-admin/actix_admin/templates/header.html

32 lines
1.1 KiB
HTML
Raw Normal View History

2022-08-04 09:21:40 +02:00
<nav class="navbar is-dark mb-4" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="/admin/">
Actix Admin
</a>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
2022-04-26 15:28:52 +02:00
{% for entity_name in entity_names -%}
2022-08-04 09:21:40 +02:00
<a href="/admin/{{ entity_name }}/list" class="navbar-item">{{ entity_name | title }}</a>
2022-04-25 17:23:38 +02:00
{%- endfor %}
2022-08-04 09:21:40 +02:00
</div>
<div class="navbar-end">
<div class="navbar-item">
<div class="buttons">
<a class="button is-light">
Log in
</a>
</div>
</div>
</div>
</div>
</nav>