aboutsummaryrefslogtreecommitdiff
path: root/templates/home.html
blob: 563e30af2c76f884eb2756239d87d893bf157f01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{define "title"}}{{end}}

{{define "body"}}
<div class="alert alert-success">
  <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>
</div>

<div class="card">
  <div class="card-header">
    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
  </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>
    <a class="list-group-item list-group-item-action" href="/admin/ldap">Explorateur LDAP</a>
  </div>
</div>

{{end}}