mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
influx: small ux changes to query editor
This commit is contained in:
parent
952cc1d883
commit
a30cf204d7
@ -75,19 +75,19 @@
|
||||
<div class="gf-form-inline">
|
||||
<div class="gf-form">
|
||||
<label class="gf-form-label query-keyword width-7">ORDER BY</label>
|
||||
<label class="gf-form-label query-part">time</label>
|
||||
<label class="gf-form-label query-part width-4">time</label>
|
||||
<div class="gf-form-select-wrapper">
|
||||
<select class="gf-form-input gf-size-auto" ng-model="ctrl.target.orderByTime" ng-options="f.value as f.text for f in ctrl.orderByTime" ng-change="ctrl.refresh()"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="gf-form max-width-30">
|
||||
<label class="gf-form-label query-keyword width-7">LIMIT</label>
|
||||
|
||||
<div class="gf-form max-width-14">
|
||||
<label class="gf-form-label query-keyword width-5">LIMIT</label>
|
||||
<input type="text" class="gf-form-input" ng-model="ctrl.target.limit" spellcheck='false' placeholder="No Limit" ng-blur="ctrl.refresh()">
|
||||
</div>
|
||||
|
||||
<div class="gf-form max-width-30">
|
||||
<label class="gf-form-label query-keyword width-7">SLIMIT</label>
|
||||
|
||||
<div class="gf-form max-width-14">
|
||||
<label class="gf-form-label query-keyword width-5">SLIMIT</label>
|
||||
<input type="text" class="gf-form-input" ng-model="ctrl.target.slimit" spellcheck='false' placeholder="No Limit" ng-blur="ctrl.refresh()">
|
||||
</div>
|
||||
<div class="gf-form gf-form--grow">
|
||||
|
@ -34,8 +34,8 @@ export class InfluxQueryCtrl extends QueryCtrl {
|
||||
{text: 'Table', value: 'table'},
|
||||
];
|
||||
this.orderByTime = [
|
||||
{text: 'Ascending', value: 'ASC'},
|
||||
{text: 'Descending', value: 'DESC'},
|
||||
{text: 'ASC', value: 'ASC'},
|
||||
{text: 'DESC', value: 'DESC'},
|
||||
];
|
||||
|
||||
this.policySegment = uiSegmentSrv.newSegment(this.target.policy);
|
||||
|
Loading…
Reference in New Issue
Block a user