apollodec/Apollo/assets/views/report_answer_booklets.html
venbatechnologies@gmail.com f35dc058e4 table fixed
2018-05-14 11:32:24 +05:30

130 lines
5.2 KiB
HTML
Executable File

<section id="page-title">
<div class="row">
<div class="col-sm-8">
<h1 class="mainTitle">Answer Booklets Status Report</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="report_ans_bookletCtrl" ng-init="filters()">
<form name="Form" id="form" novalidate ng-submit="onSubmit()" 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">
Branch
</label>
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
<option value="" selected>Select Branch</option>
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
</select>
</div>
<div class="col-md-3">
<label for="form-field-select-2">
University
</label>
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
<option value="" selected>Select University</option>
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
</select>
</div>
<div class="col-md-3">
<label for="form-field-select-2">
Batch
</label>
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
<option value="" selected>Select Batch</option>
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
</select>
</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 style="text-align: right;">
<a download="Answer_booklets_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Answer_booklets');">
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
</a>
</div>
<div class="table-responsive">
<table id="datatable" class="table table-hover">
<thead>
<tr>
<th>SL.No</th>
<th>Student ID</th>
<th>Student Name</th>
<th>Father Name</th>
<th>Course</th>
<th>Sem/Year</th>
<th>Phone No</th>
<th>University</th>
<th>Answer Booklet Status</th>
<th>Date</th>
</tr>
</thead>
<tbody dir-paginate="p in ans_book_data|filter:search:strict|itemsPerPage:10">
<tr>
<td>{{p.sl}}</td>
<td>{{p.ssid}}</td>
<td>{{p.name}}</td>
<td>{{p.father}}</td>
<td>{{p.course}}</td>
<td>{{p.syear}}({{p.sem}})</td>
<td>{{p.phone}}</td>
<td>{{p.uname}}</td>
<td>{{p.status}}</td>
<td>{{p.adate}}</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>