launcher/src/main/resources/org/apidesign/bck2brwsr/launcher/console.xhtml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 16 Dec 2012 20:11:18 +0100
branchlauncher
changeset 332 6949044415df
parent 331 7328b7ba2fa4
permissions -rw-r--r--
First steps towards execution harness
jaroslav@323
     1
<?xml version="1.0" encoding="UTF-8"?>
jaroslav@323
     2
<!--
jaroslav@323
     3
jaroslav@323
     4
    Back 2 Browser Bytecode Translator
jaroslav@323
     5
    Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@323
     6
jaroslav@323
     7
    This program is free software: you can redistribute it and/or modify
jaroslav@323
     8
    it under the terms of the GNU General Public License as published by
jaroslav@323
     9
    the Free Software Foundation, version 2 of the License.
jaroslav@323
    10
jaroslav@323
    11
    This program is distributed in the hope that it will be useful,
jaroslav@323
    12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@323
    13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@323
    14
    GNU General Public License for more details.
jaroslav@323
    15
jaroslav@323
    16
    You should have received a copy of the GNU General Public License
jaroslav@323
    17
    along with this program. Look for COPYING file in the top folder.
jaroslav@323
    18
    If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@323
    19
jaroslav@323
    20
-->
jaroslav@323
    21
<!DOCTYPE html>
jaroslav@323
    22
<html xmlns="http://www.w3.org/1999/xhtml">
jaroslav@323
    23
    <head>
jaroslav@323
    24
        <title>Bck2Brwsr Launcher</title>
jaroslav@323
    25
    </head>
jaroslav@323
    26
    <body>
jaroslav@332
    27
        <script src="/bck2brwsr.js"></script>
jaroslav@332
    28
        <script src="/vm.js"></script>
jaroslav@332
    29
        
jaroslav@323
    30
        <h1>Bck2Browser Console Launcher</h1>
jaroslav@323
    31
        
jaroslav@323
    32
        Class Name:
jaroslav@331
    33
        <input id="clazz" value="$0"/>
jaroslav@323
    34
        <br/>
jaroslav@323
    35
        Method Name:
jaroslav@323
    36
jaroslav@331
    37
        <input id="method" value="$1"/>
jaroslav@323
    38
        <br/>
jaroslav@323
    39
        
jaroslav@323
    40
        <button onclick="vm.loadClass('org.apidesign.bck2brwsr.launcher.Console').execute__V();">Execute!</button>
jaroslav@323
    41
        
jaroslav@323
    42
        <hr/>
jaroslav@331
    43
        <textarea id="result" rows="10" cols="80" disabled="">
jaroslav@323
    44
        </textarea>
jaroslav@331
    45
        
jaroslav@331
    46
        <script type="text/javascript">
jaroslav@331
    47
            if ($2) {
jaroslav@331
    48
                vm.loadClass('org.apidesign.bck2brwsr.launcher.Console').execute__V();
jaroslav@331
    49
            }
jaroslav@331
    50
        </script>
jaroslav@323
    51
    </body>
jaroslav@323
    52
</html>