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