From 3b4e3b2f8477f04ef11307d8c7305fd9e95c7e16 Mon Sep 17 00:00:00 2001 From: Hedi Date: Tue, 1 Mar 2022 20:58:35 +0100 Subject: [PATCH] component alert pour afficher une alert avec un message --- src/app/app.module.ts | 4 +++- src/app/components/alert/alert.component.html | 2 +- src/app/components/signin/signin.component.html | 5 +++-- src/app/components/signin/signin.component.ts | 5 +++++ src/app/pages/page-agenda/page-agenda.component.html | 6 ++++-- src/app/pages/page-agenda/page-agenda.component.ts | 1 + 6 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 62aab10..2ea2f43 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -43,6 +43,7 @@ import localeFr from '@angular/common/locales/fr'; import { CardAvatarComponent } from './components/card-avatar/card-avatar.component'; import { HumeurComponent } from './components/humeur/humeur.component'; import { DeconnexionComponent } from './components/deconnexion/deconnexion.component'; +import { AlertComponent } from './components/alert/alert.component'; registerLocaleData(localeFr) @NgModule({ @@ -82,7 +83,8 @@ registerLocaleData(localeFr) PageUpdateAccountComponent, CardAvatarComponent, DeconnexionComponent, - HumeurComponent + HumeurComponent, + AlertComponent ], imports: [ BrowserModule, diff --git a/src/app/components/alert/alert.component.html b/src/app/components/alert/alert.component.html index 1f67880..32e0ec5 100644 --- a/src/app/components/alert/alert.component.html +++ b/src/app/components/alert/alert.component.html @@ -1,4 +1,4 @@ -