From a881b6cee62c80690952367665a2749967fc9242 Mon Sep 17 00:00:00 2001 From: AlineRinquin Date: Tue, 15 Feb 2022 15:37:22 +0100 Subject: [PATCH] ajout couleur --- src/app/models/contact.ts | 1 + .../page-ajout-contact.component.html | 8 ++- .../page-ajout-contact.component.scss | 47 +++++++++++++-- .../page-ajout-contact.component.ts | 4 +- .../page-modifier-contact.component.ts | 4 +- .../page-repertoire.component.html | 59 +++++++++++-------- .../page-repertoire.component.scss | 11 +++- 7 files changed, 98 insertions(+), 36 deletions(-) diff --git a/src/app/models/contact.ts b/src/app/models/contact.ts index 539aab3..cee4c52 100644 --- a/src/app/models/contact.ts +++ b/src/app/models/contact.ts @@ -1,5 +1,6 @@ export interface Contact { id: string; + couleur: string; nom: string; prenom: string; telephone: string; diff --git a/src/app/pages/page-ajout-contact/page-ajout-contact.component.html b/src/app/pages/page-ajout-contact/page-ajout-contact.component.html index 981a9c2..859ee3c 100644 --- a/src/app/pages/page-ajout-contact/page-ajout-contact.component.html +++ b/src/app/pages/page-ajout-contact/page-ajout-contact.component.html @@ -3,10 +3,14 @@
+

Ajouter un contact

-

Ajouter un contact

- + +
+ +
- +
+
+ +
-
- +
+
+ - + -
- +
+ + +
+
+
+

Liste des Contacts

+
+ +
+
+
+ +

{{ personne.prenom }} {{ personne.nom }}

+
+
-
+
+ +
+
+
- -
- -

{{ personne.prenom }} {{ personne.nom }}

-
-
- -
+
\ No newline at end of file diff --git a/src/app/pages/page-repertoire/page-repertoire.component.scss b/src/app/pages/page-repertoire/page-repertoire.component.scss index 6634178..efd2ffb 100644 --- a/src/app/pages/page-repertoire/page-repertoire.component.scss +++ b/src/app/pages/page-repertoire/page-repertoire.component.scss @@ -7,9 +7,16 @@ margin: auto; } -.input-group mb-3 { - width: 100%; +.input-group.mb-3 { + width: 50%; max-width: 330px; padding: 15px; margin: auto; + display: flex; + flex-direction: row; } + +;h4 { + color: black; + font-weight: bold; +} \ No newline at end of file