Navbar menus

This commit is contained in:
William Bouzourène 2024-12-30 14:09:32 +01:00
parent 432b01f370
commit 144873d8e2
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww

View file

@ -26,14 +26,17 @@
{% if Globals.TotpVerified %}
<li class="nav-item">
<a class="nav-link" href="/membres">
<i class="feather me-1" data-feather="users"></i>
Membres
<i class="feather me-1" data-feather="users"></i>Membres
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/sympathisants">
<i class="feather me-1" data-feather="users"></i>
Sympathisants
<i class="feather me-1" data-feather="users"></i>Sympathisants
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/export">
<i class="feather me-1" data-feather="download"></i>Exporter
</a>
</li>
@ -46,26 +49,22 @@
role="button"
data-bs-toggle="dropdown"
>
<i class="feather me-1" data-feather="settings"></i>
Administration
<i class="feather me-1" data-feather="settings"></i>Administration
</a>
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="dropdown-item" href="/account/manage">
<i class="feather me-1" data-feather="settings"></i>
Gérer mon compte
<i class="feather me-2" data-feather="home"></i>Sections
</a>
</li>
<li>
<a class="dropdown-item" href="/account/totp">
<i class="feather me-1" data-feather="smartphone"></i>
Gérer multifacteur (TOTP)
<i class="feather me-2" data-feather="list"></i>Listes
</a>
</li>
<li>
<a class="dropdown-item" href="/logout">
<i class="feather me-1" data-feather="log-out"></i>
Déconnexion
<i class="feather me-2" data-feather="database"></i>Champs supplémentaires
</a>
</li>
</ul>
@ -84,21 +83,18 @@
role="button"
data-bs-toggle="dropdown"
>
<span class="user-photo me-1">{{ Globals.UserFullname|first }}</span>
{{ Globals.UserFullname }}
<span class="user-photo me-2">{{ Globals.UserFullname|first }}</span>{{ Globals.UserFullname }}
</a>
<ul class="dropdown-menu dropdown-menu-end">
{% if Globals.TotpVerified %}
<li>
<a class="dropdown-item" href="/account/manage">
<i class="feather me-1" data-feather="settings"></i>
Gérer mon compte
<i class="feather me-2" data-feather="settings"></i>Gérer mon compte
</a>
</li>
<li>
<a class="dropdown-item" href="/account/totp">
<i class="feather me-1" data-feather="smartphone"></i>
Gérer multifacteur (TOTP)
<i class="feather me-2" data-feather="smartphone"></i>Gérer multifacteur (TOTP)
</a>
</li>
<li>
@ -108,8 +104,7 @@
<li>
<a class="dropdown-item" href="/logout">
<i class="feather me-1" data-feather="log-out"></i>
Déconnexion
<i class="feather me-2" data-feather="log-out"></i>Déconnexion
</a>
</li>
</ul>