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
05fc3453
Commit
05fc3453
authored
Jun 26, 2015
by
Sébastien Bouchex Bellomié
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'grafana/master'
parents
aba824a3
20d5d0ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
public/app/components/extend-jquery.js
+3
-3
public/app/features/dashboard/playlistCtrl.js
+2
-2
public/app/features/dashboard/playlistSrv.js
+1
-1
No files found.
public/app/components/extend-jquery.js
View file @
05fc3453
...
@@ -24,14 +24,14 @@ function ($, angular, _) {
...
@@ -24,14 +24,14 @@ function ($, angular, _) {
$tooltip
.
appendTo
(
document
.
body
);
$tooltip
.
appendTo
(
document
.
body
);
if
(
opts
.
compile
)
{
if
(
opts
.
compile
)
{
angular
.
element
(
document
).
injector
().
invoke
(
function
(
$compile
,
$rootScope
)
{
angular
.
element
(
document
).
injector
().
invoke
(
[
"$compile"
,
"$rootScope"
,
function
(
$compile
,
$rootScope
)
{
var
tmpScope
=
$rootScope
.
$new
(
true
);
var
tmpScope
=
$rootScope
.
$new
(
true
);
_
.
extend
(
tmpScope
,
opts
.
scopeData
);
_
.
extend
(
tmpScope
,
opts
.
scopeData
);
$compile
(
$tooltip
)(
tmpScope
);
$compile
(
$tooltip
)(
tmpScope
);
tmpScope
.
$digest
();
tmpScope
.
$digest
();
//
tmpScope.$destroy();
tmpScope
.
$destroy
();
});
}
]
);
}
}
width
=
$tooltip
.
outerWidth
(
true
);
width
=
$tooltip
.
outerWidth
(
true
);
...
...
public/app/features/dashboard/playlistCtrl.js
View file @
05fc3453
...
@@ -25,14 +25,14 @@ function (angular, _, config) {
...
@@ -25,14 +25,14 @@ function (angular, _, config) {
}
}
backendSrv
.
search
(
query
).
then
(
function
(
results
)
{
backendSrv
.
search
(
query
).
then
(
function
(
results
)
{
$scope
.
searchHits
=
results
.
dashboards
;
$scope
.
searchHits
=
results
;
$scope
.
filterHits
();
$scope
.
filterHits
();
});
});
};
};
$scope
.
filterHits
=
function
()
{
$scope
.
filterHits
=
function
()
{
$scope
.
filteredHits
=
_
.
reject
(
$scope
.
searchHits
,
function
(
dash
)
{
$scope
.
filteredHits
=
_
.
reject
(
$scope
.
searchHits
,
function
(
dash
)
{
return
_
.
findWhere
(
$scope
.
playlist
,
{
slug
:
dash
.
slug
});
return
_
.
findWhere
(
$scope
.
playlist
,
{
uri
:
dash
.
uri
});
});
});
};
};
...
...
public/app/features/dashboard/playlistSrv.js
View file @
05fc3453
...
@@ -18,7 +18,7 @@ function (angular, _, kbn) {
...
@@ -18,7 +18,7 @@ function (angular, _, kbn) {
angular
.
element
(
window
).
unbind
(
'resize'
);
angular
.
element
(
window
).
unbind
(
'resize'
);
var
dash
=
self
.
dashboards
[
self
.
index
%
self
.
dashboards
.
length
];
var
dash
=
self
.
dashboards
[
self
.
index
%
self
.
dashboards
.
length
];
$location
.
url
(
'dashboard/
db/'
+
dash
.
slug
);
$location
.
url
(
'dashboard/
'
+
dash
.
uri
);
self
.
index
++
;
self
.
index
++
;
self
.
cancelPromise
=
$timeout
(
self
.
next
,
self
.
interval
);
self
.
cancelPromise
=
$timeout
(
self
.
next
,
self
.
interval
);
...
...
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