From fe2d539812c31005242697b083f5525280a9cfc0 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Mon, 28 Aug 2017 08:58:35 +0200 Subject: [PATCH] Use ng2-materialize in schedule module. --- src/scheduler/schedule.module.ts | 4 +++- src/scheduler/scheduleList.component.ts | 4 ++-- src/scheduler/scheduleRow.component.ts | 26 ++++++++++++------------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/scheduler/schedule.module.ts b/src/scheduler/schedule.module.ts index a6b980f..4e3bb10 100644 --- a/src/scheduler/schedule.module.ts +++ b/src/scheduler/schedule.module.ts @@ -10,6 +10,7 @@ import { NgLoggerModule, Level } from '@nsalaun/ng-logger'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { ToastrModule } from 'ngx-toastr'; import { TextMaskModule } from 'angular2-text-mask'; +import { MaterializeModule } from 'ng2-materialize'; import { ScheduleService } from './schedule.service'; import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component'; @@ -30,7 +31,8 @@ import { ScheduleListState } from './schedule.states'; NgLoggerModule, ToastrModule, NgbModule, - TextMaskModule + TextMaskModule, + MaterializeModule, ], providers: [ ScheduleService, diff --git a/src/scheduler/scheduleList.component.ts b/src/scheduler/scheduleList.component.ts index 3a1ba83..73f2073 100644 --- a/src/scheduler/scheduleList.component.ts +++ b/src/scheduler/scheduleList.component.ts @@ -16,7 +16,7 @@ import { Schedule } from './schedule'; selector: 'schedule-list', template: `
- +
@@ -33,7 +33,7 @@ import { Schedule } from './schedule'; diff --git a/src/scheduler/scheduleRow.component.ts b/src/scheduler/scheduleRow.component.ts index b26cfef..bef661d 100644 --- a/src/scheduler/scheduleRow.component.ts +++ b/src/scheduler/scheduleRow.component.ts @@ -33,21 +33,19 @@ import { Schedule } from './schedule'; ` })
Date de début
- {{ schedule.category }} -
- - + + - - -
+ +