2021-08-16 14:27:20 +00:00
|
|
|
{{define "title"}}Annuaire |{{end}}
|
2023-07-23 15:18:29 +00:00
|
|
|
{{define "admenu"}}
|
|
|
|
{{if .Login.CanAdmin}}
|
|
|
|
<li><a href="/admin/activate">Administrer LDAP</a>
|
|
|
|
<ul class="submenu">
|
|
|
|
<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}}
|
|
|
|
<li><a href="/logout">Se déconnecter</a></li>
|
|
|
|
{{else}}
|
2023-07-24 08:40:41 +00:00
|
|
|
<li><a href="#">Se connecter</a>
|
2023-07-23 15:18:29 +00:00
|
|
|
<ul class="submenu">
|
|
|
|
<li><a href="/">Se connecter</a></li>
|
|
|
|
<li><a href="/gpas">Mal de passe oublié</a></li>
|
|
|
|
<li><a href="/invite/new_account">S'enregistrer</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2021-07-21 19:22:29 +00:00
|
|
|
{{define "body"}}
|
|
|
|
<div class="d-flex">
|
2021-08-16 14:27:20 +00:00
|
|
|
<h4>Annuaire</h4>
|
2021-07-21 19:22:29 +00:00
|
|
|
<a class="ml-auto btn btn-info" href="/">Menu principal</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
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}}
|