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
896f849b
Commit
896f849b
authored
May 24, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: influxdb query editor did no show alias by input field when in text editor mode, fixes #8459
parent
b17a1ed5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
public/app/plugins/datasource/influxdb/partials/query.editor.html
+21
-3
No files found.
public/app/plugins/datasource/influxdb/partials/query.editor.html
View file @
896f849b
<query-editor-row
query-ctrl=
"ctrl"
can-collapse=
"true"
has-text-edit-mode=
"true"
>
<div
class=
"gf-form"
ng-if=
"ctrl.target.rawQuery"
>
<textarea
rows=
"3"
class=
"gf-form-input"
ng-model=
"ctrl.target.query"
spellcheck=
"false"
placeholder=
"InfuxDB Query"
ng-model-onblur
ng-change=
"ctrl.refresh()"
></textarea>
</div>
<div
ng-if=
"ctrl.target.rawQuery"
>
<div
class=
"gf-form"
>
<textarea
rows=
"3"
class=
"gf-form-input"
ng-model=
"ctrl.target.query"
spellcheck=
"false"
placeholder=
"InfuxDB Query"
ng-model-onblur
ng-change=
"ctrl.refresh()"
></textarea>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label query-keyword"
>
FORMAT AS
</label>
<div
class=
"gf-form-select-wrapper"
>
<select
class=
"gf-form-input gf-size-auto"
ng-model=
"ctrl.target.resultFormat"
ng-options=
"f.value as f.text for f in ctrl.resultFormats"
ng-change=
"ctrl.refresh()"
></select>
</div>
</div>
<div
class=
"gf-form max-width-25"
ng-hide=
"ctrl.target.resultFormat === 'table'"
>
<label
class=
"gf-form-label query-keyword"
>
ALIAS BY
</label>
<input
type=
"text"
class=
"gf-form-input"
ng-model=
"ctrl.target.alias"
spellcheck=
'false'
placeholder=
"Naming pattern"
ng-blur=
"ctrl.refresh()"
>
</div>
<div
class=
"gf-form gf-form--grow"
>
<div
class=
"gf-form-label gf-form-label--grow"
></div>
</div>
</div>
</div>
<div
ng-if=
"!ctrl.target.rawQuery"
>
...
...
@@ -123,5 +140,6 @@
<div
class=
"gf-form-label gf-form-label--grow"
></div>
</div>
</div>
</div>
</query-editor-row>
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