ko-archetype/src/main/resources/archetype-resources/src/main/resources/index.html
changeset 1201 b6fd8b9ccc7a
child 1202 5f04bdbc6ee1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ko-archetype/src/main/resources/archetype-resources/src/main/resources/index.html	Mon May 13 11:39:33 2013 +0200
     1.3 @@ -0,0 +1,31 @@
     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 +        
    1.20 +        <div data-bind="if: noMessages">No message displayed yet.</div>
    1.21 +        <ul data-bind="foreach: messages">
    1.22 +            <li>
    1.23 +                <a href="#" data-bind="text: $data, click: $root.display"></a>
    1.24 +                (<a href="#" data-bind="click: $root.remove">delete</a>)
    1.25 +            </li>
    1.26 +        </ul>
    1.27 +      
    1.28 +        <script src="bck2brwsr.js"></script>
    1.29 +        <script type="text/javascript">
    1.30 +            var vm = bck2brwsr('${artifactId}-${version}.jar');
    1.31 +            vm.loadClass('${package}.App');
    1.32 +        </script>
    1.33 +    </body>
    1.34 +</html>