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-04-27 12:29:55 +02:00
|
|
|
<input type="text" 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-06-20 04:59:18 +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"></advanced-search>
|
2016-04-22 18:49:52 +02:00
|
|
|
<div class="pane">
|
|
|
|
<div class="sub-pane">
|
|
|
|
<table class="table table-pane">
|
|
|
|
<thead>
|
2016-05-13 12:48:06 +02:00
|
|
|
<th>// 'username' | tr //</th><th>// 'repository_name' | tr //</th><th>// 'operation' | tr //</th><th>// 'timestamp' | tr //</th>
|
2016-04-22 18:49:52 +02:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-04-27 12:29:55 +02:00
|
|
|
<tr ng-repeat="log in vm.logs">
|
2016-06-26 06:56:58 +02:00
|
|
|
<td>//log.username//</td><td>//log.repo_name//</td><td>//log.operation//</td><td>//log.op_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td>
|
2016-04-22 18:49:52 +02:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-04-17 17:53:26 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|