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
60a8fe31
Commit
60a8fe31
authored
Apr 08, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #297, filter remove fix
parent
93ab2a93
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/app/panels/filtering/module.html
+1
-1
src/app/panels/filtering/module.js
+2
-2
No files found.
src/app/panels/filtering/module.html
View file @
60a8fe31
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
'filtering-container'
>
<div
class=
'filtering-container'
>
<div
ng-repeat=
"filter in filter
L
ist"
class=
"small filter-panel-filter"
>
<div
ng-repeat=
"filter in filter
Srv.l
ist"
class=
"small filter-panel-filter"
>
<div>
<div>
<i
class=
"filter-action pointer icon-remove"
bs-tooltip=
"'Remove'"
ng-click=
"remove(filter)"
></i>
<i
class=
"filter-action pointer icon-remove"
bs-tooltip=
"'Remove'"
ng-click=
"remove(filter)"
></i>
<i
class=
"filter-action pointer icon-edit"
ng-hide=
"filter.editing"
bs-tooltip=
"'Edit'"
ng-click=
"filter.editing = true"
></i>
<i
class=
"filter-action pointer icon-edit"
ng-hide=
"filter.editing"
bs-tooltip=
"'Edit'"
ng-click=
"filter.editing = true"
></i>
...
...
src/app/panels/filtering/module.js
View file @
60a8fe31
...
@@ -27,7 +27,7 @@ function (angular, app, _) {
...
@@ -27,7 +27,7 @@ function (angular, app, _) {
_
.
defaults
(
$scope
.
panel
,
_d
);
_
.
defaults
(
$scope
.
panel
,
_d
);
$scope
.
init
=
function
()
{
$scope
.
init
=
function
()
{
$scope
.
filter
List
=
filterSrv
.
list
;
$scope
.
filter
Srv
=
filterSrv
;
};
};
$scope
.
remove
=
function
(
filter
)
{
$scope
.
remove
=
function
(
filter
)
{
...
@@ -40,7 +40,7 @@ function (angular, app, _) {
...
@@ -40,7 +40,7 @@ function (angular, app, _) {
};
};
$scope
.
applyFilterToOtherFilters
=
function
(
updatedFilter
)
{
$scope
.
applyFilterToOtherFilters
=
function
(
updatedFilter
)
{
_
.
each
(
$scope
.
filterL
ist
,
function
(
filter
)
{
_
.
each
(
filterSrv
.
l
ist
,
function
(
filter
)
{
if
(
filter
===
updatedFilter
)
{
if
(
filter
===
updatedFilter
)
{
return
;
return
;
}
}
...
...
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