Move query options to top of metric functions.
This commit is contained in:
@@ -126,6 +126,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Query options -->
|
||||||
|
<div class="gf-form-group" ng-if="ctrl.showQueryOptions">
|
||||||
|
<div class="gf-form offset-width-7">
|
||||||
|
<gf-form-switch class="gf-form" ng-hide="ctrl.target.mode == 2"
|
||||||
|
label="Show disabled items"
|
||||||
|
checked="ctrl.target.options.showDisabledItems"
|
||||||
|
on-change="ctrl.onQueryOptionChange()">
|
||||||
|
</gf-form-switch>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Metric processing functions -->
|
<!-- Metric processing functions -->
|
||||||
<div class="gf-form-inline" ng-hide="ctrl.target.mode">
|
<div class="gf-form-inline" ng-hide="ctrl.target.mode">
|
||||||
<div class="gf-form">
|
<div class="gf-form">
|
||||||
@@ -156,15 +167,4 @@
|
|||||||
</gf-form-switch>
|
</gf-form-switch>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Query options -->
|
|
||||||
<div class="gf-form-group" ng-if="ctrl.showQueryOptions">
|
|
||||||
<div class="gf-form offset-width-7">
|
|
||||||
<gf-form-switch class="gf-form" ng-hide="ctrl.target.mode == 2"
|
|
||||||
label="Show disabled items"
|
|
||||||
checked="ctrl.target.options.showDisabledItems"
|
|
||||||
on-change="ctrl.onQueryOptionChange()">
|
|
||||||
</gf-form-switch>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</query-editor-row>
|
</query-editor-row>
|
||||||
|
|||||||
Reference in New Issue
Block a user