mirror of https://github.com/grafana/grafana
parent
805fd18b7b
commit
a1faaa133c
@ -1,36 +1,31 @@ |
||||
<query-editor-row ctrl="ctrl"></query-editor-row> |
||||
<query-editor-row query-ctrl="ctrl"> |
||||
|
||||
<div class="tight-form"> |
||||
<ul class="tight-form-list"> |
||||
<li class="tight-form-item query-keyword" style="width: 75px"> |
||||
Query |
||||
</li> |
||||
<li> |
||||
<input type="text" class="tight-form-input" style="width: 345px;" ng-model="ctrl.target.query" spellcheck='false' placeholder="Lucene query" ng-blur="ctrl.refresh()"> |
||||
</li> |
||||
<li class="tight-form-item query-keyword"> |
||||
Alias |
||||
</li> |
||||
<li> |
||||
<input type="text" class="tight-form-input" style="width: 200px;" ng-model="ctrl.target.alias" spellcheck='false' placeholder="alias patterns (empty = auto)" ng-blur="ctrl.refresh()"> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div class="gf-form-inline"> |
||||
<div class="gf-form gf-form-flex"> |
||||
<label class="gf-form-label query-keyword width-7">Query</label> |
||||
<input type="text" class="gf-form-input" ng-model="ctrl.target.query" spellcheck='false' placeholder="Lucene query" ng-blur="ctrl.refresh()"> |
||||
</div> |
||||
<div class="gf-form max-width-15"> |
||||
<label class="gf-form-label query-keyword">Alias</label> |
||||
<input type="text" class="gf-form-input" ng-model="ctrl.target.alias" spellcheck='false' placeholder="alias patterns (empty = auto)" ng-blur="ctrl.refresh()"> |
||||
</div> |
||||
</div> |
||||
|
||||
<div ng-repeat="agg in ctrl.target.metrics"> |
||||
<div ng-repeat="agg in ctrl.target.metrics"> |
||||
<elastic-metric-agg |
||||
target="ctrl.target" index="$index" |
||||
get-fields="ctrl.getFields($fieldType)" |
||||
on-change="ctrl.queryUpdated()" |
||||
es-version="ctrl.esVersion"> |
||||
</elastic-metric-agg> |
||||
</div> |
||||
</div> |
||||
|
||||
<div ng-repeat="agg in ctrl.target.bucketAggs"> |
||||
<div ng-repeat="agg in ctrl.target.bucketAggs"> |
||||
<elastic-bucket-agg |
||||
target="ctrl.target" index="$index" |
||||
get-fields="ctrl.getFields($fieldType)" |
||||
on-change="ctrl.queryUpdated()"> |
||||
</elastic-bucket-agg> |
||||
</div> |
||||
</div> |
||||
|
||||
</query-editor-row> |
||||
|
Loading…
Reference in new issue