guichet/templates/home.html

34 lines
1.1 KiB
HTML
Raw Normal View History

2020-02-09 16:35:16 +00:00
{{define "title"}}{{end}}
2020-02-09 15:19:55 +00:00
{{define "body"}}
2020-02-09 15:46:26 +00:00
<div class="alert alert-success">
2020-02-09 16:35:16 +00:00
<div class="d-flex">
<span>Bienvenue, <strong>{{ .UserEntry.GetAttributeValue "givenname" }}</strong> !</span>
<a class="ml-auto btn btn-sm btn-dark" href="/logout">Se déconnecter</a>
</div>
2020-02-09 15:46:26 +00:00
</div>
<div class="card">
<div class="card-header">
2020-02-09 16:35:16 +00:00
Mon compte
</div>
<div class="list-group list-group-flush">
<a class="list-group-item list-group-item-action" href="/profile">Modifier mon profil</a>
<a class="list-group-item list-group-item-action" href="/passwd">Modifier mon mot de passe</a>
<a class="list-group-item list-group-item-action" href="/invite">Inviter quelqu'un</a>
</div>
</div>
<div class="card mt-3">
<div class="card-header">
Administration
2020-02-09 15:46:26 +00:00
</div>
<div class="list-group list-group-flush">
2020-02-09 16:35:16 +00:00
<a class="list-group-item list-group-item-action" href="/admin/users">Utilisateurs</a>
<a class="list-group-item list-group-item-action" href="/admin/groups">Groupes</a>
<a class="list-group-item list-group-item-action" href="/admin/ldap">Explorateur LDAP</a>
2020-02-09 15:46:26 +00:00
</div>
</div>
2020-02-09 15:19:55 +00:00
{{end}}