Update list-user.directive.html

fixed table title
This commit is contained in:
yhua123 2016-06-29 13:40:29 +08:00 committed by GitHub
parent f2896ceaa8
commit 95579936b8

View File

@ -11,28 +11,35 @@
<modal-dialog modal-title="// 'confirm_to_delete_user_title' | tr //" modal-message="// 'confirm_to_delete_user' | tr //" action="vm.deleteUser()"></modal-dialog> <modal-dialog modal-title="// 'confirm_to_delete_user_title' | tr //" modal-message="// 'confirm_to_delete_user' | tr //" action="vm.deleteUser()"></modal-dialog>
<div class="pane"> <div class="pane">
<div class="sub-pane"> <div class="sub-pane">
<table class="table table-pane"> <div class="table-head-container">
<thead> <table class="table table-pane table-header">
<th>// 'username' | tr //</th> <thead>
<th>// 'email' | tr //</th> <th width="15%">// 'username' | tr //</th>
<th>// 'registration_time' | tr //</th> <th width="20%">// 'email' | tr //</th>
<th>// 'administrator' | tr //</th> <th width="35%">// 'registration_time' | tr //</th>
<th>// 'operation' | tr //</th> <th width="15%">// 'administrator' | tr //</th>
</thead> <th width="20%">// 'operation' | tr //</th>
<tbody> </thead>
<tr ng-repeat="u in vm.users"> </table>
<td>//u.username//</td> </div>
<td>//u.email//</td>
<td>//u.creation_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td> <div class="table-body-container">
<td> <table class="table table-pane">
<toggle-admin has-admin-role="u.has_admin_role == 1" user-id="//u.user_id//"></toggle-admin> <tbody>
</td> <tr ng-repeat="u in vm.users">
<td> <td>//u.username//</td>
&nbsp;&nbsp;<a href="javascript:void(0)" data-toggle="modal" data-target="#myModal" ng-click="vm.confirmToDelete(u.user_id)"><span class="glyphicon glyphicon-trash"></span></a> <td>//u.email//</td>
</td> <td>//u.creation_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td>
</tr> <td>
</tbody> <toggle-admin has-admin-role="u.has_admin_role == 1" user-id="//u.user_id//"></toggle-admin>
</table> </td>
<td>
&nbsp;&nbsp;<a href="javascript:void(0)" data-toggle="modal" data-target="#myModal" ng-click="vm.confirmToDelete(u.user_id)"><span class="glyphicon glyphicon-trash"></span></a>
</td>
</tr>
</tbody>
</table>
</div>
</div> </div>
<div class="col-xs-4 col-md-12 well well-sm well-custom"> <div class="col-xs-4 col-md-12 well well-sm well-custom">
<div class="col-md-offset-10">//vm.users ? vm.users.length : 0// items</div> <div class="col-md-offset-10">//vm.users ? vm.users.length : 0// items</div>