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
f5281426
Unverified
Commit
f5281426
authored
Nov 16, 2018
by
Marcus Efraimsson
Committed by
GitHub
Nov 16, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14089 from grafana/fixed-alert-tab-location
fixed alert tab order and fixed some console logging issues
parents
907c84f7
905ef220
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
public/app/core/services/dynamic_directive_srv.ts
+0
-1
public/app/core/services/keybindingSrv.ts
+2
-2
public/app/plugins/panel/graph/module.ts
+1
-1
No files found.
public/app/core/services/dynamic_directive_srv.ts
View file @
f5281426
...
...
@@ -21,7 +21,6 @@ class DynamicDirectiveSrv {
}
if
(
!
directiveInfo
.
fn
.
registered
)
{
console
.
log
(
'register panel tab'
);
coreModule
.
directive
(
attrs
.
$normalize
(
directiveInfo
.
name
),
directiveInfo
.
fn
);
directiveInfo
.
fn
.
registered
=
true
;
}
...
...
public/app/core/services/keybindingSrv.ts
View file @
f5281426
...
...
@@ -32,8 +32,8 @@ export class KeybindingSrv {
this
.
setupGlobal
();
appEvents
.
on
(
'show-modal'
,
()
=>
(
this
.
modalOpen
=
true
));
$rootScope
.
onAppEvent
(
'timepickerOpen'
,
()
=>
(
this
.
timepickerOpen
=
true
));
$rootScope
.
onAppEvent
(
'timepickerClosed'
,
()
=>
(
this
.
timepickerOpen
=
false
));
appEvents
.
on
(
'timepickerOpen'
,
()
=>
(
this
.
timepickerOpen
=
true
));
appEvents
.
on
(
'timepickerClosed'
,
()
=>
(
this
.
timepickerOpen
=
false
));
}
setupGlobal
()
{
...
...
public/app/plugins/panel/graph/module.ts
View file @
f5281426
...
...
@@ -135,9 +135,9 @@ class GraphCtrl extends MetricsPanelCtrl {
}
onInitEditMode
()
{
this
.
addEditorTab
(
'Display'
,
'public/app/plugins/panel/graph/tab_display.html'
,
4
);
this
.
addEditorTab
(
'Axes'
,
axesEditorComponent
,
2
);
this
.
addEditorTab
(
'Legend'
,
'public/app/plugins/panel/graph/tab_legend.html'
,
3
);
this
.
addEditorTab
(
'Display'
,
'public/app/plugins/panel/graph/tab_display.html'
,
4
);
if
(
config
.
alertingEnabled
)
{
this
.
addEditorTab
(
'Alert'
,
alertTab
,
5
);
...
...
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