Get rid of unnecessary noVNC_container in lite
If we want to keep vnc_lite simple, we shouldn't have unnecessary elements. All aspects of the container could be moved up a step in the hierarchy.
This commit is contained in:
parent
082bc6b478
commit
178bf8ec97
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* noVNC auto CSS
|
* noVNC auto CSS
|
||||||
* Copyright (C) 2012 Joel Martin
|
* Copyright (C) 2012 Joel Martin
|
||||||
* Copyright (C) 2016 Samuel Mannehed for Cendio AB
|
* Copyright (C) 2017 Samuel Mannehed for Cendio AB
|
||||||
* noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
|
* noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
|
||||||
* This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
|
* This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
|
||||||
*/
|
*/
|
||||||
|
@ -10,26 +10,18 @@ body {
|
||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
padding:0;
|
||||||
font-family: Helvetica;
|
font-family: Helvetica;
|
||||||
/*Background image with light grey curve.*/
|
background-color:#313131;
|
||||||
background-color:#494949;
|
border-bottom-right-radius: 800px 600px;
|
||||||
background-repeat:no-repeat;
|
|
||||||
background-position:right bottom;
|
|
||||||
height:100%;
|
height:100%;
|
||||||
|
width:100%;
|
||||||
|
display: table;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
background-color:#494949;
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#noVNC_container {
|
|
||||||
display: table;
|
|
||||||
width:100%;
|
|
||||||
height:100%;
|
|
||||||
background-color:#313131;
|
|
||||||
border-bottom-right-radius: 800px 600px;
|
|
||||||
/*border-top-left-radius: 800px 600px;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#noVNC_status {
|
#noVNC_status {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<!--
|
<!--
|
||||||
noVNC example: lightweight example using minimal UI and features
|
noVNC example: lightweight example using minimal UI and features
|
||||||
Copyright (C) 2012 Joel Martin
|
Copyright (C) 2012 Joel Martin
|
||||||
Copyright (C) 2013 Samuel Mannehed for Cendio AB
|
Copyright (C) 2017 Samuel Mannehed for Cendio AB
|
||||||
noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
|
noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
|
||||||
This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
|
This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
|
||||||
|
|
||||||
|
@ -279,31 +279,29 @@
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body style="margin: 0px;">
|
<body>
|
||||||
<div id="noVNC_container">
|
<div id="noVNC_status_bar" style="margin-top: 0px;">
|
||||||
<div id="noVNC_status_bar" class="noVNC_status_bar" style="margin-top: 0px;">
|
<table border=0 width="100%"><tr>
|
||||||
<table border=0 width="100%"><tr>
|
<td><div id="noVNC_status" style="position: relative; height: auto;">
|
||||||
<td><div id="noVNC_status" style="position: relative; height: auto;">
|
Loading
|
||||||
Loading
|
</div></td>
|
||||||
</div></td>
|
<td width="1%"><div id="noVNC_buttons">
|
||||||
<td width="1%"><div id="noVNC_buttons">
|
<input type=button value="Send CtrlAltDel"
|
||||||
<input type=button value="Send CtrlAltDel"
|
id="sendCtrlAltDelButton">
|
||||||
id="sendCtrlAltDelButton">
|
<span id="noVNC_xvp_buttons">
|
||||||
<span id="noVNC_xvp_buttons">
|
<input type=button value="Shutdown"
|
||||||
<input type=button value="Shutdown"
|
id="xvpShutdownButton">
|
||||||
id="xvpShutdownButton">
|
<input type=button value="Reboot"
|
||||||
<input type=button value="Reboot"
|
id="xvpRebootButton">
|
||||||
id="xvpRebootButton">
|
<input type=button value="Reset"
|
||||||
<input type=button value="Reset"
|
id="xvpResetButton">
|
||||||
id="xvpResetButton">
|
</span>
|
||||||
</span>
|
</div></td>
|
||||||
</div></td>
|
</tr></table>
|
||||||
</tr></table>
|
</div>
|
||||||
</div>
|
<canvas id="noVNC_canvas" width="0" height="0">
|
||||||
<canvas id="noVNC_canvas" width="640px" height="20px">
|
Canvas not supported.
|
||||||
Canvas not supported.
|
</canvas>
|
||||||
</canvas>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue