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
4d13a5bf
Commit
4d13a5bf
authored
Mar 23, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing style check
parent
7614ddb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
12 deletions
+1
-12
src/app/features/dashboard/sharePanelCtrl.js
+0
-11
src/app/features/dashboard/shareSnapshotCtrl.js
+1
-1
No files found.
src/app/features/dashboard/sharePanelCtrl.js
View file @
4d13a5bf
...
@@ -81,17 +81,6 @@ function (angular, _, require, config) {
...
@@ -81,17 +81,6 @@ function (angular, _, require, config) {
$scope
.
imageUrl
+=
'&height=500'
;
$scope
.
imageUrl
+=
'&height=500'
;
};
};
$scope
.
snapshot
=
function
()
{
$scope
.
dashboard
.
snapshot
=
true
;
$rootScope
.
$broadcast
(
'refresh'
);
$timeout
(
function
()
{
$scope
.
exportDashboard
();
$scope
.
dashboard
.
snapshot
=
false
;
$scope
.
appEvent
(
'dashboard-snapshot-cleanup'
);
},
1000
);
};
$scope
.
init
();
$scope
.
init
();
});
});
...
...
src/app/features/dashboard/shareSnapshotCtrl.js
View file @
4d13a5bf
...
@@ -21,7 +21,7 @@ function (angular) {
...
@@ -21,7 +21,7 @@ function (angular) {
var
dash
=
angular
.
copy
(
$scope
.
dashboard
);
var
dash
=
angular
.
copy
(
$scope
.
dashboard
);
dash
.
title
=
$scope
.
snapshot
.
name
;
dash
.
title
=
$scope
.
snapshot
.
name
;
dash
.
forEachPanel
(
function
(
panel
){
dash
.
forEachPanel
(
function
(
panel
)
{
panel
.
targets
=
[];
panel
.
targets
=
[];
panel
.
links
=
[];
panel
.
links
=
[];
});
});
...
...
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