takahe/templates/identity/_menu.html

18 lines
711 B
HTML
Raw Normal View History

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