From 13222204392009e07382eecb908b7e6e01155ec4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 9 Feb 2020 18:28:42 +0100 Subject: User list --- templates/admin_users.html | 27 +++++++++++++++++++++++++++ templates/passwd.html | 2 +- templates/profile.html | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 templates/admin_users.html (limited to 'templates') diff --git a/templates/admin_users.html b/templates/admin_users.html new file mode 100644 index 0000000..8ca80e2 --- /dev/null +++ b/templates/admin_users.html @@ -0,0 +1,27 @@ +{{define "title"}}Liste des utilisateurs |{{end}} + +{{define "body"}} +
+ Retour +
+ + + + + + + + + {{with $root := .}} + {{range $user := $root.Users}} + + + + + + {{end}} + {{end}} + +
{{ .UserNameAttr }}Nom completEmail
{{$user.GetAttributeValue $root.UserNameAttr}}{{$user.GetAttributeValue "displayname"}}{{$user.GetAttributeValue "mail"}}
+ +{{end}} diff --git a/templates/passwd.html b/templates/passwd.html index 7dffcb8..57ae234 100644 --- a/templates/passwd.html +++ b/templates/passwd.html @@ -12,7 +12,7 @@
Nouveau mot de passe enregistré.
- Retour + Retour {{else}}
diff --git a/templates/profile.html b/templates/profile.html index d2ff632..bdab685 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -12,7 +12,7 @@
Profil enregistré.
- Retour + Retour {{else}}
-- cgit v1.2.3