guichet/templates/home.html

62 lines
2 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 18:56:01 +00:00
<div class="alert alert-info">
2023-09-25 13:57:59 +00:00
Bienvenue, <strong>{{ .User.WelcomeName }}</strong> !
2020-02-09 16:47:36 +00:00
</div>
<div class="d-flex">
<a class="ml-auto btn btn-sm btn-dark" href="/logout">Se déconnecter</a>
2020-02-09 15:46:26 +00:00
</div>
2023-04-18 17:37:51 +00:00
<div class="mt-3">
<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="/directory">Annuaire</a>
</div>
</div>
</div>
<div class="mt-3">
<div class="card">
<div class="card-header">
2024-06-24 06:44:22 +00:00
Mes services
2023-04-18 17:37:51 +00:00
</div>
<div class="list-group list-group-flush">
2023-09-25 21:00:57 +00:00
<a class="list-group-item list-group-item-action" href="/website">Mes sites Web</a>
2023-04-18 17:37:51 +00:00
</div>
</div>
2020-02-09 16:35:16 +00:00
</div>
2023-09-25 13:57:59 +00:00
{{if .User.Capabilities.CanInvite}}
2020-02-14 17:57:25 +00:00
<div class="card mt-3">
<div class="card-header">
Inviter des gens sur Deuxfleurs
</div>
<div class="list-group list-group-flush">
<a class="list-group-item list-group-item-action" href="/invite/send_code">Envoyer un code d'invitation</a>
<a class="list-group-item list-group-item-action" href="/invite/new_account">Créer un nouveau compte directement</a>
</div>
</div>
{{end}}
2023-09-25 13:57:59 +00:00
{{if .User.Capabilities.CanAdmin}}
<div class="card mt-3">
<div class="card-header">
Administration
</div>
<div class="list-group list-group-flush">
2022-07-19 08:35:14 +00:00
<a class="list-group-item list-group-item-action" href="/admin/users">Utilisateur·ices</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/mailing">Mailing lists</a>
2020-02-09 21:06:33 +00:00
<a class="list-group-item list-group-item-action" href="/admin/ldap/{{.BaseDN}}">Explorateur LDAP</a>
</div>
2020-02-09 15:46:26 +00:00
</div>
{{end}}
2020-02-09 15:19:55 +00:00
{{end}}