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
Show 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 @@
...
@@ -81,6 +81,7 @@
<gf-form-switch
class=
"gf-form"
<gf-form-switch
class=
"gf-form"
label=
"Disable downsampling"
label=
"Disable downsampling"
label-class=
"query-keyword"
checked=
"ctrl.target.disableDownsampling"
checked=
"ctrl.target.disableDownsampling"
on-change=
"ctrl.targetBlur()"
>
on-change=
"ctrl.targetBlur()"
>
</gf-form-switch>
</gf-form-switch>
...
@@ -125,7 +126,7 @@
...
@@ -125,7 +126,7 @@
</div>
</div>
<div
class=
"gf-form"
>
<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"
>
<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
ng-model=
"ctrl.target.currentFilterType"
class=
"gf-form-input"
ng-options=
"filType for filType in ctrl.filterTypes"
>
</select>
</select>
...
@@ -137,7 +138,11 @@
...
@@ -137,7 +138,11 @@
</input>
</input>
</div>
</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>
</gf-form-switch>
<div
class=
"gf-form"
ng-show=
"ctrl.addFilterMode"
>
<div
class=
"gf-form"
ng-show=
"ctrl.addFilterMode"
>
...
@@ -146,7 +151,6 @@
...
@@ -146,7 +151,6 @@
<i
class=
"fa fa-warning"
></i>
<i
class=
"fa fa-warning"
></i>
</a>
</a>
</label>
</label>
<label
class=
"gf-form-label"
>
<label
class=
"gf-form-label"
>
<a
ng-click=
"ctrl.addFilter()"
ng-hide=
"ctrl.errors.filters"
>
add filter
</a>
<a
ng-click=
"ctrl.addFilter()"
ng-hide=
"ctrl.errors.filters"
>
add filter
</a>
<a
ng-click=
"ctrl.closeAddFilterMode()"
>
<a
ng-click=
"ctrl.closeAddFilterMode()"
>
...
@@ -223,12 +227,12 @@
...
@@ -223,12 +227,12 @@
</gf-form-switch>
</gf-form-switch>
<gf-form-switch
ng-hide=
"!ctrl.target.shouldComputeRate"
<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>
</gf-form-switch>
<div
class=
"gf-form"
ng-hide=
"!ctrl.target.isCounter || !ctrl.target.shouldComputeRate"
>
<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"
<input
type=
"text"
class=
"gf-form-input"
ng-disabled=
"!ctrl.target.shouldComputeRate"
ng-disabled=
"!ctrl.target.shouldComputeRate"
ng-model=
"ctrl.target.counterMax"
spellcheck=
'false'
ng-model=
"ctrl.target.counterMax"
spellcheck=
'false'
...
@@ -236,7 +240,7 @@
...
@@ -236,7 +240,7 @@
ng-blur=
"ctrl.targetBlur()"
>
ng-blur=
"ctrl.targetBlur()"
>
</input>
</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"
<input
type=
"text"
class=
"tight-form-input input-small"
ng-disabled=
"!ctrl.target.shouldComputeRate"
ng-disabled=
"!ctrl.target.shouldComputeRate"
ng-model=
"ctrl.target.counterResetValue"
spellcheck=
'false'
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