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
d4dd0222
Commit
d4dd0222
authored
Aug 11, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: prometheus does not have two editor modes, fixes #9025
parent
16799577
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
+1
-5
public/app/features/dashboard/submenu/submenu.ts
+0
-4
public/app/plugins/datasource/prometheus/partials/query.editor.html
+1
-1
No files found.
public/app/features/dashboard/submenu/submenu.ts
View file @
d4dd0222
...
...
@@ -29,10 +29,6 @@ export class SubmenuCtrl {
var
search
=
_
.
extend
(
this
.
$location
.
search
(),
{
editview
:
editview
});
this
.
$location
.
search
(
search
);
}
exitBuildMode
()
{
this
.
dashboard
.
toggleEditMode
();
}
}
export
function
submenuDirective
()
{
...
...
public/app/plugins/datasource/prometheus/partials/query.editor.html
View file @
d4dd0222
<query-editor-row
query-ctrl=
"ctrl"
can-collapse=
"true"
has-text-edit-mode=
"
tru
e"
>
<query-editor-row
query-ctrl=
"ctrl"
can-collapse=
"true"
has-text-edit-mode=
"
fals
e"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form gf-form--grow"
>
<textarea
rows=
"3"
class=
"gf-form-input"
ng-model=
"ctrl.target.expr"
spellcheck=
"false"
placeholder=
"query expression"
data-min-length=
0
data-items=
100
give-focus=
"ctrl.target.refId == 'A'"
ng-model-onblur
ng-change=
"ctrl.refreshMetricData()"
></textarea>
...
...
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