Simplify element names in vnc_lite

This commit is contained in:
Samuel Mannehed 2018-08-21 11:29:05 +02:00
parent 011e4bff34
commit 8613f6f4ae
1 changed files with 7 additions and 7 deletions

View File

@ -36,14 +36,14 @@
height: 100%; height: 100%;
} }
#noVNC_status_bar { #top_bar {
background-color: #6e84a3; background-color: #6e84a3;
color: white; color: white;
font: bold 12px Helvetica; font: bold 12px Helvetica;
padding: 6px 5px 4px 5px; padding: 6px 5px 4px 5px;
border-bottom: 1px outset; border-bottom: 1px outset;
} }
#noVNC_status { #status {
text-align: center; text-align: center;
} }
#sendCtrlAltDelButton { #sendCtrlAltDelButton {
@ -119,7 +119,7 @@
// Show a status text in the top bar // Show a status text in the top bar
function status(text) { function status(text) {
document.getElementById('noVNC_status').textContent = text; document.getElementById('status').textContent = text;
} }
// This function extracts the value of one variable from the // This function extracts the value of one variable from the
@ -188,8 +188,8 @@
</head> </head>
<body> <body>
<div id="noVNC_status_bar"> <div id="top_bar">
<div id="noVNC_status">Loading</div> <div id="status">Loading</div>
<div id="sendCtrlAltDelButton">Send CtrlAltDel</div> <div id="sendCtrlAltDelButton">Send CtrlAltDel</div>
</div> </div>
</body> </body>