From 2e8d6ed18a70f7d09af5fadb13ec5f0bc0e267ee Mon Sep 17 00:00:00 2001 From: AlineRinquin Date: Sat, 5 Mar 2022 13:32:15 +0100 Subject: [PATCH] bakground color side bar essai alert pas fini cursor pointer --- .../fiche-contact/fiche-contact.component.ts | 7 ++- .../page-ajout-contact.component.html | 49 +------------------ .../page-modifier-contact.component.html | 2 +- .../page-repertoire.component.html | 10 +++- .../page-repertoire.component.scss | 4 ++ .../page-repertoire.component.ts | 17 ++++++- 6 files changed, 35 insertions(+), 54 deletions(-) diff --git a/src/app/components/fiche-contact/fiche-contact.component.ts b/src/app/components/fiche-contact/fiche-contact.component.ts index 2d99fde..6082f9f 100644 --- a/src/app/components/fiche-contact/fiche-contact.component.ts +++ b/src/app/components/fiche-contact/fiche-contact.component.ts @@ -10,10 +10,14 @@ export class FicheContactComponent implements OnInit { @Input() personne: any; @Output() clickDelete = new EventEmitter(); parent: boolean; + isShow: boolean; + alert:any; constructor(private tokenService: TokenService) { this.parent = false; + this.isShow = false; + this.alert = ""; } ngOnInit(): void { @@ -26,7 +30,8 @@ export class FicheContactComponent implements OnInit { // supprime le contact onClickDelete(numPerson: number){ - window.alert("Le contact à bien été supprimé!") + this.alert={"type":"succes", "content":"le contact a été supprimé mother fucker!!!!!!!!!"}; + this.isShow = true; this.clickDelete.emit(numPerson); } } 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 dc09392..731c7ca 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 @@ -1,7 +1,7 @@
- +

Ajouter un contact

@@ -87,53 +87,6 @@
-
- - -
-
- - -
- -
- - -
- -
- - -
-