]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Fix up errors and warnings in vnc_playback.html
authorPierre Ossman <ossman@cendio.se>
Tue, 26 Mar 2019 14:21:31 +0000 (15:21 +0100)
committerPierre Ossman <ossman@cendio.se>
Tue, 26 Mar 2019 14:21:31 +0000 (15:21 +0100)
Remove the styling, as it isn't really needed, and fix some minor
things that the w3c validator complains about.

tests/vnc_playback.html

index 353f03df5d40de4a490e2ff834e40d59ff55dcaa..4fd746580530871002d7eedbdaeb602c052750b7 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html>
+<html lang="en">
     <head>
         <title>VNC Playback</title>
         <!-- promise polyfills promises for IE11 -->
     </head>
     <body>
 
-        Iterations: <input id='iterations' style='width:50'>&nbsp;
+        Iterations: <input id='iterations'>&nbsp;
         Perftest:<input type='radio' id='mode1' name='mode' checked>&nbsp;
         Realtime:<input type='radio' id='mode2' name='mode'>&nbsp;&nbsp;
 
-        <input id='startButton' type='button' value='Start' style='width:100px' disabled>&nbsp;
+        <input id='startButton' type='button' value='Start' disabled>&nbsp;
 
         <br><br>
 
         Results:<br>
-        <textarea id="messages" style="font-size: 9;" cols=80 rows=25></textarea>
+        <textarea id="messages" cols=80 rows=25></textarea>
 
         <br><br>
 
         <div id="VNC_screen">
-            <div id="VNC_status_bar" class="VNC_status_bar" style="margin-top: 0px;">
-                <table border=0 width=100%><tr>
-                    <td><div id="VNC_status">Loading</div></td>
-                </tr></table>
-            </div>
+            <div id="VNC_status">Loading</div>
         </div>
 
+        <script type="module" src="./playback-ui.js"></script>
     </body>
-
-    <script type="module" src="./playback-ui.js">
 </html>