rt/mojo/src/main/resources/archetype-resources/src/main/resources/index.html
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 26 Feb 2013 16:54:16 +0100
changeset 772 d382dacfd73f
parent 744 mojo/src/main/resources/archetype-resources/src/main/resources/index.html@341d8ed644df
permissions -rw-r--r--
Moving modules around so the runtime is under one master pom and can be built without building other modules that are in the repository
jaroslav@141
     1
<?xml version="1.0" encoding="UTF-8"?>
jaroslav@141
     2
<!DOCTYPE html>
jaroslav@141
     3
<html xmlns="http://www.w3.org/1999/xhtml">
jaroslav@141
     4
    <head>
jaroslav@421
     5
        <title>Bck2Brwsr's Hello World</title>
jaroslav@421
     6
    </head>
jaroslav@141
     7
    <body>
jaroslav@528
     8
        <h1 data-bind="text: helloMessage">Loading Bck2Brwsr's Hello World...</h1>
jaroslav@534
     9
        Your name: <input id='input' data-bind="value: name, valueUpdate: 'afterkeydown'"></input>
jaroslav@528
    10
        <button id="hello">Say Hello!</button>
jaroslav@533
    11
        <p>
jaroslav@533
    12
            <canvas id="canvas" width="300" height="50">
jaroslav@533
    13
            </canvas>
jaroslav@533
    14
        </p>
jaroslav@141
    15
jaroslav@744
    16
        <script src="bck2brwsr.js"></script>
jaroslav@357
    17
        <script type="text/javascript">
jaroslav@744
    18
            var vm = bck2brwsr('${artifactId}-${version}.jar');
jaroslav@528
    19
            vm.loadClass('${package}.App');
jaroslav@357
    20
        </script>
jaroslav@141
    21
    </body>
jaroslav@141
    22
</html>