mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-08 11:41:54 +01:00
42 lines
1.6 KiB
HTML
42 lines
1.6 KiB
HTML
<div class="search-pane">
|
|
<div class="form-inline">
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" placeholder="" ng-model="vm.username" size="30">
|
|
<span class="input-group-btn">
|
|
<button class="btn btn-primary" type="button" ng-click="vm.searchUser()"><span class="glyphicon glyphicon-search"></span></button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="pane project-pane">
|
|
<modal-dialog modal-title="// 'confirm_to_delete_user_title' | tr //" modal-message="// 'confirm_to_delete_user' | tr //" action="vm.deleteUser()"></modal-dialog>
|
|
<div class="sub-pane">
|
|
<table class="table">
|
|
<thead>
|
|
<th>// 'username' | tr //</th>
|
|
<th>// 'email' | tr //</th>
|
|
<th>// 'registration_time' | tr //</th>
|
|
<th>// 'administrator' | tr //</th>
|
|
<th>// 'operation' | tr //</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="u in vm.users">
|
|
<td>//u.username//</td>
|
|
<td>//u.email//</td>
|
|
<td>//u.creation_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td>
|
|
<td>
|
|
<toggle-admin has-admin-role="u.has_admin_role == 1" user-id="//u.user_id//"></toggle-admin>
|
|
</td>
|
|
<td>
|
|
<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 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>
|
|
</div>
|
|
|