2020-02-09 17:35:16 +01:00
|
|
|
{{define "title"}}{{end}}
|
2020-02-09 16:19:55 +01:00
|
|
|
|
|
|
|
{{define "body"}}
|
2020-02-09 19:56:01 +01:00
|
|
|
<div class="alert alert-info">
|
2020-02-09 17:52:48 +01:00
|
|
|
Bienvenue, <strong>{{ .Login.UserEntry.GetAttributeValue "givenname" }}</strong> !
|
2020-02-09 17:47:36 +01:00
|
|
|
</div>
|
|
|
|
<div class="d-flex">
|
|
|
|
<a class="ml-auto btn btn-sm btn-dark" href="/logout">Se déconnecter</a>
|
2020-02-09 16:46:26 +01:00
|
|
|
</div>
|
2020-02-09 17:47:36 +01:00
|
|
|
<div class="mt-3"></div>
|
2020-02-09 16:46:26 +01:00
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">
|
2020-02-09 17:35:16 +01: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>
|
2020-02-09 17:52:48 +01:00
|
|
|
{{if .CanInvite}}
|
|
|
|
<a class="list-group-item list-group-item-action" href="/invite">Inviter quelqu'un</a>
|
|
|
|
{{end}}
|
2020-02-09 17:35:16 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-02-09 17:52:48 +01:00
|
|
|
{{if .CanAdmin}}
|
|
|
|
<div class="card mt-3">
|
|
|
|
<div class="card-header">
|
|
|
|
Administration
|
|
|
|
</div>
|
|
|
|
<div class="list-group list-group-flush">
|
|
|
|
<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>
|
2020-02-09 22:06:33 +01:00
|
|
|
<a class="list-group-item list-group-item-action" href="/admin/ldap/{{.BaseDN}}">Explorateur LDAP</a>
|
2020-02-09 17:52:48 +01:00
|
|
|
</div>
|
2020-02-09 16:46:26 +01:00
|
|
|
</div>
|
2020-02-09 17:52:48 +01:00
|
|
|
{{end}}
|
2020-02-09 16:19:55 +01:00
|
|
|
|
|
|
|
{{end}}
|