unserver-unify
Version:
65 lines (64 loc) • 1.97 kB
HTML
<div ng-controller="MySurveysCtrl as ctrl">
<div class="panel panel-body">
<div class="table-responsive" style="overflow:inherit">
<table class="table table-hover tbl_aln font_dec" st-safe-src="examitems" st-table="surveys">
<tr>
<th translate="">
Type
</th>
<th translate="">
Name
</th>
<th translate="">
Deadline
</th>
<th translate="">
Target
</th>
<th translate="">
Class
</th>
<th translate="">
Action
</th>
</tr>
<tr ng-if="ctrl.surveys == 0">
<td colspan="6">
<div translate="" class="no_record">No Records</div>
</td>
</tr>
<tr ng-repeat="item in ctrl.surveys">
<td>
{{item.type}}
</td>
<td>
{{item.surveyName}}
</td>
<td>
{{item.stop | date: 'medium'}}
</td>
<td>
{{item.courseName||item.TeacherName}}
</td>
<td>
{{item.className}}
</td>
<td width="3%">
<button class="btn-u btn-u-blue btn-xs" ng-if="item.counter" translate="">
COMPLETED
</button>
<button class="btn-u btn-u-red btn-xs" ng-if="!item.counter" translate="" ui-sref='.detail({csvid:item._id})'>
OUTSTANDING
</button>
</td>
</tr>
<tr>
<td class="text-right" colspan="8" st-items-by-page="10" st-pagination="" st-template="components/content/tablePagination.html">
</td>
</tr>
</table>
</div>
</div>
</div>
<!-- <div ng-include="'app/mystudy/tasks.html'"></div> -->
<!-- <div ng-include="'app/mystudy/tests.html'" style="margin-top:5%;"></div> -->