mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
Add another URL param «inactive» which works like «kiosk» but with title
closes #11228
This commit is contained in:
parent
041067f5f0
commit
a43e7c7b3f
@ -117,6 +117,14 @@ export function grafanaAppDirective(playlistSrv, contextSrv, $timeout, $rootScop
|
||||
appEvents.emit('toggle-kiosk-mode');
|
||||
}
|
||||
|
||||
// check for 'inactive' url param for clean looks like kiosk, but with title
|
||||
if (data.params.inactive) {
|
||||
body.addClass('user-activity-low');
|
||||
|
||||
// for some reason, with this class it looks cleanest
|
||||
body.addClass('sidemenu-open');
|
||||
}
|
||||
|
||||
// close all drops
|
||||
for (let drop of Drop.drops) {
|
||||
drop.destroy();
|
||||
|
Loading…
Reference in New Issue
Block a user