+appmodule - humeur
This commit is contained in:
parent
9b3c02f6c1
commit
e7b153e1a0
103
src/app/app.module.ts
Normal file
103
src/app/app.module.ts
Normal file
@ -0,0 +1,103 @@
|
||||
import { NgModule, LOCALE_ID } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
import { AppComponent } from './app.component';
|
||||
import { PageAccueilComponent } from './pages/page-accueil/page-accueil.component';
|
||||
import { PageNotFoundComponent } from './pages/page-not-found/page-not-found.component';
|
||||
import { PageAgendaComponent } from './pages/page-agenda/page-agenda.component';
|
||||
import { PageToDoListComponent } from './pages/page-to-do-list/page-to-do-list.component';
|
||||
import { PageRepertoireComponent } from './pages/page-repertoire/page-repertoire.component';
|
||||
import { PageMenuSemaineComponent } from './pages/page-menu-semaine/page-menu-semaine.component';
|
||||
import { HeaderComponent } from './components/header/header.component';
|
||||
import { SideBarComponent } from './components/side-bar/side-bar.component';
|
||||
import { PageAccountComponent } from './pages/page-account/page-account.component';
|
||||
import { PageSignupComponent } from './pages/page-signup/page-signup.component';
|
||||
import { PageForgotPasswordComponent } from './pages/page-forgot-password/page-forgot-password.component';
|
||||
import { PageResetPasswordComponent } from './pages/page-reset-password/page-reset-password.component';
|
||||
import { PageAddMemberComponent } from './pages/page-add-member/page-add-member.component';
|
||||
import { PageDeleteMemberComponent } from './pages/page-delete-member/page-delete-member.component';
|
||||
import { PageUpdateMemberComponent } from './pages/page-update-member/page-update-member.component';
|
||||
import { SigninComponent } from './components/signin/signin.component';
|
||||
import { PageDashboardComponent } from './pages/page-dashboard/page-dashboard.component';
|
||||
import { MeteoComponent } from './components/meteo/meteo.component';
|
||||
import { CalendrierComponent } from './components/calendrier/calendrier.component';
|
||||
import { CardMemberComponent } from './components/card-member/card-member.component';
|
||||
import { ToDoListComponent } from './components/to-do-list/to-do-list.component';
|
||||
import { TacheComponent } from './components/tache/tache.component';
|
||||
import { CardMenuComponent } from './components/card-menu/card-menu.component';
|
||||
import { FicheContactComponent } from './components/fiche-contact/fiche-contact.component';
|
||||
import { PaginationComponent } from './components/pagination/pagination.component';
|
||||
import { CreneauComponent } from './components/creneau/creneau.component';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
||||
import { PageAjoutContactComponent } from './pages/page-ajout-contact/page-ajout-contact.component';
|
||||
import { PageModifierContactComponent } from './pages/page-modifier-contact/page-modifier-contact.component';
|
||||
import { PageCreationTeamComponent } from './pages/page-creation-team/page-creation-team.component';
|
||||
import { AutofocusFixModule } from 'ngx-autofocus-fix';
|
||||
import { FooterComponent } from './components/footer/footer.component';
|
||||
import { PageDeleteAccountComponent } from './pages/page-delete-account/page-delete-account.component';
|
||||
import { PageUpdateAccountComponent } from './pages/page-update-account/page-update-account.component';
|
||||
import { DayPilot, DayPilotModule } from "@daypilot/daypilot-lite-angular";
|
||||
import { registerLocaleData } from '@angular/common';
|
||||
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';
|
||||
registerLocaleData(localeFr)
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
HeaderComponent,
|
||||
SideBarComponent,
|
||||
PageAccueilComponent,
|
||||
PageNotFoundComponent,
|
||||
PageAgendaComponent,
|
||||
PageMenuSemaineComponent,
|
||||
PageToDoListComponent,
|
||||
PageRepertoireComponent,
|
||||
PageAccountComponent,
|
||||
PageSignupComponent,
|
||||
PageForgotPasswordComponent,
|
||||
PageResetPasswordComponent,
|
||||
PageAddMemberComponent,
|
||||
PageDeleteMemberComponent,
|
||||
PageUpdateMemberComponent,
|
||||
SigninComponent,
|
||||
PageDashboardComponent,
|
||||
MeteoComponent,
|
||||
CalendrierComponent,
|
||||
CardMemberComponent,
|
||||
ToDoListComponent,
|
||||
TacheComponent,
|
||||
CardMenuComponent,
|
||||
FicheContactComponent,
|
||||
PaginationComponent,
|
||||
CreneauComponent,
|
||||
PageAjoutContactComponent,
|
||||
PageModifierContactComponent,
|
||||
PageCreationTeamComponent,
|
||||
FooterComponent,
|
||||
PageDeleteAccountComponent,
|
||||
PageUpdateAccountComponent,
|
||||
CardAvatarComponent,
|
||||
DeconnexionComponent,
|
||||
HumeurComponent
|
||||
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
AppRoutingModule,
|
||||
ReactiveFormsModule,
|
||||
HttpClientModule,
|
||||
FormsModule,
|
||||
AutofocusFixModule.forRoot(),
|
||||
DayPilotModule,
|
||||
],
|
||||
providers: [
|
||||
{provide: LOCALE_ID, useValue: "fr-FR" }
|
||||
|
||||
],
|
||||
bootstrap: [AppComponent],
|
||||
})
|
||||
export class AppModule {}
|
@ -1,22 +0,0 @@
|
||||
|
||||
<body>
|
||||
|
||||
<h2>Mon humeur :</h2>
|
||||
|
||||
|
||||
|
||||
|
||||
<p><img src="{{monHumeurLien}}" *ngIf="monHumeurLien" ></p>
|
||||
|
||||
<p>Je modifie mon avatar :</p>
|
||||
|
||||
|
||||
<div class="humeur" *ngFor="let humor of tabHumeur; let i=index">
|
||||
<img src="{{humor.lien}}" alt="{{humor.title}}" (click)="onChoixHumeur(i)">
|
||||
</div>
|
||||
|
||||
|
||||
<div >
|
||||
|
||||
|
||||
</div> </body>
|
Loading…
Reference in New Issue
Block a user