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
0f7e4c7d
Commit
0f7e4c7d
authored
Dec 27, 2013
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tabs fix in fulleditor
parent
9f04c502
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/app/panels/graphite/module.html
+1
-1
src/app/panels/graphite/module.js
+1
-4
No files found.
src/app/panels/graphite/module.html
View file @
0f7e4c7d
...
...
@@ -62,7 +62,7 @@
<div
class=
"panel-full-edit-tabs"
ng-if=
"inEditMode"
>
<div
ng-model=
"editor.index"
bs-tabs
>
<div
ng-repeat=
"tab in
setEditorTabs(panelMeta)
"
data-title=
"{{tab}}"
>
<div
ng-repeat=
"tab in
editorTabs
"
data-title=
"{{tab}}"
>
</div>
</div>
<div
ng-show=
"editorTabs[editor.index] == 'General'"
>
...
...
src/app/panels/graphite/module.js
View file @
0f7e4c7d
...
...
@@ -215,6 +215,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
// Hide view options by default
$scope
.
options
=
false
;
$scope
.
editor
=
{
index
:
1
};
$scope
.
editorTabs
=
_
.
union
([
'General'
],
_
.
pluck
(
$scope
.
panelMeta
.
fullEditorTabs
,
'title'
));
$scope
.
hiddenSeries
=
{};
// Always show the query if an alias isn't set. Users can set an alias if the query is too
...
...
@@ -441,10 +442,6 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
$scope
.
$emit
(
'toggleLegend'
,
info
.
alias
);
};
$scope
.
setEditorTabs
=
function
(
panelMeta
)
{
$scope
.
editorTabs
=
_
.
union
([
'General'
],
_
.
pluck
(
panelMeta
.
fullEditorTabs
,
'title'
));
};
});
module
.
directive
(
'histogramChart'
,
function
(
filterSrv
)
{
...
...
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