main file changes by bala

This commit is contained in:
gayathri1990 2018-07-30 19:12:49 +05:30
parent ce14044ed2
commit 75b830bc45
7 changed files with 141 additions and 3 deletions

View File

@ -8,6 +8,7 @@ import { LocationStrategy, HashLocationStrategy } from '@angular/common';
import { StatusModule } from './views/status/status.module';
import { EntrollmentModule } from './views/entrollment/entrollment.module';
import { StudymaterialModule } from './views/studymaterial/studymaterial.module';
import { AppComponent } from './app.component';
@ -74,7 +75,8 @@ import { ChartsModule } from 'ng2-charts/ng2-charts';
TooltipModule.forRoot(),
ChartsModule,
StatusModule,
EntrollmentModule
EntrollmentModule,
StudymaterialModule
],
declarations: [
AppComponent,

View File

@ -51,6 +51,10 @@ export const routes: Routes = [
{
path: 'entrollment',
loadChildren: './views/entrollment/entrollment.module#EntrollmentModule'
},
{
path: 'studymaterial',
loadChildren: './views/studymaterial/studymaterial.module#StudymaterialModule'
}
]
},

View File

@ -54,6 +54,37 @@ export class AppSidebar {
name: 'Form List Master',
url: '/masters/formList',
icon: 'fa fa-language'
},
{
name: 'University Master',
url: '/masters/UniversityMaster',
icon: 'fa fa-language'
},
{
name: 'Batch Master',
url: '/masters/BatchMaster',
icon: 'fa fa-language'
},
{
name: 'Document Master',
url: '/masters/DocumentMaster',
icon: 'fa fa-language'
},
{
name: 'Fees Master',
url: '/masters/FeesMaster',
icon: 'fa fa-language'
},
{
name: 'Form Master',
url: '/masters/FormMaster',
icon: 'fa fa-language'
},
{
name: 'Exam Timetable',
url: '/masters/ExamTimetable',
icon: 'fa fa-language'
}
]
},{
@ -81,6 +112,11 @@ export class AppSidebar {
name: 'Documents',
url: '/status/documents',
icon: 'fa fa-file-pdf-o'
},
{
name: 'PaymentDetails',
url: '/status/paymentdetails',
icon: 'fa fa-user-secret'
}
]
},{
@ -93,6 +129,21 @@ export class AppSidebar {
icon: 'fa fa-user'
}
]
},{
name: 'Study Material',
icon: 'fa fa-gear',
children: [
{
name: 'ReceivedMaterial',
url: '/studymaterial/receivedmaterial',
icon: 'fa fa-user-secret'
},
{
name: 'AllocateMaterial',
url: '/studymaterial/allocatematerial',
icon: 'fa fa-user-secret'
}
]
}
];
}

View File

@ -5,6 +5,13 @@ import { EmployeeComponent } from './employee/employee.component';
import { RoleComponent } from './role/role.component';
import { StudyCenterComponent } from './study-center/study-center.component';
import { FormListComponent } from './form-list/form-list.component';
import { UniversityMasterComponent } from './university-master/university-master.component';
import { BatchMasterComponent } from './batch-master/batch-master.component';
import { DocumentMasterComponent } from './document-master/document-master.component';
import { FeesMasterComponent } from './fees-master/fees-master.component';
import { FormMasterComponent } from './form-master/form-master.component';
import { ExamtimeTableComponent } from './examtime-table/examtime-table.component';
import { StudyMaterialComponent } from './study-material/study-material.component';
const routes: Routes = [
{
path: '',
@ -40,6 +47,49 @@ const routes: Routes = [
title: 'Form List'
}
}
,
{
path: 'UniversityMaster',
component: UniversityMasterComponent,
data: {
title: 'University Master'
}
},
{
path: 'BatchMaster',
component: BatchMasterComponent,
data: {
title: 'Batch Master'
}
},
{
path: 'DocumentMaster',
component: DocumentMasterComponent,
data: {
title: 'Document Master'
}
},
{
path: 'FeesMaster',
component: FeesMasterComponent,
data: {
title: 'Fees Master'
}
},
{
path: 'FormMaster',
component: FormMasterComponent,
data: {
title: 'Form Master'
}
},
{
path: 'ExamTimetable',
component: ExamtimeTableComponent,
data: {
title: 'Exam Timetable'
}
}
]
}
];

View File

@ -19,6 +19,19 @@ import { EditEmployeeComponent } from './employee/edit-employee/edit-employee.co
// Study Center
import { StudyCenterComponent } from './study-center/study-center.component';
import { EditStudyCenterComponent } from './study-center/edit-study-center/edit-study-center.component';
//University
import { UniversityMasterComponent } from './university-master/university-master.component';
//Batch
import { BatchMasterComponent } from './batch-master/batch-master.component';
//Document
import { DocumentMasterComponent } from './document-master/document-master.component';
//Fees
import { FeesMasterComponent } from './fees-master/fees-master.component';
//Form
import { FormMasterComponent } from './form-master/form-master.component';
//Study
import { StudyMaterialComponent } from './study-material/study-material.component';
import { ExamtimeTableComponent } from './examtime-table/examtime-table.component';
// Form list
import { FormListComponent } from './form-list/form-list.component';
@ -38,7 +51,14 @@ import { FormListComponent } from './form-list/form-list.component';
EditEmployeeComponent,
StudyCenterComponent,
EditStudyCenterComponent,
FormListComponent
FormListComponent,
UniversityMasterComponent,
BatchMasterComponent,
DocumentMasterComponent,
FeesMasterComponent,
FormMasterComponent,
StudyMaterialComponent,
ExamtimeTableComponent
]
})
export class MastersModule { }

View File

@ -6,6 +6,7 @@ import { StudyMaterialComponent } from './study-material/study-material.componen
import { DocumentsComponent } from './documents/documents.component';
import { AnswerBookletComponent } from './answer-booklet/answer-booklet.component';
import { CourierComponent } from './courier/courier.component';
import { PaymentdetailsComponent } from './paymentdetails/paymentdetails.component';
const routes: Routes = [
{
@ -44,6 +45,13 @@ const routes: Routes = [
data: {
title: 'Documents'
}
}
,{
path: 'paymentdetails',
component: PaymentdetailsComponent,
data: {
title: 'Paymentdetails'
}
}
]
}

View File

@ -20,6 +20,8 @@ import { AnswerBookletComponent } from './answer-booklet/answer-booklet.componen
import { EditAnswerBookletComponent } from './answer-booklet/edit-answer-booklet/edit-answer-booklet.component';
//courier
import { CourierComponent } from './courier/courier.component';
//paymentdetails
import { PaymentdetailsComponent } from './paymentdetails/paymentdetails.component';
@NgModule({
imports: [
@ -37,7 +39,8 @@ import { CourierComponent } from './courier/courier.component';
EditDocumentsComponent,
AnswerBookletComponent,
EditAnswerBookletComponent,
CourierComponent
CourierComponent,
PaymentdetailsComponent
]
})
export class StatusModule { }