diff --git a/connexion/page_de_connexion.html b/connexion/page_de_connexion.html new file mode 100644 index 0000000..be0b9b6 --- /dev/null +++ b/connexion/page_de_connexion.html @@ -0,0 +1,47 @@ + + + + + + Connexion Admin + + + + +
+
+

Connexion Admin

+ + +
+
+ + +
+ + + + +
+
+
+ + + + \ No newline at end of file diff --git a/mot_de_passe_oublie/mot_de_passe_oublie.html b/mot_de_passe_oublie/mot_de_passe_oublie.html new file mode 100644 index 0000000..1f8107a --- /dev/null +++ b/mot_de_passe_oublie/mot_de_passe_oublie.html @@ -0,0 +1,44 @@ + + + + + + Mot de passe oublié + + + + + +
+
+

Mot de passe oublié

+ +
+
+ + +
+ + + + +
+
+
+ + + \ No newline at end of file diff --git a/reinitialisation_mot_de_passe/reinitialisation_du_mot_de_passe.js b/reinitialisation_mot_de_passe/reinitialisation_du_mot_de_passe.js new file mode 100644 index 0000000..07f58ca --- /dev/null +++ b/reinitialisation_mot_de_passe/reinitialisation_du_mot_de_passe.js @@ -0,0 +1,19 @@ + +const form= document.getElementById('resetForm'); +const password = document.getElementById('password'); +const confirmPassword = document.getElementById('confirmPassword'); +const errorMsg = document.getElementById('errorMsg'); +const successMsg = document.getElementById('successMsg'); + +form.addEventListener('submit', function(e) { + e.preventDefault(); + + if (password.value !== confirmPassword.value) { + errorMsg.style.display = 'block'; + successMsg.style.display = 'none'; + } else { + errorMsg.style.display = 'none'; + successMsg.style.display = 'block'; + console.log('SUCCES'); + } +}); \ No newline at end of file diff --git a/reinitialisation_mot_de_passe/reinitialisation_mot_de_passe.html b/reinitialisation_mot_de_passe/reinitialisation_mot_de_passe.html new file mode 100644 index 0000000..0ce7f33 --- /dev/null +++ b/reinitialisation_mot_de_passe/reinitialisation_mot_de_passe.html @@ -0,0 +1,80 @@ + + + + + + Réinitialisation du mot de passe + + + + + +
+
+

Nouveau mot de passe

+

+ Entrez votre nouveau mot de passe et confirmez-le. +

+ +
+
+ + +
+ +
+ + +
+ + + + + + +
+
+
+ + + +