studend enrolment model changes: kdk
This commit is contained in:
parent
a5d67e9dac
commit
17229581d3
@ -100,8 +100,8 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<i class="fa fa-edit line-height-table" tooltip="Edit" (click)="editDocuments()"></i> |
|
<i class="fa fa-edit line-height-table" tooltip="Edit" (click)="editDocuments()"></i> |
|
||||||
<i class="fa fa-edit fa-file-code-o" tooltip="Answer Booklet"></i> |
|
<i class="fa fa-edit fa-file-code-o" tooltip="Answer Booklet" data-toggle="modal" (click)="myModal.show(); getModelWindowDetails(app, 'answerBooklet')"></i> |
|
||||||
<i class="fa fa-edit fa-id-card-o" tooltip="Mark Card"></i>
|
<i class="fa fa-edit fa-id-card-o" tooltip="Mark Card" data-toggle="modal" (click)="myModal.show(); getModelWindowDetails(app, 'markCard')"></i>
|
||||||
<!--<i class="fa fa-eye" tooltip="View More" data-toggle="modal" (click)="myModal.show(); getModelWindowDetails(app)"></i>-->
|
<!--<i class="fa fa-eye" tooltip="View More" data-toggle="modal" (click)="myModal.show(); getModelWindowDetails(app)"></i>-->
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -203,8 +203,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
<label for="currentAddress">Current Address<span class="danger">*</span> </label>
|
<label for="currentAddress">Current Address<span class="danger">*</span> </label>
|
||||||
<textarea class="form-control" id="currentAddress" placeholder="Enter Current Address"></textarea>
|
<textarea class="form-control" id="currentAddress" placeholder="Enter Current Address"></textarea> Same as Permanent Address <span><input type="checkbox"></span>
|
||||||
Same as Permanent Address <span><input type="checkbox"></span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -367,47 +366,35 @@
|
|||||||
<div class="modal-dialog modal-lg" role="document" *ngIf="myModalData">
|
<div class="modal-dialog modal-lg" role="document" *ngIf="myModalData">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h4 class="modal-title">{{ myModalData.applicationId }}</h4>
|
<h4 class="modal-title" *ngIf="modelType == 'markCard'"> Mark Card Status</h4>
|
||||||
|
<h4 class="modal-title" *ngIf="modelType == 'answerBooklet'"> Answer Booklet Status</h4>
|
||||||
<button type="button" class="close" (click)="myModal.hide()" aria-label="Close">
|
<button type="button" class="close" (click)="myModal.hide()" aria-label="Close">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<table class="table table-bordered table-responsive">
|
||||||
<div class="col-md-6">
|
<thead>
|
||||||
<label><b> Student Name : </b> </label> {{myModalData.studentName}}
|
<tr>
|
||||||
</div>
|
<th>Status</th>
|
||||||
<div class="col-md-6">
|
<th>Comments</th>
|
||||||
<label><b>Course Name : </b> </label> {{myModalData.courseName}}
|
<th>Date</th>
|
||||||
</div>
|
</tr>
|
||||||
</div>
|
</thead>
|
||||||
<div class="row">
|
<tbody>
|
||||||
<div class="col-md-6">
|
<tr>
|
||||||
<label><b> Sem/Year : </b> </label> {{myModalData.sem}}
|
<td>Send to SC</td>
|
||||||
</div>
|
<td><b>{{ modelType | uppercase }} </b>- Send to Studet Center</td>
|
||||||
</div>
|
<td>4/05/2018</td>
|
||||||
<div class="row">
|
</tr>
|
||||||
<div class="col-md-4">
|
</tbody>
|
||||||
<label for="name"> Status</label>
|
</table>
|
||||||
<select id="disabledSelect" class="form-control">
|
|
||||||
<option value="0">Select Status</option>
|
|
||||||
<option value="1">Approved</option>
|
|
||||||
<option value="2">Rejected</option>
|
|
||||||
<option value="3">Canceled</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="comment">Comments <span class="danger">*</span></label>
|
|
||||||
<textarea class="form-control" id="comments" placeholder="Enter Comments"></textarea>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-secondary" (click)="myModal.hide()">Close</button>
|
<button type="button" class="btn btn-secondary" (click)="myModal.hide()">Close</button>
|
||||||
<button type="button" class="btn btn-primary">Save</button>
|
<!--<button type="button" class="btn btn-primary">Save</button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.modal-content -->
|
<!-- /.modal-content -->
|
||||||
|
|||||||
@ -10,6 +10,7 @@ export class StudentComponent implements OnInit {
|
|||||||
closed = false;
|
closed = false;
|
||||||
public myModal;
|
public myModal;
|
||||||
public myModalData;
|
public myModalData;
|
||||||
|
public modelType: string;
|
||||||
students: any;
|
students: any;
|
||||||
oldReg: boolean = false;
|
oldReg: boolean = false;
|
||||||
constructor() { }
|
constructor() { }
|
||||||
@ -50,8 +51,9 @@ export class StudentComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
getModelWindowDetails(emp) {
|
getModelWindowDetails(emp, type) {
|
||||||
this.myModalData = emp||null;
|
this.myModalData = emp||null;
|
||||||
|
this.modelType = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
editEmployee(){
|
editEmployee(){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user