From 3024a6a1721875b076c5b40eb9b796ccf0ce46e7 Mon Sep 17 00:00:00 2001 From: dineshkumarkannan Date: Tue, 31 Jul 2018 14:42:01 +0530 Subject: [PATCH] status, entrollment files added : kdk --- src/app/app.module.ts | 10 +- src/app/app.routing.ts | 8 + .../app-sidebar/app-sidebar.component.html | 25 ++ .../entrollment/entrollment-routing.module.ts | 26 ++ .../views/entrollment/entrollment.module.ts | 27 ++ .../student/student.component.html | 424 ++++++++++++++++++ .../student/student.component.scss | 0 .../entrollment/student/student.component.ts | 57 +++ .../answer-booklet.component.html | 188 ++++++++ .../answer-booklet.component.scss | 7 + .../answer-booklet.component.ts | 57 +++ .../application/application.component.html | 182 ++++++++ .../application/application.component.ts | 50 +++ .../status/courier/courier.component.html | 202 +++++++++ .../status/courier/courier.component.scss | 0 .../views/status/courier/courier.component.ts | 63 +++ src/app/views/status/status-routing.module.ts | 51 +++ src/app/views/status/status.module.ts | 36 ++ .../study-material.component.html | 151 +++++++ .../study-material.component.ts | 50 +++ 20 files changed, 1613 insertions(+), 1 deletion(-) create mode 100644 src/app/views/entrollment/entrollment-routing.module.ts create mode 100644 src/app/views/entrollment/entrollment.module.ts create mode 100644 src/app/views/entrollment/student/student.component.html create mode 100644 src/app/views/entrollment/student/student.component.scss create mode 100644 src/app/views/entrollment/student/student.component.ts create mode 100644 src/app/views/status/answer-booklet/answer-booklet.component.html create mode 100644 src/app/views/status/answer-booklet/answer-booklet.component.scss create mode 100644 src/app/views/status/answer-booklet/answer-booklet.component.ts create mode 100644 src/app/views/status/application/application.component.html create mode 100644 src/app/views/status/application/application.component.ts create mode 100644 src/app/views/status/courier/courier.component.html create mode 100644 src/app/views/status/courier/courier.component.scss create mode 100644 src/app/views/status/courier/courier.component.ts create mode 100644 src/app/views/status/status-routing.module.ts create mode 100644 src/app/views/status/status.module.ts create mode 100644 src/app/views/status/study-material/study-material.component.html create mode 100644 src/app/views/status/study-material/study-material.component.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index fed2332..dbacb36 100755 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,6 +3,10 @@ import { NgModule } from '@angular/core'; import { LocationStrategy, HashLocationStrategy } from '@angular/common'; import { AppComponent } from './app.component'; + +import { StatusModule } from './views/status/status.module'; +import { EntrollmentModule } from './views/entrollment/entrollment.module'; + // Import containers import { FullLayout, @@ -50,6 +54,7 @@ import { AppRoutingModule } from './app.routing'; // Import 3rd party components import { BsDropdownModule } from 'ngx-bootstrap/dropdown'; import { TabsModule } from 'ngx-bootstrap/tabs'; +import { TooltipModule } from 'ngx-bootstrap/tooltip'; import { ChartsModule } from 'ng2-charts/ng2-charts'; @NgModule({ imports: [ @@ -57,7 +62,10 @@ import { ChartsModule } from 'ng2-charts/ng2-charts'; AppRoutingModule, BsDropdownModule.forRoot(), TabsModule.forRoot(), - ChartsModule + TooltipModule.forRoot(), + ChartsModule, + StatusModule, + EntrollmentModule ], declarations: [ AppComponent, diff --git a/src/app/app.routing.ts b/src/app/app.routing.ts index 96282f4..31bb330 100755 --- a/src/app/app.routing.ts +++ b/src/app/app.routing.ts @@ -48,6 +48,14 @@ export const routes: Routes = [ path: 'feescalculator', loadChildren: './views/fees-calculator/fees-calculator.module#FeesCalculatorModule', }, + { + path: 'status', + loadChildren: './views/status/status.module#StatusModule' + }, + { + path: 'entrollment', + loadChildren: './views/entrollment/entrollment.module#EntrollmentModule' + } ] }, { diff --git a/src/app/components/app-sidebar/app-sidebar.component.html b/src/app/components/app-sidebar/app-sidebar.component.html index 3838fd3..58dc435 100755 --- a/src/app/components/app-sidebar/app-sidebar.component.html +++ b/src/app/components/app-sidebar/app-sidebar.component.html @@ -76,12 +76,37 @@ -->
  • + + diff --git a/src/app/views/entrollment/entrollment-routing.module.ts b/src/app/views/entrollment/entrollment-routing.module.ts new file mode 100644 index 0000000..56c0f45 --- /dev/null +++ b/src/app/views/entrollment/entrollment-routing.module.ts @@ -0,0 +1,26 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; +// Student +import { StudentComponent } from './student/student.component'; + +const routes: Routes = [ + { + path: '', + data: { + title: 'Entrollment' + }, + children: [{ + path: 'student', + component: StudentComponent, + data : { + title: 'Student Entollement' + } + }] + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class EntrollmentRoutingModule {} diff --git a/src/app/views/entrollment/entrollment.module.ts b/src/app/views/entrollment/entrollment.module.ts new file mode 100644 index 0000000..83976cd --- /dev/null +++ b/src/app/views/entrollment/entrollment.module.ts @@ -0,0 +1,27 @@ +import { NgModule } from '@angular/core'; +import {CommonModule} from '@angular/common'; +import { FormsModule } from '@angular/forms'; +// import { BrowserModule } from '@angular/platform-browser'; +// Tabs Component +import { TabsModule } from 'ngx-bootstrap/tabs'; +import { TooltipModule } from 'ngx-bootstrap/tooltip'; +import { ModalModule } from 'ngx-bootstrap/modal'; + +import { EntrollmentRoutingModule } from './entrollment-routing.module'; + +// Student +import { StudentComponent } from './student/student.component'; +@NgModule({ + imports: [ + CommonModule, + FormsModule, + TabsModule, + ModalModule.forRoot(), + TooltipModule, + EntrollmentRoutingModule + ], + declarations: [ + StudentComponent + ] +}) +export class EntrollmentModule { } diff --git a/src/app/views/entrollment/student/student.component.html b/src/app/views/entrollment/student/student.component.html new file mode 100644 index 0000000..c8c1466 --- /dev/null +++ b/src/app/views/entrollment/student/student.component.html @@ -0,0 +1,424 @@ + +
    + + + Student Entrollment + + + + Student List +
    +
    + Student Details List +
    +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Form IdStudent NameFather NameMobileCourseSem/YearBatchStatusAction
    {{app.formId}}{{app.studentName}}{{app.fatherName}}{{app.mobile}}{{app.course}}{{app.sem}}{{app.batch}} + Active + In-Active + + + +
    + +
    +
    +
    + + Add Student +
    + + +
    +
    +
    +
    +
    + Add Student Personal Details +
    +
    +
    +
    +
    + + +
    +
    + + +
    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    +
    + + + + +
    +
    + + +
    +
    + + +
    +
    + +
    +
    + + +
    +
    + + +
    +
    +
    +
    + +
    +
    +
    + Add Course Details +
    +
    +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    +
    + +
    + +
    +
    +
    + + +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Re-registration +
    +
    +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Form IdBatchCourseUniversitySem/Year
    KES08432Jan 2018B.ComKR Univ3
    KES04321Jul 2017B.ComKR Univ2
    KES00921Jan 2017B.ComKR Univ1
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/src/app/views/entrollment/student/student.component.scss b/src/app/views/entrollment/student/student.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/views/entrollment/student/student.component.ts b/src/app/views/entrollment/student/student.component.ts new file mode 100644 index 0000000..0958466 --- /dev/null +++ b/src/app/views/entrollment/student/student.component.ts @@ -0,0 +1,57 @@ +import { Component, OnInit } from '@angular/core'; +import { ModalDirective } from 'ngx-bootstrap/modal'; + +@Component({ + templateUrl: 'student.component.html', + styleUrls:['./student.component.scss'] +}) +export class StudentComponent implements OnInit { + show = false; + closed = false; + public myModal; + public myModalData; + students: any; + oldReg: boolean = false; + constructor() { } + ngOnInit(){ + this.students = [ + { + formId: 'KAN00128', + studentName: 'xyz', + fatherName: 'mmm mmm', + mobile: '+919876543210', + course: 'B.Sc', + sem: 2, + batch: 'Jan 2018', + status: '1' + }, + { + formId: 'KAN00107', + studentName: 'abc', + fatherName: 'sss sss', + mobile: '+919876511111', + course: 'B.Sc', + sem: 4, + batch: 'Jan 2018', + status: '1' + }, + { + formId: 'KAN00086', + studentName: 'uvw', + fatherName: 'nnn nnn', + mobile: '+919876500000', + course: 'B.Sc', + sem: 8, + batch: 'Jan 2018', + status: '0' + } + ] + } + getModelWindowDetails(emp) { + this.myModalData = emp||null; + } + + editEmployee(){ + this.show = !this.show; + } +} diff --git a/src/app/views/status/answer-booklet/answer-booklet.component.html b/src/app/views/status/answer-booklet/answer-booklet.component.html new file mode 100644 index 0000000..705e0cc --- /dev/null +++ b/src/app/views/status/answer-booklet/answer-booklet.component.html @@ -0,0 +1,188 @@ + + Back to List + +
    + + + Answer Booklet Status + +
    +
    + Answer Booklet List +
    +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Form IdStudent NameFather NameMobileCourseSem/YearBatchStatus
    {{app.formId}}{{app.studentName}}{{app.fatherName}}{{app.mobile}}{{app.course}}{{app.sem}}{{app.batch}}{{app.status}}
    + +
    +
    +
    +
    +
    + + + + + \ No newline at end of file diff --git a/src/app/views/status/answer-booklet/answer-booklet.component.scss b/src/app/views/status/answer-booklet/answer-booklet.component.scss new file mode 100644 index 0000000..3f54f6e --- /dev/null +++ b/src/app/views/status/answer-booklet/answer-booklet.component.scss @@ -0,0 +1,7 @@ +.backToList{ + text-decoration: underline; + cursor: pointer; +} +.backToList:hover { + color: blue; +} \ No newline at end of file diff --git a/src/app/views/status/answer-booklet/answer-booklet.component.ts b/src/app/views/status/answer-booklet/answer-booklet.component.ts new file mode 100644 index 0000000..cb98258 --- /dev/null +++ b/src/app/views/status/answer-booklet/answer-booklet.component.ts @@ -0,0 +1,57 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + templateUrl: 'answer-booklet.component.html', + styleUrls: ['./answer-booklet.component.scss'] +}) + +export class AnswerBookletComponent implements OnInit { + show = false; + closed = false; + public myModal; + public myModalData; + applicationDetails: any; + constructor() { } + ngOnInit(){ + this.applicationDetails = [ + { + formId: '0001', + studentName: 'xyz', + fatherName: 'SSS', + mobile: '+91 9999999999', + course: 'B.Com', + sem: '2', + batch: 'Jun 2017', + status: 'Sent to SC' + }, + { + formId: '0002', + studentName: 'svs', + fatherName: 'MMM', + mobile: '+91 9999911111', + course: 'BSc', + sem: '3', + batch: 'Jun 2017', + status: 'Sent to SC' + }, + { + formId: '0003', + studentName: 'pns', + fatherName: 'VVV', + mobile: '+91 9999900000', + course: 'MCA', + sem: '1', + batch: 'Jun 2017', + status: 'Sent to SC' + } + ] + } + + getModelWindowDetails(stuCent) { + this.myModalData = stuCent||null; + } + editDocuments(){ + this.show = !this.show; + } + +} diff --git a/src/app/views/status/application/application.component.html b/src/app/views/status/application/application.component.html new file mode 100644 index 0000000..5bbb9fc --- /dev/null +++ b/src/app/views/status/application/application.component.html @@ -0,0 +1,182 @@ +
    + + + Application Status +
    +
    +
    + + +
    +
    +
    +
    +
    + Application Status List +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + +
    Form IdStudent NameFather NameCourseSem/YearStatus
    {{app.applicationId}}{{app.studentName}}{{app.fatherName}}{{app.courseName}}{{app.sem}} + Active + In-Active +
    + +
    +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/src/app/views/status/application/application.component.ts b/src/app/views/status/application/application.component.ts new file mode 100644 index 0000000..f903509 --- /dev/null +++ b/src/app/views/status/application/application.component.ts @@ -0,0 +1,50 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + templateUrl: 'application.component.html' +}) + +export class ApplicationComponent implements OnInit { + show = false; + closed = false; + public myModal; + public myModalData; + applicationDetails: any; + constructor() { } + ngOnInit(){ + this.applicationDetails = [ + { + applicationId: '0001', + studentName: 'xyz', + fatherName: 'sss sss', + courseName: 'B.Com', + sem: '1', + status: '1' + }, + { + applicationId: '0002', + studentName: 'xss', + fatherName: 'mmm mmm', + courseName: 'BE(CSE)', + sem: '5', + status: '1' + }, + { + applicationId: '0003', + studentName: 'fys', + fatherName: 'sss vvv', + courseName: 'M.SC', + sem: '2', + status: '0' + } + ] + } + + getModelWindowDetails(stuCent) { + this.myModalData = stuCent||null; + } + editStudyCenter(){ + this.show = !this.show; + } + +} diff --git a/src/app/views/status/courier/courier.component.html b/src/app/views/status/courier/courier.component.html new file mode 100644 index 0000000..001acca --- /dev/null +++ b/src/app/views/status/courier/courier.component.html @@ -0,0 +1,202 @@ + + +
    + + + Courier Details List +
    +
    + Courier Details List +
    +
    +
    +
    +
    + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + +
    Courier NameDocket No.TypeCommentsReceived By/ Dispatched ByStatus
    {{cour.courierName}}{{cour.docketNo}}{{cour.type}}{{cour.comments}}{{cour.receiveBy}}{{cour.status}}
    + +
    +
    +
    + +
    +
    + + + + \ No newline at end of file diff --git a/src/app/views/status/courier/courier.component.scss b/src/app/views/status/courier/courier.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/views/status/courier/courier.component.ts b/src/app/views/status/courier/courier.component.ts new file mode 100644 index 0000000..50c19bd --- /dev/null +++ b/src/app/views/status/courier/courier.component.ts @@ -0,0 +1,63 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + templateUrl: 'courier.component.html', + styleUrls: ['./courier.component.scss'] +}) + +export class CourierComponent implements OnInit { + show = false; + closed = false; + public myModal; + public myModalData; + courier: any; + constructor() { } + ngOnInit(){ + this.courier = [ + { + courierName: 'Documents', + docketNo: '234dsf', + type: 'Received', + comments: 'Documents Details', + receiveBy: 'sss', + status: 'sent', + date: '20/07/2018', + qt: 120, + weight: '12kgm', + amt : 120 + }, + { + courierName: 'Answer Booklets', + docketNo: '43526345', + type: 'Dispatched', + comments: 'answer booklets details', + receiveBy: 'asd', + status: 'received by SC', + date: '28/06/2018', + qt: 120, + weight: '12kgm', + amt : 120 + }, + { + courierName: 'Forms', + docketNo: '8855435', + type: 'Dispatched', + comments: 'details', + receiveBy: 'abc', + status: 'Sent by SC', + date: '12/06/2018', + qt: 120, + weight: '12kgm', + amt : 120 + } + ] + } + + getModelWindowDetails(stuCent) { + this.myModalData = stuCent||null; + } + editDocuments(){ + this.show = !this.show; + } + +} diff --git a/src/app/views/status/status-routing.module.ts b/src/app/views/status/status-routing.module.ts new file mode 100644 index 0000000..af29efd --- /dev/null +++ b/src/app/views/status/status-routing.module.ts @@ -0,0 +1,51 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +// courier +import { CourierComponent } from './courier/courier.component'; +import { ApplicationComponent } from './application/application.component'; +import { AnswerBookletComponent } from './answer-booklet/answer-booklet.component'; +import { StudyMaterialComponent } from './study-material/study-material.component'; + +const routes: Routes = [ + { + path: '', + data: { + title: 'Status' + }, + children: [ + { + path: 'couriers', + component: CourierComponent, + data: { + title: 'Couriers' + } + }, + { + path: 'application', + component: CourierComponent, + data: { + title: 'Application' + } + },{ + path: 'answerBooklet', + component: AnswerBookletComponent, + data: { + title: 'Answer Booklet' + } + },{ + path: 'studyMaterial', + component: StudyMaterialComponent, + data: { + title: 'Study Material' + } + } + ] + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class StatusRoutingModule {} diff --git a/src/app/views/status/status.module.ts b/src/app/views/status/status.module.ts new file mode 100644 index 0000000..cff2575 --- /dev/null +++ b/src/app/views/status/status.module.ts @@ -0,0 +1,36 @@ +import { NgModule } from '@angular/core'; +import {CommonModule} from '@angular/common'; +import { FormsModule } from '@angular/forms'; +// import { BrowserModule } from '@angular/platform-browser'; +// Tabs Component +import { TabsModule } from 'ngx-bootstrap/tabs'; +import { TooltipModule } from 'ngx-bootstrap/tooltip'; +import { ModalModule } from 'ngx-bootstrap/modal'; +import { StatusRoutingModule } from './status-routing.module'; + +// courier +import { CourierComponent } from './courier/courier.component'; +// application +import { ApplicationComponent } from './application/application.component'; +// answer booklet +import { AnswerBookletComponent } from './answer-booklet/answer-booklet.component'; +// study material +import { StudyMaterialComponent } from './study-material/study-material.component'; + +@NgModule({ + imports: [ + CommonModule, + FormsModule, + TabsModule, + ModalModule.forRoot(), + TooltipModule, + StatusRoutingModule + ], + declarations: [ + CourierComponent, + ApplicationComponent, + AnswerBookletComponent, + StudyMaterialComponent + ] +}) +export class StatusModule { } diff --git a/src/app/views/status/study-material/study-material.component.html b/src/app/views/status/study-material/study-material.component.html new file mode 100644 index 0000000..28e5fc8 --- /dev/null +++ b/src/app/views/status/study-material/study-material.component.html @@ -0,0 +1,151 @@ +
    + + + Study Material Status + +
    +
    + Study Matrial Status List +
    +
    +
    +
    +
    + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + +
    IDStudy Material DetailsUniversityCourseTotalStatus
    {{app.applicationId}}{{app.details}}{{app.univ}}{{app.course}}{{app.total}} + Received + Sent +
    + +
    +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/src/app/views/status/study-material/study-material.component.ts b/src/app/views/status/study-material/study-material.component.ts new file mode 100644 index 0000000..7ff1f5d --- /dev/null +++ b/src/app/views/status/study-material/study-material.component.ts @@ -0,0 +1,50 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + templateUrl: 'study-material.component.html' +}) + +export class StudyMaterialComponent implements OnInit { + show = false; + closed = false; + public myModal; + public myModalData; + studyMaterialDetails: any; + constructor() { } + ngOnInit(){ + this.studyMaterialDetails = [ + { + applicationId: '1', + details: 'xyz', + univ: 'kr university', + course: 'B.com', + total: '12', + status: '1' + }, + { + applicationId: '2', + details: 'xyz', + univ: 'kr university', + course: 'B.Sc', + total: '12', + status: '1' + }, + { + applicationId: '3', + details: 'xyz', + univ: 'kr university', + course: 'MCA', + total: '12', + status: '0' + } + ] + } + + getModelWindowDetails(stuCent) { + this.myModalData = stuCent||null; + } + editStudyCenter(){ + this.show = !this.show; + } + +}