mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Fix touch button rendering.
This commit is contained in:
@@ -85,11 +85,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Touch-specific menu -->
|
<!-- Touch-specific menu -->
|
||||||
<div id="touchMenu">
|
<div id="touchMenu"><img id="touchShowClipboard" src="images/menu-icons/tango/edit-paste.png"/><img id="touchShowKeyboard" src="images/menu-icons/tango/input-keyboard.png"/><img id="touchLogout" src="images/menu-icons/tango/system-log-out.png"/></div>
|
||||||
<img id="touchShowClipboard" src="images/menu-icons/tango/edit-paste.png"/>
|
|
||||||
<img id="touchShowKeyboard" src="images/menu-icons/tango/input-keyboard.png"/>
|
|
||||||
<img id="touchLogout" src="images/menu-icons/tango/system-log-out.png"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- guacamole-common-js scripts -->
|
<!-- guacamole-common-js scripts -->
|
||||||
<script type="text/javascript" src="guacamole-common-js/keyboard.js"></script>
|
<script type="text/javascript" src="guacamole-common-js/keyboard.js"></script>
|
||||||
|
@@ -297,6 +297,7 @@ var GuacamoleUI = {
|
|||||||
GuacamoleUI.buttons.touchLogout.onclick =
|
GuacamoleUI.buttons.touchLogout.onclick =
|
||||||
function() {
|
function() {
|
||||||
window.location.href = "logout";
|
window.location.href = "logout";
|
||||||
|
GuacamoleUI.hideTouchMenu();
|
||||||
};
|
};
|
||||||
|
|
||||||
// Timeouts for detecting if users wants menu to open or close
|
// Timeouts for detecting if users wants menu to open or close
|
||||||
|
@@ -264,7 +264,7 @@ div#touchMenu {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
|
||||||
display: inline-block;
|
white-space: pre;
|
||||||
background: black;
|
background: black;
|
||||||
border: 1px solid silver;
|
border: 1px solid silver;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
Reference in New Issue
Block a user