forked from 0x2620/pandora
only open help dialog via keyboard if no other dialog or screen is present
This commit is contained in:
parent
b85a637486
commit
3a682c7932
6 changed files with 23 additions and 26 deletions
|
@ -1,21 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>We will be back in a moment.</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/oxjs/build/Ox.UI/css/Ox.UI.css"/>
|
||||
<style>
|
||||
body {
|
||||
text-align: center;
|
||||
padding-top: 128px;
|
||||
background: #101010;
|
||||
color: #F0F0F0;
|
||||
background: rgb(16, 16, 16);
|
||||
color: rgb(240, 240, 240);
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="/static/oxjs/build/Ox.UI/css/Ox.UI.css"/>
|
||||
<title>We will be back in a minute</title>
|
||||
</head>
|
||||
<body class="OxThemeModern">
|
||||
<img src="/static/png/logo256.png" style="width: 256px"/>
|
||||
<div style="padding-top: 16px">
|
||||
We will be back in a minute.
|
||||
</div>
|
||||
<div style="padding-top: 16px">We will be back in a moment.</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -4,7 +4,7 @@ pandora.ui.folders = function() {
|
|||
that = Ox.Element()
|
||||
.css({overflowX: 'hidden', overflowY: 'auto'})
|
||||
.bindEvent({
|
||||
resize: pandora.resizeFolders
|
||||
resize: pandora.resizeFolders,
|
||||
});
|
||||
var counter = 0;
|
||||
//var $sections = [];
|
||||
|
|
|
@ -10,7 +10,6 @@ pandora.ui.info = function() {
|
|||
toggle: function(data) {
|
||||
Ox.print('INFO TOGGLE')
|
||||
pandora.UI.set({showInfo: !data.collapsed});
|
||||
//pandora.resizeFolders();
|
||||
},
|
||||
pandora_find: function() {
|
||||
if (pandora.user.ui._list != pandora.UI.getPrevious('_list')) {
|
||||
|
@ -19,9 +18,6 @@ pandora.ui.info = function() {
|
|||
},
|
||||
pandora_item: updateInfo,
|
||||
pandora_listselection: updateInfo,
|
||||
pandora_showinfo: function(data) {
|
||||
pandora.resizeFolders();
|
||||
}
|
||||
});
|
||||
|
||||
//pandora.$ui.leftPanel && resize();
|
||||
|
|
|
@ -13,7 +13,7 @@ pandora.ui.leftPanel = function() {
|
|||
collapsed: !pandora.user.ui.showInfo,
|
||||
collapsible: true,
|
||||
element: pandora.$ui.info = pandora.ui.info(),
|
||||
size: pandora.getInfoHeight(),
|
||||
size: pandora.getInfoHeight(true),
|
||||
tooltip: 'info'
|
||||
}
|
||||
],
|
||||
|
|
|
@ -334,6 +334,7 @@ pandora.ui.list = function() {
|
|||
return {'in': clip['in'], out: clip.out};
|
||||
}) : [],
|
||||
subtitles: isClipsQuery ? data.clips.map(function(clip) {
|
||||
Ox.print('CLIP:::::', clip)
|
||||
return {'in': clip['in'], out: clip.out, text: clip.annotations[0].value};
|
||||
}) : []
|
||||
}
|
||||
|
|
|
@ -298,7 +298,9 @@ pandora.ui.mainMenu = function() {
|
|||
pandora.UI.set({showSidebar: !ui.showSidebar});
|
||||
},
|
||||
key_shift_slash: function() {
|
||||
if ($('.OxDialog').length == 0 && $('.OxScreen').length == 0) {
|
||||
pandora.URL.push('/help');
|
||||
}
|
||||
},
|
||||
pandora_find: function() {
|
||||
var action = ui._list
|
||||
|
|
Loading…
Reference in a new issue