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
6886faa9
Commit
6886faa9
authored
Feb 01, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(plugins): fixed cloudwatch query editor
parent
3f945e88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
public/app/plugins/datasource/cloudwatch/partials/query.editor.html
+6
-6
public/app/plugins/datasource/cloudwatch/query_ctrl.js
+1
-1
No files found.
public/app/plugins/datasource/cloudwatch/partials/query.editor.html
View file @
6886faa9
...
...
@@ -6,14 +6,14 @@
<i
class=
"fa fa-bars"
></i>
</a>
<ul
class=
"dropdown-menu pull-right"
role=
"menu"
>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"duplicateDataQuery(target)"
>
Duplicate
</a></li>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"moveDataQuery($index, $index-1)"
>
Move up
</a></li>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"moveDataQuery($index, $index+1)"
>
Move down
</a></li>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"
ctrl.
duplicateDataQuery(target)"
>
Duplicate
</a></li>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"
ctrl.
moveDataQuery($index, $index-1)"
>
Move up
</a></li>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"
ctrl.
moveDataQuery($index, $index+1)"
>
Move down
</a></li>
</ul>
</div>
</li>
<li
class=
"tight-form-item last"
>
<a
class=
"pointer"
tabindex=
"1"
ng-click=
"removeDataQuery(target)"
>
<a
class=
"pointer"
tabindex=
"1"
ng-click=
"
ctrl.
removeDataQuery(target)"
>
<i
class=
"fa fa-remove"
></i>
</a>
</li>
...
...
@@ -25,7 +25,7 @@
</li>
<li>
<a
class=
"tight-form-item"
ng-click=
"target.hide = !target.hide;
get_data
();"
ng-click=
"target.hide = !target.hide;
ctrl.refresh
();"
role=
"menuitem"
>
<i
class=
"fa fa-eye"
></i>
</a>
...
...
@@ -35,4 +35,4 @@
<div
class=
"clearfix"
></div>
</div>
<cloudwatch-query-parameter
target=
"target"
datasource=
"datasource"
on-change=
"refreshMetricData()"
></cloudwatch-query-parameter>
<cloudwatch-query-parameter
target=
"target"
datasource=
"
ctrl.
datasource"
on-change=
"refreshMetricData()"
></cloudwatch-query-parameter>
public/app/plugins/datasource/cloudwatch/query_ctrl.js
View file @
6886faa9
...
...
@@ -16,7 +16,7 @@ function (angular, _) {
$scope
.
refreshMetricData
=
function
()
{
if
(
!
_
.
isEqual
(
$scope
.
oldTarget
,
$scope
.
target
))
{
$scope
.
oldTarget
=
angular
.
copy
(
$scope
.
target
);
$scope
.
get_data
();
$scope
.
ctrl
.
refresh
();
}
};
...
...
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