From 3bb1ee8e6ff7ab2ed1ead59a0204b7ee6e6cf7b6 Mon Sep 17 00:00:00 2001 From: "anthony.richard" Date: Sat, 11 Nov 2023 14:01:51 +0100 Subject: [PATCH] vue my account (voir info user + modif password + modif nickname) --- Project/php/templates/manageGroupView.html | 2 +- Project/php/templates/myAccountView.html | 68 ++++++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 Project/php/templates/myAccountView.html diff --git a/Project/php/templates/manageGroupView.html b/Project/php/templates/manageGroupView.html index d459241..4a25490 100644 --- a/Project/php/templates/manageGroupView.html +++ b/Project/php/templates/manageGroupView.html @@ -2,7 +2,7 @@ - Groups + Manage groups diff --git a/Project/php/templates/myAccountView.html b/Project/php/templates/myAccountView.html new file mode 100644 index 0000000..1c15f8a --- /dev/null +++ b/Project/php/templates/myAccountView.html @@ -0,0 +1,68 @@ + + + + + My account + + + + + + + + + + + + + + +
+

My account

+ {% if user is defined %} + + //modifier todo + + + + + + + + + + + +
Image : {{user.image}}
ID : {{user.id}}
Nickname : {{user.nickname}} +
+ + + + +
+
Name : {{user.name}}
Surname : {{user.surname}}
Roles : + {% for role in user.roles %} + {{ role }}{% if not loop.last %} - {% endif %} + {% endfor %}
Email: {{user.email}}
Group : {{user.group}}
Extra Time : {{user.extraTime}}
+
+
+

Modify password

+
+ + + + + + +
+
+ {% endif %} + + \ No newline at end of file