guichet/templates/directory.html

44 lines
1.2 KiB
HTML
Raw Normal View History

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:52:50 +00:00
<li>&lt;&nbsp;<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}}
2023-07-24 08:52:50 +00:00
<li> &lt;&nbsp;<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">&nbsp;</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>
<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}}