harbor/static/resources/js/components/log/advanced-search.directive.html

68 lines
3.8 KiB
HTML
Raw Normal View History

<!--
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-07-08 03:24:27 +02:00
<div class="well panel-group well-custom" style="margin-left: 0; position: absolute; width: 98%;">
<div class="row">
<div class="pull-right clearfix"><a href="javascript:void(0);" ng-click="vm.close()"><span class="glyphicon glyphicon-remove-circle"></span></a></div>
<div class="col-xs-10 col-md-10">
<form class="form">
<div class="form-group">
2016-05-13 12:48:06 +02:00
<label for="">// 'operation' | tr //:</label>
</div>
<div class="form-group">
2016-05-13 12:48:06 +02:00
<input type="checkbox" ng-model="vm.opAll" ng-checked="vm.opCreate && vm.opPull && vm.opPush && vm.opDelete && vm.opOthers" ng-click="vm.checkOperation({checked: 'all'})">&nbsp;// 'all' | tr //&nbsp;&nbsp;
<input type="checkbox" ng-checked="vm.opCreate" ng-model="vm.opCreate" ng-click="vm.checkOperation({checked: 'create'})">&nbsp;Create&nbsp;&nbsp;
<input type="checkbox" ng-checked="vm.opPull" ng-model="vm.opPull" ng-click="vm.checkOperation({checked: 'pull'})">&nbsp;Pull&nbsp;&nbsp;
<input type="checkbox" ng-checked="vm.opPush" ng-model="vm.opPush" ng-click="vm.checkOperation({checked: 'push'})">&nbsp;Push&nbsp;&nbsp;
<input type="checkbox" ng-checked="vm.opDelete" ng-model="vm.opDelete" ng-click="vm.checkOperation({checked: 'delete'})">&nbsp;Delete&nbsp;&nbsp;
2016-05-13 12:48:06 +02:00
<input type="checkbox" ng-checked="vm.opOthers" ng-model="vm.opOthers" ng-click="vm.checkOperation({checked: 'others'})">&nbsp;// 'others' | tr //&nbsp;&nbsp;
<input type="text" ng-model="vm.others" size="10">
</div>
<div class="form-group">
2016-05-13 12:48:06 +02:00
<label for="">// 'duration' | tr //:</label>
</div>
2016-04-28 19:36:39 +02:00
<div class="form-group inline-block col-md-5">
2016-05-13 12:48:06 +02:00
<span class="datetime-picker-title">// 'from' | tr //:</span>
2016-04-28 19:36:39 +02:00
<!--date-picker picked-date="vm.fromDate"></date-picker-->
<div class="input-group datetimepicker">
<input id="fromDatePicker" class="form-control" type="text" readonly="readonly" ng-model="vm.fromDate" ng-change="vm.pickUp({key:'fromDate', value: vm.fromDate})">
<span class="input-group-addon">
<a href="javascript:void(0);"><span class="glyphicon glyphicon-calendar"></span></a>
2016-04-28 19:36:39 +02:00
</span>
</div>
</div>
<div class="form-group inline-block col-md-5">
2016-05-13 12:48:06 +02:00
<span class="datetime-picker-title">// 'to' | tr //:</span>
2016-04-28 19:36:39 +02:00
<div class="input-group datetimepicker">
<input id="toDatePicker" class="form-control" type="text" readonly="readonly" ng-model="vm.toDate" ng-change="vm.pickUp({key:'toDate', value: vm.toDate})">
<span class="input-group-addon">
<a href="javascript:void(0);"><span class="glyphicon glyphicon-calendar"></span></a>
2016-04-28 19:36:39 +02:00
</span>
</div>
</div>
2016-04-28 19:36:39 +02:00
</form>
</div>
<div class="col-xs-2 col-md-2">
<form>
2016-07-06 10:39:40 +02:00
<div class="form-group" style="margin-top: 69%;">
2016-07-04 13:09:19 +02:00
<button type="button" class="btn btn-primary" ng-click="vm.doSearch({op: vm.op})">// 'search' | tr //</button>
</div>
</form>
</div>
</div>
</div>