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
1e6ea8b1
Commit
1e6ea8b1
authored
Nov 23, 2018
by
Erik Sundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename variable
parent
65c744c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
public/app/features/explore/QueryEditor.tsx
+1
-1
public/app/features/panel/partials/query_editor_row.html
+2
-2
public/app/features/panel/query_editor_row.ts
+2
-2
No files found.
public/app/features/explore/QueryEditor.tsx
View file @
1e6ea8b1
...
...
@@ -41,7 +41,7 @@ export default class QueryEditor extends PureComponent<QueryEditorProps, any> {
dashboard
:
{
getNextQueryLetter
:
x
=>
''
,
},
hide
RowButt
ons
:
true
,
hide
EditorRowActi
ons
:
true
,
},
};
...
...
public/app/features/panel/partials/query_editor_row.html
View file @
1e6ea8b1
<div
class=
"gf-form-query"
>
<div
ng-if=
"!ctrl.hide
RowButt
ons"
class=
"gf-form gf-form-query-letter-cell"
>
<div
ng-if=
"!ctrl.hide
EditorRowActi
ons"
class=
"gf-form gf-form-query-letter-cell"
>
<label
class=
"gf-form-label"
>
<a
class=
"pointer"
tabindex=
"1"
ng-click=
"ctrl.toggleCollapse()"
>
<span
ng-class=
"{muted: !ctrl.canCollapse}"
class=
"gf-form-query-letter-cell-carret"
>
...
...
@@ -22,7 +22,7 @@
<div
ng-transclude
class=
"gf-form-query-content"
ng-if=
"!ctrl.collapsed"
></div>
<div
ng-if=
"!ctrl.hide
RowButt
ons"
class=
"gf-form"
>
<div
ng-if=
"!ctrl.hide
EditorRowActi
ons"
class=
"gf-form"
>
<label
class=
"gf-form-label dropdown"
>
<a
class=
"pointer dropdown-toggle"
data-toggle=
"dropdown"
tabindex=
"1"
>
<i
class=
"fa fa-bars"
></i>
</a>
<ul
class=
"dropdown-menu pull-right"
role=
"menu"
>
...
...
public/app/features/panel/query_editor_row.ts
View file @
1e6ea8b1
...
...
@@ -11,13 +11,13 @@ export class QueryRowCtrl {
panelCtrl
:
any
;
panel
:
any
;
collapsed
:
any
;
hide
RowButt
ons
:
boolean
;
hide
EditorRowActi
ons
:
boolean
;
constructor
()
{
this
.
panelCtrl
=
this
.
queryCtrl
.
panelCtrl
;
this
.
target
=
this
.
queryCtrl
.
target
;
this
.
panel
=
this
.
panelCtrl
.
panel
;
this
.
hide
RowButtons
=
this
.
panelCtrl
.
hideRowButt
ons
;
this
.
hide
EditorRowActions
=
this
.
panelCtrl
.
hideEditorRowActi
ons
;
if
(
!
this
.
target
.
refId
)
{
this
.
target
.
refId
=
this
.
panelCtrl
.
dashboard
.
getNextQueryLetter
(
this
.
panel
);
...
...
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