summaryrefslogtreecommitdiffstats
path: root/templates/settings/_menu.html
blob: e2dc70b5f45755db253c9c489bb3560e9cde2ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<nav>
    <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 &amp; 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>