javaquery/demo-calculator/src/main/resources/org/apidesign/bck2brwsr/mavenhtml/Calculator.xhtml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 09 Nov 2012 12:09:40 +0100
changeset 142 74c37d9cfdc9
parent 141 63be794c1eeb
child 197 e7bb314eec32
permissions -rw-r--r--
Fixing licenses
     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>Simple Calculator in HTML5 and Java</title>
    25     </head>
    26     <body>
    27         <table border="0" cellspacing="2">
    28             <tbody>
    29                 <tr>
    30                     <td colspan="4"><input id="display" value="0"/></td>
    31                 </tr>
    32                 <tr>
    33                     <td><button id="n1">1</button></td>
    34                     <td><button id="n2">2</button></td>
    35                     <td><button id="n3">3</button></td>
    36                     <td><button id="plus">+</button></td>
    37                 </tr>
    38                 <tr>
    39                     <td><button id="n4">4</button></td>
    40                     <td><button id="n5">5</button></td>
    41                     <td><button id="n6">6</button></td>
    42                     <td><button id="minus">-</button></td>
    43                 </tr>
    44                 <tr>
    45                     <td><button id="n7">7</button></td>
    46                     <td><button id="n8">8</button></td>
    47                     <td><button id="n9">9</button></td>
    48                     <td><button id="mul">*</button></td>
    49                 </tr>
    50                 <tr>
    51                     <td><button id="clear">C</button></td>
    52                     <td><button id="n0">0</button></td>
    53                     <td><button id="result">=</button></td>
    54                     <td><button id="div">/</button></td>
    55                 </tr>
    56             </tbody>
    57         </table>
    58 
    59         <script src="bootjava.js"/>
    60     </body>
    61 </html>