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