rt/mojo/src/main/resources/archetype-resources/src/main/resources/index.html
changeset 772 d382dacfd73f
parent 744 341d8ed644df
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rt/mojo/src/main/resources/archetype-resources/src/main/resources/index.html	Tue Feb 26 16:54:16 2013 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!DOCTYPE html>
     1.6 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.7 +    <head>
     1.8 +        <title>Bck2Brwsr's Hello World</title>
     1.9 +    </head>
    1.10 +    <body>
    1.11 +        <h1 data-bind="text: helloMessage">Loading Bck2Brwsr's Hello World...</h1>
    1.12 +        Your name: <input id='input' data-bind="value: name, valueUpdate: 'afterkeydown'"></input>
    1.13 +        <button id="hello">Say Hello!</button>
    1.14 +        <p>
    1.15 +            <canvas id="canvas" width="300" height="50">
    1.16 +            </canvas>
    1.17 +        </p>
    1.18 +
    1.19 +        <script src="bck2brwsr.js"></script>
    1.20 +        <script type="text/javascript">
    1.21 +            var vm = bck2brwsr('${artifactId}-${version}.jar');
    1.22 +            vm.loadClass('${package}.App');
    1.23 +        </script>
    1.24 +    </body>
    1.25 +</html>