guichet/templates/home.html

89 lines
3.1 KiB
HTML
Raw Normal View History

2023-07-23 14:56:16 +00:00
{{define "title"}}Home {{end}}
2023-07-23 15:14:32 +00:00
{{define "admenu"}}
{{if .Login.CanAdmin}}
2023-07-24 08:36:34 +00:00
<li><a href="#">Administration</a>
2023-07-23 15:14:32 +00:00
<ul class="submenu">
2023-07-24 08:36:34 +00:00
<li><a href="/admin/activate">Administrer LDAP</a>
2023-07-23 15:14:32 +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}}
<li><a href="/logout">Se déconnecter</a></li>
{{else}}
2023-07-24 08:40:41 +00:00
<li><a href="#">Se connecter</a>
2023-07-23 15:14:32 +00:00
<ul class="submenu">
<li><a href="/">Se connecter</a></li>
<li><a href="/gpas">Mal de passe oublié</a></li>
<li><a href="/invite/new_account">S'enregistrer</a></li>
</ul>
</li>
{{end}}
{{end}}
2020-02-09 15:19:55 +00:00
{{define "body"}}
2020-02-09 18:56:01 +00:00
<div class="alert alert-info">
2020-02-14 20:58:34 +00:00
Bienvenue, <strong>{{ .Login.WelcomeName }}</strong> !
2020-02-09 16:47:36 +00:00
</div>
2020-02-09 15:46:26 +00:00
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>
2023-07-18 13:40:01 +00:00
<!--
2023-04-18 17:37:51 +00:00
<a class="list-group-item list-group-item-action" href="/directory">Annuaire</a>
2023-07-18 13:40:01 +00:00
-->
2023-07-19 05:54:28 +00:00
<a class="list-group-item list-group-item-action" href="/SOGo">Accéder à mes courriels, mon agenda et à mes contacts</a>
2023-07-18 14:09:10 +00:00
<a class="list-group-item list-group-item-action" href="https://www.lesgrandsvoisins.com/resdigita">Accéder au numérique des Grands Voisins .com</a>
2023-07-18 13:40:01 +00:00
</div>
2023-04-18 17:37:51 +00:00
</div>
</div>
2023-07-17 08:19:01 +00:00
<!--
2023-04-18 17:37:51 +00:00
<div class="mt-3">
<div class="card">
<div class="card-header">
Garage
</div>
<div class="list-group list-group-flush">
<a class="list-group-item list-group-item-action" href="/garage/key">Mes identifiants</a>
<a class="list-group-item list-group-item-action" href="/garage/website">Mes sites webs</a>
</div>
</div>
2020-02-09 16:35:16 +00:00
</div>
2023-07-17 08:19:01 +00:00
-->
2020-02-14 17:57:25 +00:00
{{if .Login.CanInvite}}
<div class="card mt-3">
<div class="card-header">
2023-07-18 13:40:01 +00:00
Inviter des gens sur {{.Org}}
2020-02-14 17:57:25 +00:00
</div>
<div class="list-group list-group-flush">
2023-07-20 11:46:32 +00:00
<!-- <a class="list-group-item list-group-item-action" href="/invite/send_code">Envoyer un code d'invitation</a> -->
2020-02-14 17:57:25 +00:00
<a class="list-group-item list-group-item-action" href="/invite/new_account">Créer un nouveau compte directement</a>
</div>
</div>
{{end}}
2020-02-11 23:13:24 +00:00
{{if .Login.CanAdmin}}
<div class="card mt-3">
<div class="card-header">
Administration
</div>
<div class="list-group list-group-flush">
2023-07-21 05:43:59 +00:00
<a class="list-group-item list-group-item-action" href="/admin/activate">Activer des Utilisateur·ices</a>
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}}