apollodec/Apollo/assets/views/StudentMerge.html
2018-09-08 11:53:40 +05:30

109 lines
3.5 KiB
HTML

<section id="page-title">
<div class="row">
<div class="col-sm-8">
<h1 class="mainTitle">Student Merge</h1>
</div>
<!-- <div ncy-breadcrumb></div> -->
</div>
</section>
<style>
td,th {
white-space: nowrap;
}
th{
text-align:center;
}
.table>tbody>tr>td { padding: 2px; }
/* .sort-icon {
font-size: 9px;
margin-left: 5px;
}
th {
cursor: pointer;
} */
</style>
</script>
<div class="container-fluid container-fullw bg-white">
<div ng-controller="studentMergeCtrl" ng-init="filters()">
<form name="Form" id="form" novalidate ng-submit="onSubmit(Form)" method="post">
<fieldset>
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-3">
<label for="form-field-select-2">
Student Name
</label>
<input type="text" tabindex="1" class="form-control " placeholder="Student Name" ng-model="name.studentName" name="studentName" required="required" />
</div>
<div class="col-md-2" style="padding-top: 2.3%;">
<div >
<button type="submit" class="btn btn-success btn-o" tabindex="8">
Submit
</button>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</form>
<!-- <pre>{{statusr | json}}</pre> -->
<div class="row" style="text-align: right;">
<button class="btn btn-success btn-o" ng-click="merge()">Merge</button>
</div>
<div class="table-responsive">
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
<thead>
<tr>
<th>Student Name</th>
<th>Mobile Number</th>
<th>University</th>
<th>Course Name</th>
<th>Action</th>
</tr>
</thead>
<tbody dir-paginate="p in stud_merge|filter:search:strict|itemsPerPage:10">
<tr>
<td>{{p.Student_name}}</td>
<td>{{p.Phone_number}}</td>
<td>{{p.University}}</td>
<td>{{p.Course_name}}</td>
<td style="text-align:center;"><input type="checkbox" ng-checked="myModel.all" id="{{p.Phone_number}}" name="{{p.Phone_number}}" class="form-control" ng-click="isClick($event);" style="width:17px" /></td>
</tr>
</tbody>
</table>
<h3 style="text-align:center;">{{message}}</h3>
</div>
<dir-pagination-controls direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>