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
4e385264
Commit
4e385264
authored
Dec 14, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: fixed playlist buttons in dashboard header, fixes #10213
parent
0085114d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
20 deletions
+16
-20
public/app/core/components/grafana_app.ts
+1
-1
public/app/core/services/backend_srv.ts
+1
-0
public/app/features/dashboard/dashgrid/RowOptions.ts
+1
-0
public/app/features/dashboard/dashnav/dashnav.html
+5
-11
public/sass/components/_row.scss
+8
-0
public/sass/components/_view_states.scss
+0
-8
No files found.
public/app/core/components/grafana_app.ts
View file @
4e385264
...
...
@@ -203,7 +203,7 @@ export function grafanaAppDirective(playlistSrv, contextSrv, $timeout, $rootScop
},
100
);
}
if
(
target
.
parents
(
'.
dash-playlist-actions
'
).
length
===
0
)
{
if
(
target
.
parents
(
'.
navbar-buttons--playlist
'
).
length
===
0
)
{
playlistSrv
.
stop
();
}
...
...
public/app/core/services/backend_srv.ts
View file @
4e385264
...
...
@@ -248,4 +248,5 @@ export class BackendSrv {
}
}
coreModule
.
service
(
'backendSrv'
,
BackendSrv
);
public/app/features/dashboard/dashgrid/RowOptions.ts
View file @
4e385264
...
...
@@ -6,6 +6,7 @@ export class RowOptionsCtrl {
dismiss
:
any
;
onUpdated
:
any
;
onDelete
:
any
;
showDelete
:
boolean
;
/** @ngInject */
constructor
()
{
...
...
public/app/features/dashboard/dashnav/dashnav.html
View file @
4e385264
...
...
@@ -8,17 +8,11 @@
</a>
</div>
<ul
class=
"nav dash-playlist-actions"
ng-if=
"ctrl.playlistSrv.isPlaying"
>
<li>
<a
ng-click=
"ctrl.playlistSrv.prev()"
><i
class=
"fa fa-step-backward"
></i></a>
</li>
<li>
<a
ng-click=
"ctrl.playlistSrv.stop()"
><i
class=
"fa fa-stop"
></i></a>
</li>
<li>
<a
ng-click=
"ctrl.playlistSrv.next()"
><i
class=
"fa fa-step-forward"
></i></a>
</li>
</ul>
<div
class=
"navbar-buttons navbar-buttons--playlist"
ng-if=
"ctrl.playlistSrv.isPlaying"
>
<a
class=
"navbar-button navbar-button--tight"
ng-click=
"ctrl.playlistSrv.prev()"
><i
class=
"fa fa-step-backward"
></i></a>
<a
class=
"navbar-button navbar-button--tight"
ng-click=
"ctrl.playlistSrv.stop()"
><i
class=
"fa fa-stop"
></i></a>
<a
class=
"navbar-button navbar-button--tight"
ng-click=
"ctrl.playlistSrv.next()"
><i
class=
"fa fa-step-forward"
></i></a>
</div>
<div
class=
"navbar__spacer"
></div>
...
...
public/sass/components/_row.scss
View file @
4e385264
...
...
@@ -17,6 +17,13 @@
opacity
:
1
;
}
}
&
:hover
{
.dashboard-row__actions
{
visibility
:
visible
;
opacity
:
1
;
}
}
}
.dashboard-row__title
{
...
...
@@ -37,6 +44,7 @@
visibility
:
hidden
;
opacity
:
0
;
flex-grow
:
1
;
transition
:
200ms
opacity
ease-in
200ms
;
a
{
color
:
$text-color-weak
;
...
...
public/sass/components/_view_states.scss
View file @
4e385264
...
...
@@ -38,11 +38,3 @@
}
}
.playlist-active
{
.dash-playlist-actions
{
.fa
{
opacity
:
1
;
color
:
$text-color-faint
!
important
;
}
}
}
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