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" id="logs" element-height>
|
2016-04-17 17:53:26 +02:00
|
|
|
<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-04-17 17:53:26 +02:00
|
|
|
<span class="input-group-btn">
|
2016-04-28 19:36:39 +02:00
|
|
|
<button class="btn btn-primary" type="button" ng-click="vm.search({op: vm.op, username: vm.username})"><span class="glyphicon glyphicon-search"></span></button>
|
2016-04-17 17:53:26 +02:00
|
|
|
</span>
|
2016-04-22 18:49:52 +02:00
|
|
|
<span class="input-group-btn">
|
2016-05-13 12:48:06 +02:00
|
|
|
<button class="btn btn-link" type="button" ng-click="vm.showAdvancedSearch()">// 'advanced_search' | tr //</button>
|
2016-04-22 18:49:52 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-07-04 13:09:19 +02:00
|
|
|
<advanced-search ng-show="vm.isOpen" is-open="vm.isOpen" op="vm.op" others="vm.others" search='vm.search({op: vm.op, username: vm.username})' from-date="vm.fromDate" to-date="vm.toDate" op-others="vm.opOthers"></advanced-search>
|
2016-06-28 14:19:31 +02:00
|
|
|
<div class="pane">
|
|
|
|
<div class="sub-pane">
|
2016-06-28 11:43:05 +02:00
|
|
|
<div class="table-head-container">
|
|
|
|
<table class="table table-pane table-header">
|
|
|
|
<thead>
|
2016-07-12 10:01:56 +02:00
|
|
|
<th width="18%">// 'username' | tr //</th>
|
|
|
|
<th width="28%">// 'repository_name' | tr //</th>
|
|
|
|
<th width="15%">// 'tag' | tr //</th>
|
2016-06-28 11:43:05 +02:00
|
|
|
<th width="14%">// 'operation' | tr //</th>
|
2016-07-12 10:01:56 +02:00
|
|
|
<th width="25%">// 'timestamp' | tr //</th>
|
2016-06-28 11:43:05 +02:00
|
|
|
</thead>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-06-29 06:04:33 +02:00
|
|
|
<div class="table-body-container">
|
2016-06-28 11:43:05 +02:00
|
|
|
<table class="table table-pane">
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="log in vm.logs">
|
2016-07-12 10:01:56 +02:00
|
|
|
<td width="18%">//log.username//</td><td width="28%">//log.repo_name//</td><td width="15%">//log.repo_tag//</td><td width="14%">//log.operation//</td><td width="25%">//log.op_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td>
|
2016-06-28 11:43:05 +02:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-08-08 11:29:42 +02:00
|
|
|
</div>
|
|
|
|
<paginator ng-if="vm.totalCount > 0" total-count="//vm.totalCount//" page-size="//vm.pageSize//" page="vm.page" display-count="5"></paginator>
|
2016-04-17 17:53:26 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-06-28 11:43:05 +02:00
|
|
|
</div>
|