77 lines
2.5 KiB
HTML
Executable File
77 lines
2.5 KiB
HTML
Executable File
<style>
|
|
b.fa {
|
|
display: inline-block;
|
|
border-radius: 60px;
|
|
box-shadow: 0px 0px 2px #007AFF;
|
|
padding: 0.5em 0.6em;
|
|
|
|
|
|
}
|
|
</style>
|
|
<section id="page-title">
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<h1 class="mainTitle" translate="Activity Status"></h1>
|
|
|
|
<span class="mainDescription">Manage statuses for each activity. </span>
|
|
|
|
</div>
|
|
<div ncy-breadcrumb></div>
|
|
</div>
|
|
</section>
|
|
<div class="container-fluid container-fullw bg-white">
|
|
<div ng-controller="studentStatusUpdateCtrl">
|
|
<div class="row">
|
|
|
|
<div class="col-md-3">
|
|
<script>
|
|
$(function () {
|
|
$("#search").focus();
|
|
|
|
});
|
|
</script>
|
|
<input class="form-control" type="text" ng-model="search"
|
|
id="search" autofocus tabindex="5"
|
|
placeholder="Search"/><br><br>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<table class="table table-hover" ng-init="init();">
|
|
<thead>
|
|
<tr>
|
|
<th ng-click="sort('ActivityID')">Activity ID
|
|
<span class="glyphicon sort-icon" ng-show="sortKey=='ActivityID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"> </span>
|
|
</th>
|
|
<th ng-click="sort('ActivityName')">Activity Name
|
|
<span class="glyphicon sort-icon" ng-show="sortKey=='ActivityName'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"> </span>
|
|
|
|
</th>
|
|
<th></th>
|
|
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody dir-paginate="p in activityInfo|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10">
|
|
<tr>
|
|
<td>{{p.ActivityID}}</td>
|
|
<td>{{p.ActivityName}}</td>
|
|
|
|
<td>
|
|
<a class="text-azure" id="editRowBtn{{p.ActivityID}}" ng-click="setEditId(p);"><b class="fa fa-hover fa-pencil " aria-hidden="true"></b>
|
|
</a>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr ng-show="editId === p.ActivityID" ng-if="editId === p.ActivityID" >
|
|
<td colspan="12" ng-include src="'assets/views/editDefaultActivityStatus.html'"></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
|
|
</dir-pagination-controls>
|
|
</div>
|
|
</div> |