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
cdab0d20
Commit
cdab0d20
authored
Sep 21, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/utkarshcmu/grafana
into utkarshcmu-master
parents
20f04ab3
00c89b83
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
+13
-1
public/app/features/dashboard/dashboardNavCtrl.js
+5
-0
public/app/features/dashboard/directives/dashSearchView.js
+7
-0
public/app/features/dashboard/partials/dashboardTopNav.html
+1
-1
No files found.
public/app/features/dashboard/dashboardNavCtrl.js
View file @
cdab0d20
...
...
@@ -51,6 +51,11 @@ function (angular, _) {
$scope
.
exitFullscreen
();
};
$scope
.
manageButtonClickAction
=
function
()
{
angular
.
element
(
'#manageDashboardButton'
).
tooltip
(
'hide'
);
$scope
.
appEvent
(
'hide-dash-search'
);
};
$scope
.
saveDashboard
=
function
(
options
)
{
if
(
$scope
.
dashboardMeta
.
canSave
===
false
)
{
return
;
...
...
public/app/features/dashboard/directives/dashSearchView.js
View file @
cdab0d20
...
...
@@ -54,7 +54,14 @@ function (angular, $) {
hookUpHideWhenClickedOutside
();
}
function
hideSearch
()
{
if
(
editorScope
)
{
editorScope
.
dismiss
();
}
}
scope
.
onAppEvent
(
'show-dash-search'
,
showSearch
);
scope
.
onAppEvent
(
'hide-dash-search'
,
hideSearch
);
}
};
});
...
...
public/app/features/dashboard/partials/dashboardTopNav.html
View file @
cdab0d20
...
...
@@ -30,7 +30,7 @@
<a
ng-click=
"saveDashboard()"
bs-tooltip=
"'Save dashboard'"
data-placement=
"bottom"
><i
class=
"fa fa-save"
></i></a>
</li>
<li
class=
"dropdown"
>
<a
class=
"pointer
"
data-toggle=
"dropdown"
><i
class=
"fa fa-cog"
></i></a>
<a
id=
"manageDashboardButton"
class=
"pointer"
ng-click=
"manageButtonClickAction()"
bs-tooltip=
"'Manage dashboard'"
data-placement=
"bottom
"
data-toggle=
"dropdown"
><i
class=
"fa fa-cog"
></i></a>
<ul
class=
"dropdown-menu"
>
<li
ng-if=
"dashboardMeta.canEdit"
><a
class=
"pointer"
ng-click=
"openEditView('settings');"
>
Settings
</a></li>
<li
ng-if=
"dashboardMeta.canEdit"
><a
class=
"pointer"
ng-click=
"openEditView('annotations');"
>
Annotations
</a></li>
...
...
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