2016-07-07 18:03:32 +02:00
|
|
|
<!--
|
|
|
|
Copyright (c) 2016 VMware, Inc. All Rights Reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2016-06-26 06:56:58 +02:00
|
|
|
<div class="tab-pane" element-height>
|
|
|
|
<div class="col-xs-12 col-md-12 each-tab-pane">
|
|
|
|
<div class="form-inline">
|
|
|
|
<div class="input-group">
|
2016-07-11 10:11:54 +02:00
|
|
|
<input type="text" id="txtSearchInput" class="form-control" placeholder="" ng-model="vm.username" size="30">
|
2016-06-26 06:56:58 +02:00
|
|
|
<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 class="pane">
|
2016-06-29 07:40:29 +02:00
|
|
|
<div class="sub-pane">
|
|
|
|
<div class="table-head-container">
|
|
|
|
<table class="table table-pane table-header">
|
|
|
|
<thead>
|
|
|
|
<th width="15%">// 'username' | tr //</th>
|
|
|
|
<th width="20%">// 'email' | tr //</th>
|
|
|
|
<th width="35%">// 'registration_time' | tr //</th>
|
|
|
|
<th width="15%">// 'administrator' | tr //</th>
|
|
|
|
<th width="20%">// 'operation' | tr //</th>
|
|
|
|
</thead>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="table-body-container">
|
|
|
|
<table class="table table-pane">
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="u in vm.users">
|
2016-06-30 09:57:00 +02:00
|
|
|
<td width="15%">//u.username//</td>
|
|
|
|
<td width="20%">//u.email//</td>
|
|
|
|
<td width="35%">//u.creation_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td>
|
|
|
|
<td width="15%">
|
2016-06-29 07:40:29 +02:00
|
|
|
<toggle-admin has-admin-role="u.has_admin_role == 1" user-id="//u.user_id//"></toggle-admin>
|
|
|
|
</td>
|
2016-06-30 09:57:00 +02:00
|
|
|
<td width="20%">
|
2016-07-06 14:22:45 +02:00
|
|
|
<a href="javascript:void(0)" ng-click="vm.confirmToDelete(u.user_id, u.username)"><span class="glyphicon glyphicon-trash"></span></a>
|
2016-06-29 07:40:29 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-06-26 06:56:58 +02:00
|
|
|
</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>
|
2016-06-07 10:49:38 +02:00
|
|
|
</div>
|
2016-06-26 06:56:58 +02:00
|
|
|
</div>
|
2016-06-07 10:49:38 +02:00
|
|
|
</div>
|
|
|
|
|
2016-06-25 21:12:17 +02:00
|
|
|
|