unserver-unify
Version:
43 lines • 1.32 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>
<h4 class="modal-title">
{{ 'Select' | translate }} {{ctrl.title||ctrl.stage}}
</h4>
</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="" >
Name
</th>
<th translate="" >
Action
</th>
</tr>
<tr ng-repeat="item in displayedSurveys">
<td style="width: 60%">
<span class="font-12">{{item.name}}</span>
<div class="clearfix"></div>
<b class="font-12 color-blue">{{ item.creater }}</b>
<div class="clearfix"></div>
{{item.type }}
</td>
<td style="width: 20%">
<button class="btn btn-primary btn-xs" ng-click="ctrl.select(item)">
{{ 'Select' | translate }}
</button>
</td>
</tr>
<tr>
<td class="text-center" colspan="3" st-items-by-page="ctrl.limit" st-pagination="" st-template="components/content/tablePagination.html">
</td>
</tr>
</table>
</div>