Merge control bar sections

There is no status information in the centre anymore, so merge
the left and right sections of the control bar.
This commit is contained in:
Pierre Ossman 2016-08-25 20:49:52 +02:00
parent 8a7ec6ea19
commit d616c9226c
2 changed files with 4 additions and 15 deletions

View File

@ -265,21 +265,12 @@ input[type=button]:active, select:active {
display: inline; display: inline;
} }
/* Left side buttons */ .noVNC_buttons {
.noVNC_buttons_left { float: right;
float: left;
z-index: 1; z-index: 1;
position: relative; position: relative;
padding-left: 10px;
}
/* Right side buttons */
.noVNC_buttons_right {
float: right;
right: 0px;
z-index: 2;
position: absolute;
padding-right: 10px; padding-right: 10px;
padding-left: 10px;
} }
/* XVP Shutdown/Reboot */ /* XVP Shutdown/Reboot */

View File

@ -52,7 +52,7 @@
<!-- noVNC Control Bar --> <!-- noVNC Control Bar -->
<div id="noVNC_control_bar" class="noVNC_status_normal"> <div id="noVNC_control_bar" class="noVNC_status_normal">
<div class="noVNC_buttons_left"> <div class="noVNC_buttons">
<!-- Drag/Pan the viewport --> <!-- Drag/Pan the viewport -->
<input type="image" alt="viewport drag" src="app/images/drag.svg" <input type="image" alt="viewport drag" src="app/images/drag.svg"
@ -87,9 +87,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="noVNC_buttons_right">
<!-- Send Ctrl+Alt+Delete --> <!-- Send Ctrl+Alt+Delete -->
<input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg" <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg"
id="noVNC_send_ctrl_alt_del_button" class="noVNC_button" id="noVNC_send_ctrl_alt_del_button" class="noVNC_button"