@a83/orbiter-admin 0.3.46 → 0.3.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/xfce.js +6 -11
package/package.json
CHANGED
package/public/xfce.js
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
'</div>',
|
|
65
65
|
'<div class="xfce-sb-center" id="xfce-sb-title"></div>',
|
|
66
66
|
'<div class="xfce-sb-right">',
|
|
67
|
-
'<span id="xfce-sb-g-ind" class="xfce-sb-g-ind" style="display:none" title="g mode: d=dashboard m=media s=settings u=users b=build i=import
|
|
67
|
+
'<span id="xfce-sb-g-ind" class="xfce-sb-g-ind" style="display:none" title="g mode: d=dashboard m=media s=settings u=users b=build i=import c=schema h=HUD a=account">g ›</span>',
|
|
68
68
|
'<button id="xfce-sb-bell" class="xfce-sb-bell" title="Notifications"><span id="xfce-sb-bell-icon">○</span><span id="xfce-sb-bell-badge" class="xfce-sb-bell-badge" style="display:none"></span></button>',
|
|
69
69
|
'<span class="xfce-sb-div">·</span>',
|
|
70
70
|
'<button id="xfce-sb-cheat" class="xfce-sb-cheat" title="Shortcuts (?)">?</button>',
|
|
@@ -1516,13 +1516,13 @@
|
|
|
1516
1516
|
cheatRow('g + s', 'Settings'),
|
|
1517
1517
|
cheatRow('g + b', 'Build'),
|
|
1518
1518
|
cheatRow('g + i', 'Import'),
|
|
1519
|
-
cheatRow('g +
|
|
1519
|
+
cheatRow('g + c', 'Schema'),
|
|
1520
|
+
cheatRow('g + h', 'Toggle HUD'),
|
|
1520
1521
|
cheatRow('g + a', 'Account'),
|
|
1521
1522
|
cheatRow('1 – 9', 'Jump to nth dock item'),
|
|
1522
1523
|
'</div>',
|
|
1523
1524
|
'<div class="xfce-cheat-col">',
|
|
1524
1525
|
'<div class="xfce-cheat-section">Panels</div>',
|
|
1525
|
-
cheatRow('⌘⇧D', 'Toggle HUD'),
|
|
1526
1526
|
cheatRow('⌘⇧F', 'Focus / Zen mode'),
|
|
1527
1527
|
cheatRow('⌘⇧L', 'Switch to Glass mode'),
|
|
1528
1528
|
cheatRow('?', 'This cheatsheet'),
|
|
@@ -1568,7 +1568,7 @@
|
|
|
1568
1568
|
var _gPending = false, _gTimer = null;
|
|
1569
1569
|
var G_MAP = { d: '/dashboard.html', m: '/media.html', s: '/settings.html',
|
|
1570
1570
|
u: '/users.html', b: '/build.html', i: '/import.html',
|
|
1571
|
-
|
|
1571
|
+
c: '/schema.html', a: '/account.html' };
|
|
1572
1572
|
|
|
1573
1573
|
function setGMode(on) {
|
|
1574
1574
|
_gPending = on;
|
|
@@ -1614,16 +1614,11 @@
|
|
|
1614
1614
|
}
|
|
1615
1615
|
if (_gPending && !isEditing(e.target)) {
|
|
1616
1616
|
clearTimeout(_gTimer); setGMode(false);
|
|
1617
|
-
if (
|
|
1617
|
+
if (e.key === 'h') { e.preventDefault(); toggleHUD(); }
|
|
1618
|
+
else if (G_MAP[e.key]) { e.preventDefault(); location.href = G_MAP[e.key]; }
|
|
1618
1619
|
return;
|
|
1619
1620
|
}
|
|
1620
1621
|
|
|
1621
|
-
// ⌘⇧D — toggle HUD
|
|
1622
|
-
if (mod && e.shiftKey && (e.key === 'd' || e.key === 'D')) {
|
|
1623
|
-
e.preventDefault();
|
|
1624
|
-
toggleHUD();
|
|
1625
|
-
return;
|
|
1626
|
-
}
|
|
1627
1622
|
|
|
1628
1623
|
// ⌘⇧F — zen / focus mode
|
|
1629
1624
|
if (mod && e.shiftKey && (e.key === 'f' || e.key === 'F')) {
|