unserver-unify
Version:
67 lines • 1.79 kB
HTML
<div class="modal-header">
<button class="close" ng-click="$dismiss()" type="button">
<span aria-hidden="true">
×
</span>
<span class="sr-only">
Close
</span>
</button>
<h3 class="modal-title">
{{ 'Select' | translate }} {{ctrl.title||ctrl.stage}}
</h3>
</div>
<div class="modal-body">
<table class="table table-striped table-hover" st-pipe="ctrl.getItems" st-table="displayedSurveys">
<tr>
<th class="sortable" st-sort="name" st-sort-default="true" translate="" width="10%">
Name
</th>
<th translate="" width="25%">
Description
</th>
<th translate="" width="8%">
Creator
</th>
<th class="sortable" st-sort="type" translate="" width="8%">
Type
</th>
<th translate="" width="15%">
No. of Respondents
</th>
<th translate="" width="8%">
Action
</th>
</tr>
<tr ng-repeat="item in displayedSurveys">
<td>
{{item.name}}
</td>
<td>
<div class="school-desc" style="height:40px; overflow:hidden;">
{{ item.description }}
</div>
</td>
<td>
{{ item.creater }}
</td>
<td>
{{item.type }}
</td>
<td class="text_indent25">
{{item.counter}}
</td>
<td>
<button class="btn btn-white" ng-click="ctrl.select(item)">
<i class="fa fa-check">
</i>
{{ 'Select' | translate }}
</button>
</td>
</tr>
<tr>
<td class="text-center" colspan="10" st-items-by-page="ctrl.limit" st-pagination="" st-template="components/content/tablePagination.html">
</td>
</tr>
</table>
</div>