mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-14 11:21:13 +00:00
a31f676b46
Fixes #113
49 lines
2.4 KiB
HTML
49 lines
2.4 KiB
HTML
<nav>
|
|
<h3>Identity</h3>
|
|
<a href="{% url "settings_profile" %}" {% if section == "profile" %}class="selected"{% endif %} title="Profile">
|
|
<i class="fa-solid fa-user"></i> Profile
|
|
</a>
|
|
<a href="{% url "settings_interface" %}" {% if section == "interface" %}class="selected"{% endif %} title="Interface">
|
|
<i class="fa-solid fa-display"></i> Interface
|
|
</a>
|
|
<h3>Account</h3>
|
|
<a href="{% url "settings_security" %}" {% if section == "security" %}class="selected"{% endif %} title="Login & Security">
|
|
<i class="fa-solid fa-key"></i> Login & Security
|
|
</a>
|
|
<a href="/auth/logout/">
|
|
<i class="fa-solid fa-right-from-bracket" title="Logout"></i> Logout
|
|
</a>
|
|
{% if request.user.admin %}
|
|
<h3>Administration</h3>
|
|
<a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %} title="Basic">
|
|
<i class="fa-solid fa-book"></i> Basic
|
|
</a>
|
|
<a href="{% url "admin_policies" %}" {% if section == "policies" %}class="selected"{% endif %} title="Policies">
|
|
<i class="fa-solid fa-file-lines"></i> Policies
|
|
</a>
|
|
<a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %} title="Domains">
|
|
<i class="fa-solid fa-globe"></i> Domains
|
|
</a>
|
|
<a href="{% url "admin_federation" %}" {% if section == "federation" %}class="selected"{% endif %} title="Federation">
|
|
<i class="fa-solid fa-diagram-project"></i> Federation
|
|
</a>
|
|
<a href="{% url "admin_users" %}" {% if section == "users" %}class="selected"{% endif %} title="Users">
|
|
<i class="fa-solid fa-users"></i> Users
|
|
</a>
|
|
<a href="{% url "admin_identities" %}" {% if section == "identities" %}class="selected"{% endif %} title="Identities">
|
|
<i class="fa-solid fa-id-card"></i> Identities
|
|
</a>
|
|
<a href="{% url "admin_invites" %}" {% if section == "invites" %}class="selected"{% endif %} title="Invites">
|
|
<i class="fa-solid fa-envelope"></i> Invites
|
|
</a>
|
|
<a href="{% url "admin_hashtags" %}" {% if section == "hashtags" %}class="selected"{% endif %} title="Hashtags">
|
|
<i class="fa-solid fa-hashtag"></i> Hashtags
|
|
</a>
|
|
<a href="{% url "admin_tuning" %}" {% if section == "tuning" %}class="selected"{% endif %} title="Tuning">
|
|
<i class="fa-solid fa-wrench"></i> Tuning
|
|
</a>
|
|
<a href="/djadmin" title="">
|
|
<i class="fa-solid fa-gear"></i> Django Admin
|
|
</a>
|
|
{% endif %}
|
|
</nav>
|