]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Simplify element names in vnc_lite
authorSamuel Mannehed <samuel@cendio.se>
Tue, 21 Aug 2018 09:29:05 +0000 (11:29 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Tue, 28 Aug 2018 08:42:39 +0000 (10:42 +0200)
vnc_lite.html

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