This repository has been archived on 2023-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
takahe/templates/settings/_menu.html

47 lines
2.3 KiB
HTML
Raw Normal View History

<nav>
2022-11-18 01:43:00 +01:00
<h3>Identity</h3>
2022-11-23 03:03:19 +01:00
<a href="{% url "settings_profile" %}" {% if section == "profile" %}class="selected"{% endif %} title="Profile">
2022-11-18 01:43:00 +01:00
<i class="fa-solid fa-user"></i> Profile
</a>
2022-11-23 03:03:19 +01:00
<a href="{% url "settings_interface" %}" {% if section == "interface" %}class="selected"{% endif %} title="Interface">
2022-11-18 01:43:00 +01:00
<i class="fa-solid fa-display"></i> Interface
</a>
<h3>Account</h3>
2022-11-23 03:03:19 +01:00
<a href="{% url "settings_security" %}" {% if section == "security" %}class="selected"{% endif %} title="Login &amp; Security">
2022-11-18 01:43:00 +01:00
<i class="fa-solid fa-key"></i> Login &amp; Security
</a>
<a href="/auth/logout/">
2022-11-23 03:03:19 +01:00
<i class="fa-solid fa-right-from-bracket" title="Logout"></i> Logout
</a>
2022-11-19 18:36:51 +01:00
{% if request.user.admin %}
2022-11-18 01:43:00 +01:00
<h3>Administration</h3>
2022-11-23 03:03:19 +01:00
<a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %} title="Basic">
2022-11-18 01:43:00 +01:00
<i class="fa-solid fa-book"></i> Basic
</a>
2022-11-23 03:03:19 +01:00
<a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %} title="Domains">
2022-11-18 01:43:00 +01:00
<i class="fa-solid fa-globe"></i> Domains
</a>
2022-11-26 01:52:43 +01:00
<a href="{% url "admin_federation" %}" {% if section == "federation" %}class="selected"{% endif %} title="Federation">
<i class="fa-solid fa-diagram-project"></i> Federation
</a>
2022-11-23 03:03:19 +01:00
<a href="{% url "admin_users" %}" {% if section == "users" %}class="selected"{% endif %} title="Users">
2022-11-18 01:43:00 +01:00
<i class="fa-solid fa-users"></i> Users
</a>
2022-11-23 03:03:19 +01:00
<a href="{% url "admin_identities" %}" {% if section == "identities" %}class="selected"{% endif %} title="Identities">
2022-11-18 01:43:00 +01:00
<i class="fa-solid fa-id-card"></i> Identities
</a>
2022-11-23 03:03:19 +01:00
<a href="{% url "admin_invites" %}" {% if section == "invites" %}class="selected"{% endif %} title="Invites">
2022-11-18 08:09:04 +01:00
<i class="fa-solid fa-envelope"></i> Invites
</a>
2022-11-29 05:41:36 +01:00
<a href="{% url "admin_hashtags" %}" {% if section == "hashtags" %}class="selected"{% endif %} title="Hashtags">
<i class="fa-solid fa-hashtag"></i> Hashtags
</a>
2022-12-05 18:55:30 +01:00
<a href="{% url "admin_tuning" %}" {% if section == "tuning" %}class="selected"{% endif %} title="Tuning">
<i class="fa-solid fa-wrench"></i> Tuning
</a>
2022-11-23 03:03:19 +01:00
<a href="/djadmin" title="">
<i class="fa-solid fa-gear"></i> Django Admin
</a>
2022-11-18 01:43:00 +01:00
{% endif %}
</nav>