2022-11-16 16:23:46 -08:00
|
|
|
<nav>
|
2022-11-17 16:43:00 -08:00
|
|
|
<h3>Identity</h3>
|
2022-11-22 18:03:19 -08:00
|
|
|
<a href="{% url "settings_profile" %}" {% if section == "profile" %}class="selected"{% endif %} title="Profile">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-user"></i>
|
|
|
|
<span>Profile</span>
|
2022-11-17 16:43:00 -08:00
|
|
|
</a>
|
2022-11-22 18:03:19 -08:00
|
|
|
<a href="{% url "settings_interface" %}" {% if section == "interface" %}class="selected"{% endif %} title="Interface">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-display"></i>
|
|
|
|
<span>Interface</span>
|
2022-11-17 16:43:00 -08:00
|
|
|
</a>
|
2023-02-13 19:50:43 -08:00
|
|
|
<a href="{% url "settings_import_export" %}" {% if section == "importexport" %}class="selected"{% endif %} title="Interface">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-cloud-arrow-up"></i>
|
|
|
|
<span>Import/Export</span>
|
2023-02-13 19:50:43 -08:00
|
|
|
</a>
|
2023-02-25 23:10:54 -08:00
|
|
|
<hr>
|
2022-11-17 16:43:00 -08:00
|
|
|
<h3>Account</h3>
|
2022-11-22 18:03:19 -08:00
|
|
|
<a href="{% url "settings_security" %}" {% if section == "security" %}class="selected"{% endif %} title="Login & Security">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-key"></i>
|
|
|
|
<span>Login & Security</span>
|
2022-11-17 16:43:00 -08:00
|
|
|
</a>
|
2023-01-14 09:32:48 -08:00
|
|
|
<a href="{% url "logout" %}">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-right-from-bracket" title="Logout"></i>
|
|
|
|
<span>Logout</span>
|
2022-11-17 18:21:00 -08:00
|
|
|
</a>
|
2022-12-20 01:01:54 -08:00
|
|
|
{% if request.user.moderator or request.user.admin %}
|
2023-02-25 23:10:54 -08:00
|
|
|
<hr>
|
2023-01-09 08:58:17 -08:00
|
|
|
<h3>Moderation</h3>
|
|
|
|
<a href="{% url "admin_identities" %}" {% if section == "identities" %}class="selected"{% endif %} title="Identities">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-id-card"></i>
|
|
|
|
<span>Identities</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_invites" %}" {% if section == "invites" %}class="selected"{% endif %} title="Invites">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-envelope"></i>
|
|
|
|
<span>Invites</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_hashtags" %}" {% if section == "hashtags" %}class="selected"{% endif %} title="Hashtags">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-hashtag"></i>
|
|
|
|
<span>Hashtags</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
2023-01-10 19:31:50 -08:00
|
|
|
<a href="{% url "admin_emoji" %}" {% if section == "emoji" %}class="selected"{% endif %} title="Emoji">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-icons"></i>
|
|
|
|
<span>Emoji</span>
|
2023-01-10 19:31:50 -08:00
|
|
|
</a>
|
2023-01-09 08:58:17 -08:00
|
|
|
<a href="{% url "admin_reports" %}" {% if section == "reports" %}class="selected"{% endif %} title="Reports">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-flag"></i>
|
|
|
|
<span>Reports</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
2022-12-20 01:01:54 -08:00
|
|
|
{% endif %}
|
2022-11-19 09:36:51 -08:00
|
|
|
{% if request.user.admin %}
|
2023-02-25 23:10:54 -08:00
|
|
|
<hr>
|
2023-01-09 08:58:17 -08:00
|
|
|
<h3>Administration</h3>
|
|
|
|
<a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %} title="Basic">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-book"></i>
|
|
|
|
<span>Basic</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_policies" %}" {% if section == "policies" %}class="selected"{% endif %} title="Policies">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-file-lines"></i>
|
|
|
|
<span>Policies</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
2023-01-13 14:54:21 -08:00
|
|
|
<a href="{% url "admin_announcements" %}" {% if section == "announcements" %}class="selected"{% endif %} title="Announcements">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-bullhorn"></i>
|
|
|
|
<span>Announcements</span>
|
2023-01-13 14:54:21 -08:00
|
|
|
</a>
|
2023-01-09 08:58:17 -08:00
|
|
|
<a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %} title="Domains">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-globe"></i>
|
|
|
|
<span>Domains</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_federation" %}" {% if section == "federation" %}class="selected"{% endif %} title="Federation">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-diagram-project"></i>
|
|
|
|
<span>Federation</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_users" %}" {% if section == "users" %}class="selected"{% endif %} title="Users">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-users"></i>
|
|
|
|
<span>Users</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
|
|
|
<a href="{% url "admin_stator" %}" {% if section == "stator" %}class="selected"{% endif %} title="Stator">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-clock-rotate-left"></i>
|
|
|
|
<span>Stator</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
|
|
|
<a href="/djadmin" title="Django Admin" class="danger">
|
2023-02-25 23:10:54 -08:00
|
|
|
<i class="fa-solid fa-gear"></i>
|
|
|
|
<span>Django Admin</span>
|
2023-01-09 08:58:17 -08:00
|
|
|
</a>
|
2022-11-17 16:43:00 -08:00
|
|
|
{% endif %}
|
2022-11-16 16:23:46 -08:00
|
|
|
</nav>
|