]> git.proxmox.com Git - mirror_novnc.git/blobdiff - vnc_lite.html
Remove unnecessary css rules for lite
[mirror_novnc.git] / vnc_lite.html
index 729aabb1ec9bcab7da95c8228b8f92e097205d64..52b809b7f350c7596ce1222a2dc635bf99c0eb9f 100644 (file)
@@ -5,7 +5,7 @@
     <!--
     noVNC example: lightweight example using minimal UI and features
     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)
     This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
 
@@ -74,7 +74,7 @@
     </script>
 
     <!-- actual script modules -->
-    <script type="module">
+    <script type="module" crossorigin="anonymous">
         // Load supporting scripts
         import * as WebUtil from './app/webutil.js';
         import RFB from './core/rfb.js';
             var form = document.createElement('form');
             form.style = 'margin-bottom: 0px';
             form.innerHTML = '<label></label>'
-            form.innerHTML += '<input type=password size=10 id="password_input" class="noVNC_status">';
+            form.innerHTML += '<input type=password size=10 id="password_input">';
             form.onsubmit = setPassword;
 
             // bypass status() because it sets text content
     </script>
 </head>
 
-<body style="margin: 0px;">
-    <div id="noVNC_container">
-            <div id="noVNC_status_bar" class="noVNC_status_bar" style="margin-top: 0px;">
-                <table border=0 width="100%"><tr>
-                    <td><div id="noVNC_status" style="position: relative; height: auto;">
-                        Loading
-                    </div></td>
-                    <td width="1%"><div id="noVNC_buttons">
-                        <input type=button value="Send CtrlAltDel"
-                            id="sendCtrlAltDelButton">
-                        <span id="noVNC_xvp_buttons">
-                        <input type=button value="Shutdown"
-                            id="xvpShutdownButton">
-                        <input type=button value="Reboot"
-                            id="xvpRebootButton">
-                        <input type=button value="Reset"
-                            id="xvpResetButton">
-                        </span>
-                            </div></td>
-                </tr></table>
-            </div>
-            <canvas id="noVNC_canvas" width="640px" height="20px">
-                Canvas not supported.
-            </canvas>
-        </div>
+<body>
+  <div id="noVNC_status_bar" style="margin-top: 0px;">
+    <table border=0 width="100%"><tr>
+        <td><div id="noVNC_status" style="position: relative; height: auto;">
+            Loading
+        </div></td>
+        <td width="1%"><div id="noVNC_buttons">
+            <input type=button value="Send CtrlAltDel"
+                   id="sendCtrlAltDelButton">
+            <span id="noVNC_xvp_buttons">
+              <input type=button value="Shutdown"
+                     id="xvpShutdownButton">
+              <input type=button value="Reboot"
+                     id="xvpRebootButton">
+              <input type=button value="Reset"
+                     id="xvpResetButton">
+            </span>
+        </div></td>
+    </tr></table>
+  </div>
+  <canvas id="noVNC_canvas" width="0" height="0">
+    Canvas not supported.
+  </canvas>
 
-    </body>
+</body>
 </html>