Neaten CSS for basic XVP UI

This commit is contained in:
Malcolm Scott 2013-09-28 19:37:30 +01:00
parent 3c65070e97
commit e8cc542fa3
2 changed files with 10 additions and 3 deletions

View File

@ -52,12 +52,19 @@ html {
float:right;
}
#noVNC_buttons {
white-space: nowrap;
}
#noVNC_view_drag_button {
display: none;
}
#sendCtrlAltDelButton {
display: none;
}
#noVNC_xvp_buttons {
display: none;
}
#noVNC_mobile_buttons {
display: none;
}

View File

@ -50,10 +50,10 @@
<td><div id="noVNC_status" style="position: relative; height: auto;">
Loading
</div></td>
<td width="1%"><div id="noVNC_buttons" style="white-space: nowrap">
<td width="1%"><div id="noVNC_buttons">
<input type=button value="Send CtrlAltDel"
id="sendCtrlAltDelButton">
<span id="xvp_buttons" style="display: none">
<span id="noVNC_xvp_buttons">
<input type=button value="Shutdown"
id="xvpShutdownButton">
<input type=button value="Reboot"
@ -139,7 +139,7 @@
function xvpInit(ver) {
var xvpbuttons;
xvpbuttons = $D('xvp_buttons');
xvpbuttons = $D('noVNC_xvp_buttons');
if (ver >= 1) {
xvpbuttons.style.display = 'inline';
} else {