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
1aa5ed0c
Commit
1aa5ed0c
authored
Aug 25, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: minor fixes
parent
d87653b0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
public/app/features/dashboard/dashgrid/dashgrid.ts
+1
-0
public/app/features/panel/panel_ctrl.ts
+4
-5
public/app/plugins/panel/gettingstarted/module.ts
+1
-1
public/sass/pages/_dashboard.scss
+3
-0
No files found.
public/app/features/dashboard/dashgrid/dashgrid.ts
View file @
1aa5ed0c
...
...
@@ -174,6 +174,7 @@ export function dashGridItem($timeout, $rootScope) {
if
(
panel
.
id
!==
payload
.
panelId
)
{
return
;
}
gridCtrl
.
gridstack
.
locked
(
element
,
false
);
element
.
removeClass
(
'panel-fullscreen'
);
},
scope
);
...
...
public/app/features/panel/panel_ctrl.ts
View file @
1aa5ed0c
...
...
@@ -218,15 +218,14 @@ export class PanelCtrl {
}
replacePanel
(
newPanel
,
oldPanel
)
{
var
row
=
this
.
row
;
var
index
=
_
.
indexOf
(
this
.
row
.
panels
,
oldPanel
);
this
.
row
.
panels
.
splice
(
index
,
1
);
var
index
=
_
.
indexOf
(
this
.
dashboard
.
panels
,
oldPanel
);
this
.
dashboard
.
panels
.
splice
(
index
,
1
);
// adding it back needs to be done in next digest
this
.
$timeout
(()
=>
{
newPanel
.
id
=
oldPanel
.
id
;
newPanel
.
span
=
oldPanel
.
span
;
this
.
row
.
panels
.
splice
(
index
,
0
,
newPanel
);
newPanel
.
width
=
oldPanel
.
width
;
this
.
dashboard
.
panels
.
splice
(
index
,
0
,
newPanel
);
});
}
...
...
public/app/plugins/panel/gettingstarted/module.ts
View file @
1aa5ed0c
...
...
@@ -104,7 +104,7 @@ class GettingStartedPanelCtrl extends PanelCtrl {
}
dismiss
()
{
this
.
row
.
removePanel
(
this
.
panel
,
false
);
this
.
dashboard
.
removePanel
(
this
.
panel
,
false
);
this
.
backendSrv
.
request
({
method
:
'PUT'
,
...
...
public/sass/pages/_dashboard.scss
View file @
1aa5ed0c
...
...
@@ -225,6 +225,9 @@ div.flot-text {
.panel-fullscreen
{
display
:
block
!
important
;
>
.ui-resizable-handle
{
display
:
none
!
important
;
}
}
}
...
...
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