- Modifier mot de passe:
-
+
-
-
-
-
- Nouveau mot de passe
-
-
-
-
-
- Confirmation nouveau mot de passe
-
-
-
-
-
-
-
-
-
-
-
{{errorMessage}}
+
+
-
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/app/user/myProfil/popup-update-user/popup-update-user.component.scss b/src/app/user/myProfil/popup-update-user/popup-update-user.component.scss
index 8db0898..636928e 100644
--- a/src/app/user/myProfil/popup-update-user/popup-update-user.component.scss
+++ b/src/app/user/myProfil/popup-update-user/popup-update-user.component.scss
@@ -1,4 +1,4 @@
-.boite {
+.myContainer {
font-size: small;
}
@@ -15,6 +15,42 @@ img {
font-size: xxx-large;
}
+.inputUrlImage {
+ width: 80%;
+ text-align: center;
+ margin-left: 10%;
+ margin-right: 10%;
+ font-size: small;
+ border-radius: 5px;
+}
+
+input {
+ font-size: small;
+}
+
+// -------------------------------------------------------------------------
+
+.myRow {
+ margin: 15px 0px 15px 0px;
+}
+.myLeftLabel {
+ text-align: right;
+ padding: 0px 0px 0px 0px;
+ margin: 0px 0px 0px 0px;
+ font-weight: bold;
+}
+.myRightLabel {
+ text-align: left;
+ padding: 0px 0px 0px 0px;
+ margin: 0px 0px 0px 0px;
+ font-weight: bold;
+}
+.myValue {
+ text-align: left;
+ padding: 0px 0px 0px 0px;
+ margin: 0px 0px 0px 0px;
+}
+
// -------------------------------------------------------------------------
// aura
diff --git a/src/app/user/myProfil/popup-update-user/popup-update-user.component.ts b/src/app/user/myProfil/popup-update-user/popup-update-user.component.ts
index 38980e9..a971cfc 100644
--- a/src/app/user/myProfil/popup-update-user/popup-update-user.component.ts
+++ b/src/app/user/myProfil/popup-update-user/popup-update-user.component.ts
@@ -67,15 +67,15 @@ export class PopupUpdateUserComponent implements OnInit
checkField()
{
if(this.userCopy.login.length === 0) {
- this.errorMessage = "Veuillez remplir le champ 'login'" ;
+ this.errorMessage = "Veuillez remplir le champ 'login'." ;
this.hasError = true;
}
else if(this.userCopy.mail.length === 0) {
- this.errorMessage = "Veuillez remplir le champ 'email'" ;
+ this.errorMessage = "Veuillez remplir le champ 'email'." ;
this.hasError = true;
}
else if(!this.isValidEmail(this.userCopy.mail)) {
- this.errorMessage = "Email invalide" ;
+ this.errorMessage = "Email invalide." ;
this.hasError = true;
}
else if((this.userCopy.dateOfBirth === undefined) || (this.userCopy.dateOfBirth === null)) {
@@ -84,10 +84,10 @@ export class PopupUpdateUserComponent implements OnInit
}
else if(this.changePassword) {
if (this.newPassword.length === 0) {
- this.errorMessage = "Veuillez remplir le champ 'mot de passe'" ;
+ this.errorMessage = "Veuillez remplir le champ 'mot de passe'." ;
this.hasError = true;
} else if (this.newPassword !== this.confirmNewPassword) {
- this.errorMessage = "Le mot de passe est différent de sa confirmation" ;
+ this.errorMessage = "Le mot de passe est différent de sa confirmation." ;
this.hasError = true;
}
}