From 6d5dba229d6f5e156961f42096c6e42075f6072a Mon Sep 17 00:00:00 2001 From: dineshkumarkannan Date: Thu, 2 Aug 2018 10:57:26 +0530 Subject: [PATCH] add routing details , changer courier details : kdk --- src/app/app.module.ts | 6 +- src/app/app.routing.ts | 10 +- .../app-sidebar/app-sidebar.component.html | 6 + .../views/courier/courier-routing.module.ts | 19 ++ src/app/views/courier/courier.module.ts | 27 +++ .../courier/courier/courier.component.html | 134 ++++++++++++ .../courier/courier/courier.component.scss | 6 + .../courier/courier/courier.component.ts | 66 ++++++ .../study-material-routing.module.ts | 19 ++ .../study-material/study-material.module.ts | 27 +++ .../study-material.component.html | 199 ++++++++++++++++++ .../study-material.component.scss | 0 .../study-material.component.ts | 50 +++++ 13 files changed, 567 insertions(+), 2 deletions(-) create mode 100644 src/app/views/courier/courier-routing.module.ts create mode 100644 src/app/views/courier/courier.module.ts create mode 100644 src/app/views/courier/courier/courier.component.html create mode 100644 src/app/views/courier/courier/courier.component.scss create mode 100644 src/app/views/courier/courier/courier.component.ts create mode 100644 src/app/views/study-material/study-material-routing.module.ts create mode 100644 src/app/views/study-material/study-material.module.ts create mode 100644 src/app/views/study-material/study-material/study-material.component.html create mode 100644 src/app/views/study-material/study-material/study-material.component.scss create mode 100644 src/app/views/study-material/study-material/study-material.component.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index fb6681f..0c26a44 100755 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -6,6 +6,8 @@ import { AppComponent } from './app.component'; import { StatusModule } from './views/status/status.module'; import { EnrolmentModule } from './views/enrolment/enrolment.module'; +import { CourierModule } from './views/courier/courier.module'; +import { StudyMaterialModule } from './views/study-material/study-material.module'; // Import containers import { @@ -65,7 +67,9 @@ import { ChartsModule } from 'ng2-charts/ng2-charts'; TooltipModule.forRoot(), ChartsModule, StatusModule, - EnrolmentModule + EnrolmentModule, + CourierModule, + StudyMaterialModule ], declarations: [ AppComponent, diff --git a/src/app/app.routing.ts b/src/app/app.routing.ts index ded1274..cb76aea 100755 --- a/src/app/app.routing.ts +++ b/src/app/app.routing.ts @@ -58,7 +58,15 @@ export const routes: Routes = [ }, { path: 'paymentdetails', - loadChildren: './views/payment-details/payment-details.module#PaymentDetailsModule', }, + loadChildren: './views/payment-details/payment-details.module#PaymentDetailsModule', + },{ + path: 'studyMaterial', + loadChildren: './views/study-material/study-material.module#StudyMaterialModule' + }, + { + path: 'courier', + loadChildren: './views/courier/courier.module#CourierModule' + }, ] }, { diff --git a/src/app/components/app-sidebar/app-sidebar.component.html b/src/app/components/app-sidebar/app-sidebar.component.html index 3ec209f..5302374 100755 --- a/src/app/components/app-sidebar/app-sidebar.component.html +++ b/src/app/components/app-sidebar/app-sidebar.component.html @@ -88,6 +88,12 @@ + +