summaryrefslogtreecommitdiff
path: root/tests/vnc_playback.html
blob: 524bb9f277b8069fc0c19f96a30bb160a0b57bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
    <head>
        <title>VNC Playback</title>
        <!-- promise polyfills promises for IE11 -->
        <script src="../vendor/promise.js"></script>
        <!-- ES2015/ES6 modules polyfill -->
        <script type="module">
            window._noVNC_has_module_support = true;
        </script>
        <script>
            window.addEventListener("load", function() {
                if (window._noVNC_has_module_support) return;
                var loader = document.createElement("script");
                loader.src = "../vendor/browser-es-module-loader/dist/browser-es-module-loader.js";
                document.head.appendChild(loader);
            });
        </script>
        <!-- actual script modules -->
        <script type="module" src="./playback-ui.js"></script>
    </head>
    <body>

        Iterations: <input id='iterations' style='width:50'>&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;

        <br><br>

        Results:<br>
        <textarea id="messages" style="font-size: 9;" 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>

    </body>

    <!--
    <script type='text/javascript'
        src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
    -->

    <script type="module" src="./playback-ui.js">
</html>