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
b8d861ed
Commit
b8d861ed
authored
May 03, 2016
by
Utkarsh Bhatnagar
Committed by
Torkel Ödegaard
May 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed query editor UI for keywords (#4890)
parent
152e0853
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
public/app/plugins/datasource/opentsdb/partials/query.editor.html
+10
-6
No files found.
public/app/plugins/datasource/opentsdb/partials/query.editor.html
View file @
b8d861ed
...
...
@@ -81,6 +81,7 @@
<gf-form-switch
class=
"gf-form"
label=
"Disable downsampling"
label-class=
"query-keyword"
checked=
"ctrl.target.disableDownsampling"
on-change=
"ctrl.targetBlur()"
>
</gf-form-switch>
...
...
@@ -125,7 +126,7 @@
</div>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label"
>
Type
</label>
<label
class=
"gf-form-label
query-keyword
"
>
Type
</label>
<div
class=
"gf-form-select-wrapper"
>
<select
ng-model=
"ctrl.target.currentFilterType"
class=
"gf-form-input"
ng-options=
"filType for filType in ctrl.filterTypes"
>
</select>
...
...
@@ -137,7 +138,11 @@
</input>
</div>
<gf-form-switch
class=
"gf-form"
label=
"Group by"
checked=
"ctrl.target.currentFilterGroupBy"
on-change=
"ctrl.targetBlur()"
>
<gf-form-switch
class=
"gf-form"
label=
"Group by"
label-class=
"query-keyword"
checked=
"ctrl.target.currentFilterGroupBy"
on-change=
"ctrl.targetBlur()"
>
</gf-form-switch>
<div
class=
"gf-form"
ng-show=
"ctrl.addFilterMode"
>
...
...
@@ -146,7 +151,6 @@
<i
class=
"fa fa-warning"
></i>
</a>
</label>
<label
class=
"gf-form-label"
>
<a
ng-click=
"ctrl.addFilter()"
ng-hide=
"ctrl.errors.filters"
>
add filter
</a>
<a
ng-click=
"ctrl.closeAddFilterMode()"
>
...
...
@@ -223,12 +227,12 @@
</gf-form-switch>
<gf-form-switch
ng-hide=
"!ctrl.target.shouldComputeRate"
class=
"gf-form"
label=
"Counter"
checked=
"ctrl.target.isCounter"
on-change=
"ctrl.targetBlur()"
>
class=
"gf-form"
label=
"Counter"
label-class=
"query-keyword"
checked=
"ctrl.target.isCounter"
on-change=
"ctrl.targetBlur()"
>
</gf-form-switch>
<div
class=
"gf-form"
ng-hide=
"!ctrl.target.isCounter || !ctrl.target.shouldComputeRate"
>
<label
class=
"gf-form-label"
>
Counter Max
</label>
<label
class=
"gf-form-label
query-keyword
"
>
Counter Max
</label>
<input
type=
"text"
class=
"gf-form-input"
ng-disabled=
"!ctrl.target.shouldComputeRate"
ng-model=
"ctrl.target.counterMax"
spellcheck=
'false'
...
...
@@ -236,7 +240,7 @@
ng-blur=
"ctrl.targetBlur()"
>
</input>
<label
class=
"gf-form-label"
>
Reset Value
</label>
<label
class=
"gf-form-label
query-keyword
"
>
Reset Value
</label>
<input
type=
"text"
class=
"tight-form-input input-small"
ng-disabled=
"!ctrl.target.shouldComputeRate"
ng-model=
"ctrl.target.counterResetValue"
spellcheck=
'false'
...
...
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