forked from grafana/kentik-app
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from kentik/autocomplete-for-plugin-#4
Autocomplete for plugin #4
- Loading branch information
Showing
8 changed files
with
182 additions
and
9,935 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ dist/ | |
.vscode/ | ||
|
||
package-lock.json | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,45 @@ | ||
<query-editor-row query-ctrl="ctrl" can-collapse="false"> | ||
<div class="gf-form-inline"> | ||
<div class="gf-form"> | ||
<label class="gf-form-label width-7">Device</label> | ||
<input type="text" class="gf-form-input width-11" ng-model="ctrl.target.device"></input> | ||
</div> | ||
<div class="gf-form"> | ||
<label class="gf-form-label width-7">Metric</label> | ||
<input type="text" class="gf-form-input width-11" ng-model="ctrl.target.metric"></input> | ||
</div> | ||
<div class="gf-form gf-form--grow"> | ||
<div class="gf-form-label gf-form-label--grow"></div> | ||
</div> | ||
</div> | ||
<div class="gf-form-inline"> | ||
<div class="gf-form"> | ||
<label class="gf-form-label width-7">Unit</label> | ||
<input type="text" class="gf-form-input width-11" ng-model="ctrl.target.unit"></input> | ||
</div> | ||
<div class="gf-form"> | ||
<label class="gf-form-label width-7">Data mode</label> | ||
<div class="gf-form-select-wrapper width-11"> | ||
<select class="gf-form-input" ng-model="ctrl.target.mode" ng-options="f.value as f.text for f in ctrl.queryModes" ng-change="ctrl.refresh()"></select> | ||
</div> | ||
</div> | ||
<div class="gf-form gf-form--grow"> | ||
<div class="gf-form-label gf-form-label--grow"></div> | ||
</div> | ||
</div> | ||
<div class="gf-form-inline"> | ||
<div class="gf-form"> | ||
<label class="gf-form-label width-7">Device</label> | ||
<metric-segment | ||
class="width-11" | ||
segment="ctrl.deviceSegment" | ||
get-options="ctrl.getDevices($query)" | ||
on-change="ctrl.onDeviceChange()" | ||
></metric-segment> | ||
</div> | ||
<div class="gf-form"> | ||
<label class="gf-form-label width-7">Metric</label> | ||
<metric-segment | ||
class="width-11" | ||
segment="ctrl.metricSegment" | ||
get-options="ctrl.getMetrics($query)" | ||
on-change="ctrl.onMetricChange()" | ||
></metric-segment> | ||
</div> | ||
<div class="gf-form gf-form--grow"> | ||
<div class="gf-form-label gf-form-label--grow"></div> | ||
</div> | ||
</div> | ||
<div class="gf-form-inline"> | ||
<div class="gf-form"> | ||
<label class="gf-form-label width-7">Unit</label> | ||
<metric-segment | ||
class="width-11" | ||
segment="ctrl.unitSegment" | ||
get-options="ctrl.getUnits($query)" | ||
on-change="ctrl.onUnitChange()" | ||
></metric-segment> | ||
</div> | ||
<div class="gf-form"> | ||
<label class="gf-form-label width-7">Data mode</label> | ||
<div class="gf-form-select-wrapper width-11"> | ||
<select class="gf-form-input" ng-model="ctrl.target.mode" ng-options="f.value as f.text for f in ctrl.queryModes" ng-change="ctrl.refresh()"></select> | ||
</div> | ||
</div> | ||
<div class="gf-form gf-form--grow"> | ||
<div class="gf-form-label gf-form-label--grow"></div> | ||
</div> | ||
</div> | ||
</query-editor-row> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.