diff --git a/app/styles/base.css b/app/styles/base.css index a4d6708f..722d8c38 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -325,24 +325,6 @@ html { float: right; } -/* Description Panel */ -#noVNC_description { - display: none; - position: fixed; - - top: 73px; - right: 20px; - left: 20px; - padding: 15px; - color: #000; - background: #eee; /* default background for browsers without gradient support */ - - border: 2px solid #E0E0E0; - -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; -} - /* Popup Status */ #noVNC_popup_status { display: none; diff --git a/app/ui.js b/app/ui.js index 124d9ad2..0a94a0f8 100644 --- a/app/ui.js +++ b/app/ui.js @@ -94,16 +94,9 @@ var UI; UI.addClipboardHandlers(); UI.addSettingsHandlers(); - // Show description by default when hosted at for kanaka.github.com - if (location.host === "kanaka.github.io") { - // Open the description dialog - document.getElementById('noVNC_description').style.display = "block"; - } else { - // Show the connect panel on first load unless autoconnecting - if (autoconnect === UI.connSettingsOpen) { - UI.toggleConnectPanel(); - } - } + // Show the connect panel on first load unless autoconnecting + if (!autoconnect && !UI.connSettingsOpen) + UI.toggleConnectPanel(); UI.updateViewClip(); UI.setBarPosition(); @@ -207,8 +200,6 @@ var UI; .addEventListener('click', UI.popupStatus); document.getElementById("noVNC_popup_status") .addEventListener('click', UI.closePopup); - document.getElementById("noVNC_description_button") - .addEventListener('click', UI.toggleConnectPanel); }, addTouchSpecificHandlers: function() { @@ -563,8 +554,6 @@ var UI; // Open menu openSettingsMenu: function() { - // Close the description panel - document.getElementById('noVNC_description').style.display = "none"; // Close clipboard panel if open if (UI.clipboardOpen === true) { UI.toggleClipboardPanel(); @@ -593,8 +582,6 @@ var UI; // On open, settings are refreshed from saved cookies. // On close, settings are applied toggleSettingsPanel: function() { - // Close the description panel - document.getElementById('noVNC_description').style.display = "none"; if (UI.settingsOpen) { UI.settingsApply(); UI.closeSettingsMenu(); @@ -628,8 +615,6 @@ var UI; // Show the XVP panel toggleXvpPanel: function() { - // Close the description panel - document.getElementById('noVNC_description').style.display = "none"; // Close settings if open if (UI.settingsOpen === true) { UI.settingsApply(); @@ -676,8 +661,6 @@ var UI; // Show the clipboard panel toggleClipboardPanel: function() { - // Close the description panel - document.getElementById('noVNC_description').style.display = "none"; // Close settings if open if (UI.settingsOpen === true) { UI.settingsApply(); @@ -729,8 +712,6 @@ var UI; // Show the connection settings panel/menu toggleConnectPanel: function() { - // Close the description panel - document.getElementById('noVNC_description').style.display = "none"; // Close connection settings if open if (UI.settingsOpen === true) { UI.settingsApply(); diff --git a/vnc.html b/vnc.html index 2830bc1a..5eb3af90 100644 --- a/vnc.html +++ b/vnc.html @@ -190,22 +190,6 @@ - - -
- noVNC is a browser based VNC client implemented using HTML5 Canvas - and WebSockets. You will either need a VNC server with WebSockets - support (such as libvncserver) - or you will need to use - websockify - to bridge between your browser and VNC server. See the noVNC - README - and website - for more information. -
- -
-