takahe/templates/identity/_menu.html

18 lines
764 B
HTML
Raw Normal View History

2022-11-12 22:21:52 -08:00
<nav>
2023-01-14 09:32:48 -08:00
<a href="{% url "identity_select" %}" {% if identities %}class="selected"{% endif %} title="Select Identity">
2022-12-30 00:01:03 -08:00
<i class="fa-solid fa-users-viewfinder"></i> Select Identity
</a>
2023-01-14 09:32:48 -08:00
<a href="{% url "identity_create" %}" {% if form %}class="selected"{% endif %} title="Create Identity">
<i class="fa-solid fa-plus"></i> Create Identity
</a>
2023-01-14 09:32:48 -08:00
<a href="{% url "logout" %}" title="Logout">
<i class="fa-solid fa-right-from-bracket"></i> Logout
</a>
2022-11-19 09:36:51 -08:00
{% if request.user.admin %}
2023-01-09 08:58:17 -08:00
<h3>Administration</h3>
<a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %} title="Domains">
<i class="fa-solid fa-globe"></i> Domains
</a>
2022-11-19 09:36:51 -08:00
{% endif %}
2022-11-12 22:21:52 -08:00
</nav>