+
+
+
+
+
+
+
+
+
+
Utilisateur
@@ -128,7 +150,12 @@
Pseudo
-
+
+
+
+
+ Mot de passe
+
diff --git a/web/js/library.js b/web/js/library.js
index 739aff5..d46f51f 100644
--- a/web/js/library.js
+++ b/web/js/library.js
@@ -27,6 +27,19 @@ function signOut(){
});
}
+function closeButton(){
+ var btnclose = document.getElementsByClassName("btn-close");
+ for (var i = 0; i 0){
@@ -98,7 +99,58 @@ if(id.length > 0){
});
-
+
+ document.getElementById("updateUserButton").addEventListener("click", function(){
+ var updateProfil = ["id", "pseudo", "email", "firstName", "birth"];
+ var updateOk = true;
+ for (var i=0; i