takahe/templates/identity/_menu.html

18 lines
632 B
HTML
Raw Normal View History

2022-11-12 22:21:52 -08:00
<nav>
<a href="/identity/select/" {% if identities %}class="selected"{% endif %}>
<i class="fa-solid fa-user"></i> Select Identity
</a>
<a href="/identity/create/" {% if form %}class="selected"{% endif %}>
<i class="fa-solid fa-plus"></i> Create Identity
</a>
<a href="/auth/logout/">
<i class="fa-solid fa-right-from-bracket"></i> Logout
</a>
2022-11-19 09:36:51 -08:00
{% if request.user.admin %}
<h3>Administration</h3>
<a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %}>
<i class="fa-solid fa-globe"></i> Domains
</a>
{% endif %}
2022-11-12 22:21:52 -08:00
</nav>