diff options
author | Andrew Godwin | 2022-11-17 17:43:00 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-17 14:13:55 -0700 |
commit | 2154e6f02252576d8652e66f26fa4ae635d0f8ee (patch) | |
tree | a65a4e051c0cb9e99c77a083bf5b011b79f75cb8 /templates/settings/_menu.html | |
parent | f5eafb0ca0af3ed064202abbe99bfbeef8bbb74d (diff) | |
download | takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.tar.gz takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.tar.bz2 takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.zip |
Rework UI to have vertical menus
Diffstat (limited to 'templates/settings/_menu.html')
-rw-r--r-- | templates/settings/_menu.html | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/templates/settings/_menu.html b/templates/settings/_menu.html index 4f71651..e2dc70b 100644 --- a/templates/settings/_menu.html +++ b/templates/settings/_menu.html @@ -1,5 +1,28 @@ <nav> - <a href="{% url "settings_profile" %}" {% if section == "profile" %}class="selected"{% endif %}>Profile</a> - <a href="#" {% if section == "interface" %}class="selected"{% endif %}>Interface</a> - <a href="#" {% if section == "filtering" %}class="selected"{% endif %}>Filtering</a> + <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> + {% if request.user.admin %} + <h3>Account</h3> + <a href="#" {% if section == "login" %}class="selected"{% endif %}> + <i class="fa-solid fa-key"></i> Login & Security + </a> + <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> + {% endif %} </nav> |