|
|
@@ -79,7 +79,7 @@
|
|
|
<input type="text" class="gf-form-input max-width-14" placeholder="name" ng-model='current.name'></input>
|
|
|
</div>
|
|
|
<div class="gf-form">
|
|
|
- <span class="gf-form-label width-7">Type</span>
|
|
|
+ <span class="gf-form-label width-4">Type</span>
|
|
|
<div class="gf-form-select-wrapper max-width-10">
|
|
|
<select class="gf-form-input max-width-10" ng-model="current.type" ng-options="f for f in ['query', 'interval', 'custom']" ng-change="typeChanged()"></select>
|
|
|
</div>
|
|
|
@@ -97,8 +97,9 @@
|
|
|
<input type="text" class="gf-form-input max-width-14" ng-model='current.label' placeholder="optional display name"></input>
|
|
|
</div>
|
|
|
<div class="gf-form">
|
|
|
- <editor-checkbox class="width-10" text="Hide label" model="current.hideLabel" change="runQuery()"></editor-checkbox>
|
|
|
- <editor-checkbox class="width-11" text="Hide variable" model="current.hideVariable" change="runQuery()"></editor-checkbox>
|
|
|
+ <span class="gf-form-label width-4">Hide</span>
|
|
|
+ <editor-checkbox text="Label" model="current.hideLabel" change="runQuery()"></editor-checkbox>
|
|
|
+ <editor-checkbox text="Variable" model="current.hideVariable" change="runQuery()"></editor-checkbox>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -133,14 +134,9 @@
|
|
|
<input type="text" class="gf-form-input max-width-22" ng-model='current.query' ng-blur="runQuery()" placeholder="1, 10, 20, myvalue"></input>
|
|
|
</div>
|
|
|
<div class="gf-form ">
|
|
|
+ <span class="gf-form-label width-13">Include All option</span>
|
|
|
+ <input ng-show="current.includeAll" type="text" class="gf-form-input max-width-22" ng-model='current.customAllValue' placeholder="auto"></input>
|
|
|
<editor-checkbox class="width-13" text="All value" model="current.includeAll" change="runQuery()"></editor-checkbox>
|
|
|
- <input ng-show="current.includeAll" type="text" class="gf-form-input max-width-22" ng-model='current.options[0].value' style="margin-left: 4px;"></input>
|
|
|
- </div>
|
|
|
- <div class="gf-form">
|
|
|
- <span class="gf-form-label width-13" ng-show="current.includeAll">All format</span>
|
|
|
- <div class="gf-form-select-wrapper max-width-10" ng-show="current.includeAll">
|
|
|
- <select class="gf-form-input" ng-model="current.allFormat" ng-change="runQuery()" ng-options="f for f in ['glob', 'wildcard', 'regex wildcard', 'regex values', 'lucene', 'pipe']"></select>
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -158,20 +154,9 @@
|
|
|
</div>
|
|
|
<div class="gf-form">
|
|
|
<span class="gf-form-label width-7">All value</span>
|
|
|
+ <input type="text" class="gf-form-input max-width-15" ng-show="current.includeAll" ng-model='current.customAllValue' placeholder="auto"></input>
|
|
|
<editor-checkbox class="width-13" text="Enable" model="current.includeAll" change="runQuery()"></editor-checkbox>
|
|
|
</div>
|
|
|
- <div class="gf-form-inline" ng-show="current.includeAll">
|
|
|
- <div class="gf-form">
|
|
|
- <span class="gf-form-label width-7">All format</span>
|
|
|
- <div class="gf-form-select-wrapper">
|
|
|
- <select class="gf-form-input" ng-model="current.allFormat" ng-change="runQuery()" ng-options="f for f in ['glob', 'wildcard', 'regex wildcard', 'regex values', 'lucene', 'pipe']"></select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="gf-form max-width-30">
|
|
|
- <span class="gf-form-label width-7">All value</span>
|
|
|
- <input type="text" class="gf-form-input" ng-model='current.options[0].value'></input>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
<div class="gf-form">
|
|
|
<span class="gf-form-label width-7">Update</span>
|
|
|
<editor-checkbox text="On Dashboard Load" model="current.refresh"></editor-checkbox>
|