2022-11-17 00:23:46 +00:00
|
|
|
<nav>
|
2022-11-18 00:43:00 +00:00
|
|
|
<h3>Identity</h3>
|
|
|
|
<a href="{% url "settings_profile" %}" {% if section == "profile" %}class="selected"{% endif %}>
|
|
|
|
<i class="fa-solid fa-user"></i> Profile
|
|
|
|
</a>
|
|
|
|
<a href="{% url "settings_interface" %}" {% if section == "interface" %}class="selected"{% endif %}>
|
|
|
|
<i class="fa-solid fa-display"></i> Interface
|
|
|
|
</a>
|
2022-11-18 03:04:01 +00:00
|
|
|
<a href="{% url "settings_follows" %}" {% if section == "follows" %}class="selected"{% endif %}>
|
|
|
|
<i class="fa-solid fa-arrow-right-arrow-left"></i> Follows
|
|
|
|
</a>
|
2022-11-18 00:43:00 +00:00
|
|
|
<h3>Account</h3>
|
2022-11-18 02:36:25 +00:00
|
|
|
<a href="{% url "settings_security" %}" {% if section == "security" %}class="selected"{% endif %}>
|
2022-11-18 00:43:00 +00:00
|
|
|
<i class="fa-solid fa-key"></i> Login & Security
|
|
|
|
</a>
|
2022-11-18 02:21:00 +00:00
|
|
|
<a href="/auth/logout/">
|
|
|
|
<i class="fa-solid fa-right-from-bracket"></i> Logout
|
|
|
|
</a>
|
2022-11-19 17:36:51 +00:00
|
|
|
{% if request.user.admin %}
|
2022-11-18 00:43:00 +00:00
|
|
|
<h3>Administration</h3>
|
|
|
|
<a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %}>
|
|
|
|
<i class="fa-solid fa-book"></i> Basic
|
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %}>
|
|
|
|
<i class="fa-solid fa-globe"></i> Domains
|
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_users" %}" {% if section == "users" %}class="selected"{% endif %}>
|
|
|
|
<i class="fa-solid fa-users"></i> Users
|
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_identities" %}" {% if section == "identities" %}class="selected"{% endif %}>
|
|
|
|
<i class="fa-solid fa-id-card"></i> Identities
|
|
|
|
</a>
|
2022-11-18 07:09:04 +00:00
|
|
|
<a href="{% url "admin_invites" %}" {% if section == "invites" %}class="selected"{% endif %}>
|
|
|
|
<i class="fa-solid fa-envelope"></i> Invites
|
|
|
|
</a>
|
2022-11-18 02:21:00 +00:00
|
|
|
<a href="/djadmin">
|
|
|
|
<i class="fa-solid fa-gear"></i> Django Admin
|
|
|
|
</a>
|
2022-11-18 00:43:00 +00:00
|
|
|
{% endif %}
|
2022-11-17 00:23:46 +00:00
|
|
|
</nav>
|