Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
a30cf204
Commit
a30cf204
authored
Mar 09, 2017
by
Daniel Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
influx: small ux changes to query editor
parent
952cc1d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
public/app/plugins/datasource/influxdb/partials/query.editor.html
+7
-7
public/app/plugins/datasource/influxdb/query_ctrl.ts
+2
-2
No files found.
public/app/plugins/datasource/influxdb/partials/query.editor.html
View file @
a30cf204
...
...
@@ -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"
>
...
...
public/app/plugins/datasource/influxdb/query_ctrl.ts
View file @
a30cf204
...
...
@@ -34,8 +34,8 @@ export class InfluxQueryCtrl extends QueryCtrl {
{
text
:
'Table'
,
value
:
'table'
},
];
this
.
orderByTime
=
[
{
text
:
'A
scending
'
,
value
:
'ASC'
},
{
text
:
'D
escending
'
,
value
:
'DESC'
},
{
text
:
'A
SC
'
,
value
:
'ASC'
},
{
text
:
'D
ESC
'
,
value
:
'DESC'
},
];
this
.
policySegment
=
uiSegmentSrv
.
newSegment
(
this
.
target
.
policy
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment