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
975051b8
Commit
975051b8
authored
Feb 13, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closes #94, there is now a "Back to dashboard" link in header when in fullscreen / edit mode
parent
33ec6383
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/app/controllers/dashLoader.js
+4
-0
src/app/partials/dashLoader.html
+6
-0
No files found.
src/app/controllers/dashLoader.js
View file @
975051b8
...
@@ -25,6 +25,10 @@ function (angular, _, moment) {
...
@@ -25,6 +25,10 @@ function (angular, _, moment) {
});
});
};
};
$scope
.
exitFullscreen
=
function
()
{
$rootScope
.
$emit
(
'panel-fullscreen-exit'
);
};
$scope
.
showDropdown
=
function
(
type
)
{
$scope
.
showDropdown
=
function
(
type
)
{
if
(
_
.
isUndefined
(
dashboard
.
current
.
loader
))
{
if
(
_
.
isUndefined
(
dashboard
.
current
.
loader
))
{
return
true
;
return
true
;
...
...
src/app/partials/dashLoader.html
View file @
975051b8
...
@@ -4,6 +4,12 @@
...
@@ -4,6 +4,12 @@
}
}
</style>
</style>
<li
ng-show=
"fullscreen"
>
<a
ng-click=
"exitFullscreen()"
>
Back to dashboard
</a>
</li>
<li>
<li>
<a
class=
'small'
ng-click=
'zoom(2)'
>
<a
class=
'small'
ng-click=
'zoom(2)'
>
Zoom Out
Zoom Out
...
...
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