From 6297981c3bf01f94566ad76dc25b3b76c9c32029 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 9 Feb 2020 17:35:16 +0100 Subject: Profile modify --- templates/home.html | 25 ++++++++++++++++++++----- templates/profile.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 templates/profile.html (limited to 'templates') diff --git a/templates/home.html b/templates/home.html index 6a11af3..563e30a 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,17 +1,32 @@ -{{define "title"}}Guichet{{end}} +{{define "title"}}{{end}} {{define "body"}}
- Bienvenue, {{ .Username }} ! +
+ Bienvenue, {{ .UserEntry.GetAttributeValue "givenname" }} ! + Se déconnecter +
- Gérer mon compte + Mon compte +
+ +
+ +
+
+ Administration
diff --git a/templates/profile.html b/templates/profile.html new file mode 100644 index 0000000..24556fa --- /dev/null +++ b/templates/profile.html @@ -0,0 +1,45 @@ +{{define "title"}}Profile |{{end}} + +{{define "body"}} +

Modifier mon profil

+ +
+ {{if .ErrorMessage}} +
Impossible de se connecter. +
{{ .ErrorMessage }}
+
+ {{end}} + {{if .Success}} +
+
+ Profil enregistré. + Retour +
+
+ {{end}} +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + Annuler +
+
+{{end}} -- cgit v1.2.3