-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): show version of UsersHub in the header nav
- Loading branch information
1 parent
ce5d200
commit a28b300
Showing
2 changed files
with
61 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,61 @@ | ||
<div class="navbar navbar-expand-lg navbar-dark bg-dark" style="margin-bottom: 25px;"> | ||
<a class="navbar-brand" href="#">UsersHub</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" | ||
aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div | ||
class="navbar navbar-expand-lg navbar-dark bg-dark" | ||
style="margin-bottom: 25px" | ||
> | ||
<a class="navbar-brand" href="#">UsersHub {{config['VERSION']}}</a> | ||
<button | ||
class="navbar-toggler" | ||
type="button" | ||
data-toggle="collapse" | ||
data-target="#navbarNav" | ||
aria-controls="navbarNav" | ||
aria-expanded="false" | ||
aria-label="Toggle navigation" | ||
> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse navbar-collapse" id="navbarNav"> | ||
<ul class="nav navbar-nav mr-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('user.users') }}">Utilisateurs</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('organisme.organisms') }}">Organismes</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('groupe.groups') }}">Groupes</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('liste.lists') }}">Listes</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('application.applications') }}">Applications</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('profils.profils') }}">Profils</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('temp_users.temp_users_list') }}">Demandes de compte</a> | ||
</li> | ||
</ul> | ||
<ul class="navbar-nav ml-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" title="Déconnexion" href="{{ url_for('auth.logout') }}?redirect={{config.URL_REDIRECT}}"> | ||
{{user.identifiant}} | ||
<i class="fa fa-sign-out font-medium" aria-hidden="true"></i> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="collapse navbar-collapse" id="navbarNav"> | ||
<ul class="nav navbar-nav mr-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('user.users') }}">Utilisateurs</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('organisme.organisms') }}" | ||
>Organismes</a | ||
> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('groupe.groups') }}">Groupes</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('liste.lists') }}">Listes</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('application.applications') }}" | ||
>Applications</a | ||
> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('profils.profils') }}">Profils</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ url_for('temp_users.temp_users_list') }}" | ||
>Demandes de compte</a | ||
> | ||
</li> | ||
</ul> | ||
<ul class="navbar-nav ml-auto"> | ||
<li class="nav-item"> | ||
<a | ||
class="nav-link" | ||
title="Déconnexion" | ||
href="{{ url_for('auth.logout') }}?redirect={{config.URL_REDIRECT}}" | ||
> | ||
{{user.identifiant}} | ||
<i class="fa fa-sign-out font-medium" aria-hidden="true"></i> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> |