182 lines
5.6 KiB
HTML
182 lines
5.6 KiB
HTML
|
|
|
|
<style type="text/css">
|
|
.pad {
|
|
background-color: #eee;
|
|
padding: 4px;
|
|
}
|
|
.fif {
|
|
/* background-color: #ddd;*/
|
|
display: inline-block;
|
|
margin: 0 175px 0 0;
|
|
padding: 8px 8px;
|
|
text-align: left;
|
|
width: 200px;
|
|
}
|
|
|
|
|
|
.right {
|
|
/* background-color: #ddd;*/
|
|
display: inline-block;
|
|
/*margin: 0 25px 0 0;*/
|
|
padding: 1px 1px;
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
.rightac {
|
|
/* background-color: #ddd;*/
|
|
display: inline-block;
|
|
margin: 0 175px 0 0;
|
|
padding: 8px 8px;
|
|
text-align: left;
|
|
width: 200px;
|
|
}
|
|
|
|
.a {
|
|
word-spacing: 9cm;
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<section id="page-title">
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<h1 class="mainTitle">COURSE CORRECTION</h1>
|
|
</div>
|
|
<!-- <div ncy-breadcrumb></div> -->
|
|
</div>
|
|
</section>
|
|
<style>
|
|
/* .sort-icon {
|
|
font-size: 9px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
th {
|
|
cursor: pointer;
|
|
} */
|
|
</style>
|
|
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
|
|
|
|
|
</script>
|
|
<div class="container-fluid container-fullw bg-white">
|
|
<div ng-controller="entrycorrectionCtrl" data-ng-init="init()">
|
|
<form name="Form" id="form" novalidate method="post">
|
|
|
|
|
|
|
|
<div class="row">
|
|
<fieldset>
|
|
<legend>Search</legend>
|
|
<div class="row">
|
|
<div class="col-md-3 form-group" ng-class="{'has-error':Form.mobilenumber.$dirty && Form.mobilenumber.$invalid}">
|
|
<label>
|
|
Mobile Number
|
|
</label>
|
|
|
|
<input type="text" placeholder="Search Mobile Number" ladda="ldloading1.zoom_in" data-style="zoom-in"
|
|
autofocus tabindex="1" class="form-control" name="mobilenumber" id="mobilenumber" ng-minlength="10" ng-maxlength="12"
|
|
ng-model="myModel.mobileNumber" ng-pattern="/^[0-9]*$/"/>
|
|
<span class="error text-small block"
|
|
ng-if="Form.mobilenumber.$error.maxlength || Form.mobilenumber.$error.minlength || Form.mobilenumber.$error.pattern">Enter a valid mobile number</span>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3 form-group">
|
|
<label>
|
|
Student First Name
|
|
</label>
|
|
|
|
<input type="text" placeholder="Search Student Name"
|
|
tabindex="2" class="form-control" name="studentname"
|
|
ng-model="myModel.studentName" ng-pattern="/^[a-zA-Z.\s]*$/" />
|
|
<span class="error text-small block"
|
|
ng-if="Form.studentname.$dirty && Form.studentname.$error.pattern">Invalid student name </span>
|
|
</div>
|
|
<!-- <div class="col-md-3 form-group">
|
|
<label>
|
|
RECEIPT NUMBER
|
|
</label>
|
|
<input type="text" placeholder="Search Receipt Number"
|
|
tabindex="2" class="form-control" name="receipt"
|
|
ng-model="myModel.receipt" />
|
|
|
|
</div> -->
|
|
|
|
<div class="col-md-3 form-group">
|
|
<label>University</label>
|
|
<select class="form-control" tabindex="3" class="cs-select cs-skin-elastic" name="university" ng-model="myModel.myUnivSearch"
|
|
ng-click="getEmployeeList()">
|
|
|
|
<option value="" selected>Select University</option>
|
|
<option ng-repeat="item in universitySearchData" value="{{item.UniversityID}}">{{item.UniversityName}}</option>
|
|
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2" style="padding-top: 2.3%;">
|
|
<div class="pull-right">
|
|
<button type="submit" ng-click="getStudentDetails(Form,myModel);" class="btn btn-success btn-o" tabindex="8">
|
|
Submit
|
|
</button>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
<div ng-if="isLoaderShow">
|
|
<center> <h1>{{load}}</h1> </center>
|
|
</div>
|
|
<!-- {{studentInfo}} -->
|
|
|
|
<div class="col-md-12">
|
|
<div class="table-responsive">
|
|
<table id="datatable" class="table table-hover">
|
|
<thead>
|
|
<tr >
|
|
<th style="font-size: 12px;">Mobile</th>
|
|
<th style="font-size: 12px;">Name</th>
|
|
<th style="font-size: 12px">Course</th>
|
|
<th style="font-size: 12px;">University</th>
|
|
<th style="font-size: 12px;">Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody dir-paginate="p in studentInfo|filter:search:strict|itemsPerPage:10">
|
|
<tr>
|
|
|
|
<td>{{p.MobileNumber}}</td>
|
|
<td>{{p.Firstname}} {{p.Lastname}}</td>
|
|
<td>{{p.CourseName}}</td>
|
|
<td>{{p.UniversityName}}</td>
|
|
<td><span><a class="text-azure" id="editRowBtn{{p.ID}}" ng-click="setEditId(p);"><b class="glyphicon glyphicon-pencil" tooltip="Edit Details" aria-hidden="true"></b></a> </span></td>
|
|
<!-- <td></td> -->
|
|
</tr>
|
|
<tr ng-show="editId === p.ID" ng-if="editId === p.ID">
|
|
<td colspan="12" ng-include src="'assets/views/edit_course.html'"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<dir-pagination-controls direction-links="true" boundary-links="true">
|
|
</dir-pagination-controls>
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|