2021-08-16 14:27:20 +00:00
|
|
|
{{define "title"}}Annuaire |{{end}}
|
2023-07-24 08:47:30 +00:00
|
|
|
|
2023-07-23 15:18:29 +00:00
|
|
|
{{define "admenu"}}
|
|
|
|
{{if .Login.CanAdmin}}
|
2023-07-24 08:47:30 +00:00
|
|
|
<li><a href="#">Administration</a>
|
2023-07-23 15:18:29 +00:00
|
|
|
<ul class="submenu">
|
2023-07-24 08:47:30 +00:00
|
|
|
<li><a href="/admin/activate">Administrer LDAP</a>
|
2023-07-23 15:18:29 +00:00
|
|
|
<li><a href="/admin/activate">Activer des Utilisateur·ices</a></li>
|
|
|
|
<li><a href="/admin/users">Utilisateur·ices</a></li>
|
|
|
|
<li><a href="/admin/groups">Groupes</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
{{if .Login}}
|
2023-07-24 08:47:30 +00:00
|
|
|
<li><&ngsp; <a href="#">Compte</a>
|
2023-07-23 15:18:29 +00:00
|
|
|
<ul class="submenu">
|
2023-07-24 08:47:30 +00:00
|
|
|
<a href="/logout">Se déconnecter</a>
|
2023-07-23 15:18:29 +00:00
|
|
|
<li><a href="/gpas">Mal de passe oublié</a></li>
|
|
|
|
<li><a href="/invite/new_account">S'enregistrer</a></li>
|
2023-07-24 08:47:30 +00:00
|
|
|
</ul></li>
|
|
|
|
{{else}}
|
|
|
|
<li> <&ngsp;<a href="/">Se connecter</a></li>
|
2023-07-23 15:18:29 +00:00
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2021-07-21 19:22:29 +00:00
|
|
|
|
2021-08-16 14:27:20 +00:00
|
|
|
<form>
|
|
|
|
<div class="form-group form-row">
|
|
|
|
<div class="col-sm-2"> </div>
|
|
|
|
<label for="search" class="col-sm-2 col-form-label">Rechercher :</label>
|
|
|
|
<input class="form-control col-sm-4" id="search" name="search" type="text" onkeyup="searchDirectory()" size="20">
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<div id="search-results"></div>
|
2021-07-21 19:22:29 +00:00
|
|
|
|
2021-08-16 14:27:20 +00:00
|
|
|
<script src="/static/javascript/search.js"></script>
|
2021-08-18 10:44:44 +00:00
|
|
|
<script>
|
|
|
|
window.addEventListener("load", function(event) {
|
|
|
|
searchDirectory();
|
|
|
|
});
|
|
|
|
</script>
|
2021-07-21 19:22:29 +00:00
|
|
|
|
2021-08-16 14:27:20 +00:00
|
|
|
{{end}}
|