Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
Disconnected
Files -
Disconnected
✓
✗
Intel® AMT -
Console -
Events -
Show
General -
General -
Events -
Show
✖
File Selection
Upload File
Agent Remote Desktop
Quality
Scaling
Frame rate
Intel® AMT Hardware KVM
Image Encoding
Show Focus Tool Show Local Mouse Cursor
Other Settings
\ No newline at end of file
diff --git a/views/default.handlebars b/views/default.handlebars
index ad19207d..e6651e6a 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -383,11 +383,11 @@
-
+
-
+
Desktop -
@@ -399,7 +399,7 @@
Remote computer is not powered on, click here to issue a power command.
-
+
@@ -409,11 +409,11 @@
-
+
-
✖
+
✖
@@ -3688,9 +3688,11 @@
QE('deskkeys', deskState == 3);
QV('DeskToolsButton', meshrights & 8);
QE('DeskToolsButton', online);
- QV('DeskToastButton', (currentNode.agent) && (currentNode.agent.id < 5) && (meshrights & 8));
+ QV('DeskToastButton', (currentNode.agent) && (currentNode.agent.id < 5) && (meshrights & 8) && (browserfullscreen == false));
QE('DeskToastButton', online);
QV('DeskControlSpan', meshrights & 8)
+ QV('deskActionsBtn', (browserfullscreen == false));
+ QV('deskActionsSettings', (browserfullscreen == false));
if (meshrights & 8) { Q('DeskControl').checked = (getstore('DeskControl', 1) == 1); } else { Q('DeskControl').checked = false; }
if (online == false) QV('DeskTools', false);
}
@@ -3898,8 +3900,30 @@
QV('deskFocusBtn', (desktop != null) && (desktop.contype == 2) && (desktop.state != 0) && (desktopsettings.showfocus));
}
+ // Enter browser fullscreen
+ function enterBrowserFullscreen(elem) {
+ if (elem.requestFullscreen) { elem.requestFullscreen(); }
+ else if (elem.msRequestFullscreen) { elem.msRequestFullscreen(); }
+ else if (elem.mozRequestFullScreen) { elem.mozRequestFullScreen(); }
+ else if (elem.webkitRequestFullscreen) { elem.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); }
+ }
+
+ // Exit browser fullscreen
+ function exitBrowserFullscreen() {
+ if (document.exitFullscreen) { document.exitFullscreen(); }
+ else if (document.msExitFullscreen) { document.msExitFullscreen(); }
+ else if (document.mozCancelFullScreen) { document.mozCancelFullScreen(); }
+ else if (document.webkitExitFullscreen) { document.webkitExitFullscreen(); }
+ }
+
+ // Return true if the browser is fullscreen. This is a delayed method that will return true/false late. Not very useful.
+ function isBrowserFullscreen() {
+ if (!document.fullscreenElement && !document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement) { return false; } else { return true; }
+ }
+
var fullscreen = false;
- function deskToggleFull() {
+ var browserfullscreen = false;
+ function deskToggleFull(e) {
fullscreen = !fullscreen;
QV('mastheadx', !fullscreen);
QV('masthead', !fullscreen);
@@ -3911,6 +3935,8 @@
QV('deskFullBtn', !fullscreen);
QV('page_leftbar', !fullscreen);
if (fullscreen) {
+ // If shift is pressed, enter browser full screen.
+ if (e.shiftKey == true) { enterBrowserFullscreen(Q('deskarea0')); browserfullscreen = true; }
QS('column_l').width = '930px';
QS('column_l').height = '';
QS('column_l')['margin-left'] = '';
@@ -3925,6 +3951,8 @@
QS('column_l').width = '100%';
QS('column_l')["max-height"] = '';
} else {
+ exitBrowserFullscreen();
+ browserfullscreen = false;
QS('container').width = '960px';
QS('container')['border-right'] = '1px solid #b7b7b7';
QS('container')['border-left'] = '1px solid #b7b7b7';
@@ -3934,6 +3962,7 @@
}
deskAdjust();
deskAdjust();
+ updateDesktopButtons();
}
function deskToggleFocus() {