From 6a2ddf7fad6947c5f467ff24abf8d7391fb4944d Mon Sep 17 00:00:00 2001 From: AlineRinquin Date: Fri, 4 Mar 2022 16:17:28 +0100 Subject: [PATCH] dasboard css et update contact ngmodel --- .../card-avatar/card-avatar.component.html | 23 ++++++----- .../card-avatar/card-avatar.component.scss | 18 ++++----- .../page-dashboard.component.html | 39 +++++++++++-------- .../page-dashboard.component.scss | 35 +---------------- .../page-modifier-contact.component.html | 24 ++++++------ 5 files changed, 56 insertions(+), 83 deletions(-) diff --git a/src/app/components/card-avatar/card-avatar.component.html b/src/app/components/card-avatar/card-avatar.component.html index 4591621..d6969cb 100644 --- a/src/app/components/card-avatar/card-avatar.component.html +++ b/src/app/components/card-avatar/card-avatar.component.html @@ -1,13 +1,12 @@ -
-
-
-
- -
-
-

{{membre.prenom }} {{membre.nom }}

-
-
-
+
+ +
+
+
-
+ +
+
{{membre.prenom }} {{membre.nom }}
+
+ +
\ No newline at end of file diff --git a/src/app/components/card-avatar/card-avatar.component.scss b/src/app/components/card-avatar/card-avatar.component.scss index 91c7e56..86d9570 100644 --- a/src/app/components/card-avatar/card-avatar.component.scss +++ b/src/app/components/card-avatar/card-avatar.component.scss @@ -3,18 +3,14 @@ height: 60px; margin: 0 auto; background: black; - } -.card { - min-height: 8px; - border: none; - overflow: hidden; - border-radius: 8px; - justify-content: center; +.card-title{ + text-align: center; } - -h3 { - font-size: small; -} +.avatar{ + width: 150px; + height: 170px; + border-radius: 20px; +} \ No newline at end of file diff --git a/src/app/pages/page-dashboard/page-dashboard.component.html b/src/app/pages/page-dashboard/page-dashboard.component.html index 95545c6..6d627bb 100644 --- a/src/app/pages/page-dashboard/page-dashboard.component.html +++ b/src/app/pages/page-dashboard/page-dashboard.component.html @@ -2,30 +2,37 @@
-
-

Bienvenue {{ conectedUser.prenom }}!!

-
-
-
- -
-
- A venir +
+ +
+

Bienvenue {{ conectedUser.prenom }}!!

-
-
-
+
+ +
+
+ +
+
+ +
+ A venir +
+
-
-
- +
+
    +
  • + +
  • +
-
+
diff --git a/src/app/pages/page-dashboard/page-dashboard.component.scss b/src/app/pages/page-dashboard/page-dashboard.component.scss index d2d8bff..ba266b3 100644 --- a/src/app/pages/page-dashboard/page-dashboard.component.scss +++ b/src/app/pages/page-dashboard/page-dashboard.component.scss @@ -11,40 +11,9 @@ } .container { - display: flex; - padding: 20px; - -} - -button{ - margin-bottom: 5px; -} - -.calendrier{ - align-content: flex-end; -} - -#boxFour{ - height: 150px; - margin-top: -99px; - width: fit-content; -} - -#boxThree{ - margin-top: -85px; - height: 150px; - width: fit-content; -} - -#boxTwo{ - margin-top: 50px; - margin-left: 150px; - height: 50%; - width: fit-content; +margin-left:200px; } .avatar{ - margin-top: -50px; - justify-content: space-between; - margin: 0; + margin:O; } \ No newline at end of file diff --git a/src/app/pages/page-modifier-contact/page-modifier-contact.component.html b/src/app/pages/page-modifier-contact/page-modifier-contact.component.html index f518f82..9a52750 100644 --- a/src/app/pages/page-modifier-contact/page-modifier-contact.component.html +++ b/src/app/pages/page-modifier-contact/page-modifier-contact.component.html @@ -20,10 +20,10 @@ id="floatingInputlastName" placeholder="" name="lastName" - formControlName="lastNameFc" value= "{{ listContactInfo.nom }}"> + formControlName="lastNameFc" value= "{{ listContactInfo.nom }}" + [(ngModel)]="listContactInfo.nom"> -
+ formControlName="firstNameFc" value= "{{ listContactInfo.prenom }}" + [(ngModel)]="listContactInfo.prenom"> -
+ formControlName="telephoneFc" value= "{{ listContactInfo.telephone }}" + [(ngModel)]="listContactInfo.telephone"> -
+ formControlName="emailFc" value= "{{ listContactInfo.email }}" + [(ngModel)]="listContactInfo.email">
-
+ formControlName="dateNaissanceFc" + value= "{{ listContactInfo.dateNaissance }}" + [(ngModel)]="listContactInfo.dateNaissance">
-
+ formControlName="adresseFc" value= "{{ listContactInfo.adresse }}" + [(ngModel)]="listContactInfo.adresse">