185 lines
8.1 KiB
HTML
185 lines
8.1 KiB
HTML
<style>
|
|
b.fa {
|
|
display: inline-block;
|
|
border-radius: 60px;
|
|
box-shadow: 0px 0px 2px #FF6600;
|
|
padding: 0.5em 0.6em;
|
|
|
|
|
|
}
|
|
b.fa1 {
|
|
display: inline-block;
|
|
border-radius: 60px;
|
|
box-shadow: 0px 0px 2px green;
|
|
padding: 0.5em 0.6em;
|
|
|
|
|
|
}
|
|
a {
|
|
color: #007AFF;
|
|
}
|
|
|
|
</style>
|
|
<!-- start: PAGE TITLE -->
|
|
<section id="page-title">
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
|
|
<h1 class="mainTitle" translate="PROMOTE BATCH">{{ mainTitle }}</h1>
|
|
|
|
<span class="mainDescription">Promote Students From One Batch To Next Batch</span>
|
|
|
|
</div>
|
|
<div ncy-breadcrumb></div>
|
|
</div>
|
|
</section>
|
|
<!-- end: PAGE TITLE -->
|
|
<!-- start: LIST GROUP -->
|
|
|
|
<div class="container-fluid container-fullw bg-white" ng-controller="BatchmomentCtrl" data-ng-init="init()">
|
|
|
|
<fieldset>
|
|
<legend>Search</legend>
|
|
<div class="col-md-12 ">
|
|
|
|
<div class="col-md-3 form-group">
|
|
<label>
|
|
University
|
|
</label>
|
|
<select class="form-control" name="university" tabindex="1" id="university"
|
|
ng-model="myModel.universityName"
|
|
ng-options="i.universityName for i in university" ng-change="">
|
|
<option value=""> Select University</option>
|
|
</select>
|
|
<!-- <pre>{{myModel.universityName | json}}</pre> -->
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-md-3 form-group">
|
|
|
|
<label>
|
|
Batch Name
|
|
</label>
|
|
<select ui-select2 class="form-control" name="batch" tabindex="2" id="batch"
|
|
ng-model="myModel.batchName" ng-change=""
|
|
>
|
|
<option value=""> Select Batch</option>
|
|
<option ng-repeat="batchDetails in myModel.universityName.batchDetails" value="{{batchDetails.BatchCode}}###{{batchDetails.BD}}"><span ng-show="batchDetails.BatchCode != ''"><strong>{{batchDetails.BatchName}}</strong></span></option>
|
|
</select>
|
|
<!-- <pre>{{myModel.batchName | json}}</pre> -->
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2 form-group" ng-if="isShowNxtBatch">
|
|
<label>
|
|
Next Batch Name
|
|
</label>
|
|
<input type = "text" class="form-control" id="nxtbatch" name = "nxtbatch" value="{{nextBatchDetails[0].BatchName}}" readonly>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2 form-group">
|
|
|
|
<br>
|
|
<button type="button" ladda="ldloading1.zoom_in" tabindex="3" class="btn btn-wide btn-info" data-style="zoom-in" ng-click="getStudentDetails();">{{getStudentButtonTxt}}</button>
|
|
</div>
|
|
|
|
<div class="col-md-2 form-group">
|
|
|
|
<br>
|
|
<button type="button" ladda="ldloading1.zoom_in" tabindex="4" class="btn btn-wide btn-success" data-style="zoom-in" ng-disabled = "promoteButtonStatus" ng-click="promoteStudents();">{{promoteButtonTxt}}</button>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12" ng-if="isLoaderShow">
|
|
<center> <h1>{{isLoaderTxt}}</h1> </center>
|
|
<div ng-if="isSubLoaderShow">
|
|
<h4>
|
|
It may caused by one of the following reasons</h4>
|
|
<ul>
|
|
<li>No Next Batch Available for Selected University</li>
|
|
<li>No Next Sessions Available for Courses under selected University</li>
|
|
<li>No Next Semesters Available for Courses under selected University</li>
|
|
</ul>
|
|
<div/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12" ng-if="isTblShow">
|
|
<div class="table-responsive">
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th><input type="checkbox" ng-model="myModel.all" id="all" name="all" ng-click="isCheckAll($event);" class=""></th>
|
|
<th ng-click="sort('Firstname')">Student Name
|
|
<span class="glyphicon sort-icon" ng-show="sortKey=='Firstname'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
|
</th>
|
|
<th ng-click="sort('CourseName')">Course Name
|
|
<span class="glyphicon sort-icon" ng-show="sortKey=='CourseName'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
|
</th>
|
|
<!-- <th ng-click="sort('UniversityShortName')">University Short Name -->
|
|
<!-- <span class="glyphicon sort-icon" ng-show="sortKey=='UniversityShortName'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span> -->
|
|
<!-- </th> -->
|
|
<th ng-click="sort('MobileNumber')">Mobile No
|
|
<span class="glyphicon sort-icon" ng-show="sortKey=='MobileNumber'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
|
</th>
|
|
<th ng-click="sort('EmailID')">EmailID
|
|
<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
|
</th>
|
|
<th>Current Session</th>
|
|
<th>Next Session</th>
|
|
<th ng-click="sort('current_sem')">Current Semester/Year
|
|
<span class="glyphicon sort-icon" ng-show="sortKey=='current_sem'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
|
</th>
|
|
<th ng-click="sort('current_sem')">Next Semester/Year
|
|
<span class="glyphicon sort-icon" ng-show="sortKey=='current_sem'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
|
</th>
|
|
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody dir-paginate="p in studentInfo|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10">
|
|
<tr>
|
|
<td><input type="checkbox" ng-checked="myModel.all" id="{{p.StudentID}}" name="{{p.StudentID}}" class="" ng-click="isClick($event);"></td>
|
|
<td>{{p.Firstname}}{{p.Lastname}}</td>
|
|
<!-- <td>{{p.UniversityShortName}}</td> -->
|
|
<td>{{p.CourseName}}{{(p.CourseCode)}}</td>
|
|
<td>{{p.MobileNumber}}</td>
|
|
<td>{{p.EmailID}}</td>
|
|
<td>{{p.SessionName}}</td>
|
|
<td>{{p.nextSessionName}}</td>
|
|
<td>{{p.current_sem}}</td>
|
|
<!-- <td>{{p.current_sem | nxtSemFormat }}</td> -->
|
|
<td>{{p.next_sem}}</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
|
|
</dir-pagination-controls>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</fieldset>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- end: LIST GROUP -->
|
|
|
|
|
|
|
|
|
|
|