2022-11-17 00:23:46 +00:00
|
|
|
<nav>
|
2022-11-18 00:43:00 +00:00
|
|
|
<h3>Identity</h3>
|
2022-11-23 02:03:19 +00:00
|
|
|
<a href="{% url "settings_profile" %}" {% if section == "profile" %}class="selected"{% endif %} title="Profile">
|
2022-11-18 00:43:00 +00:00
|
|
|
<i class="fa-solid fa-user"></i> Profile
|
|
|
|
</a>
|
2022-11-23 02:03:19 +00:00
|
|
|
<a href="{% url "settings_interface" %}" {% if section == "interface" %}class="selected"{% endif %} title="Interface">
|
2022-11-18 00:43:00 +00:00
|
|
|
<i class="fa-solid fa-display"></i> Interface
|
|
|
|
</a>
|
|
|
|
<h3>Account</h3>
|
2022-11-23 02:03:19 +00:00
|
|
|
<a href="{% url "settings_security" %}" {% if section == "security" %}class="selected"{% endif %} title="Login & Security">
|
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/">
|
2022-11-23 02:03:19 +00:00
|
|
|
<i class="fa-solid fa-right-from-bracket" title="Logout"></i> Logout
|
2022-11-18 02:21:00 +00:00
|
|
|
</a>
|
2022-12-20 09:01:54 +00:00
|
|
|
{% if request.user.moderator or request.user.admin %}
|
|
|
|
<h3>Moderation</h3>
|
|
|
|
<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_reports" %}" {% if section == "reports" %}class="selected"{% endif %} title="Reports">
|
|
|
|
<i class="fa-solid fa-flag"></i> Reports
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2022-11-19 17:36:51 +00:00
|
|
|
{% if request.user.admin %}
|
2022-11-18 00:43:00 +00:00
|
|
|
<h3>Administration</h3>
|
2022-11-23 02:03:19 +00:00
|
|
|
<a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %} title="Basic">
|
2022-11-18 00:43:00 +00:00
|
|
|
<i class="fa-solid fa-book"></i> Basic
|
|
|
|
</a>
|
2022-12-06 02:21:00 +00:00
|
|
|
<a href="{% url "admin_policies" %}" {% if section == "policies" %}class="selected"{% endif %} title="Policies">
|
|
|
|
<i class="fa-solid fa-file-lines"></i> Policies
|
|
|
|
</a>
|
2022-11-23 02:03:19 +00:00
|
|
|
<a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %} title="Domains">
|
2022-11-18 00:43:00 +00:00
|
|
|
<i class="fa-solid fa-globe"></i> Domains
|
|
|
|
</a>
|
2022-12-20 09:16:03 +00: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 02:03:19 +00:00
|
|
|
<a href="{% url "admin_users" %}" {% if section == "users" %}class="selected"{% endif %} title="Users">
|
2022-11-18 00:43:00 +00:00
|
|
|
<i class="fa-solid fa-users"></i> Users
|
|
|
|
</a>
|
2022-12-15 19:26:17 +00:00
|
|
|
<a href="{% url "admin_stator" %}" {% if section == "stator" %}class="selected"{% endif %} title="Stator">
|
|
|
|
<i class="fa-solid fa-clock-rotate-left"></i> Stator
|
|
|
|
</a>
|
2022-12-20 09:01:54 +00:00
|
|
|
<a href="/djadmin" title="Django Admin" class="danger">
|
2022-11-18 02:21:00 +00:00
|
|
|
<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>
|