rt/archetype/src/main/resources/archetype-resources/src/main/resources/index.html
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 22 Mar 2013 00:02:21 +0100
changeset 870 448bed1f6d5a
parent 772 rt/mojo/src/main/resources/archetype-resources/src/main/resources/index.html@d382dacfd73f
child 893 20fb32569339
permissions -rw-r--r--
Separating the archetype into its own module - to give it better name among archetypes
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE html>
     3 <html xmlns="http://www.w3.org/1999/xhtml">
     4     <head>
     5         <title>Bck2Brwsr's Hello World</title>
     6     </head>
     7     <body>
     8         <h1 data-bind="text: helloMessage">Loading Bck2Brwsr's Hello World...</h1>
     9         Your name: <input id='input' data-bind="value: name, valueUpdate: 'afterkeydown'"></input>
    10         <button id="hello">Say Hello!</button>
    11         <p>
    12             <canvas id="canvas" width="300" height="50">
    13             </canvas>
    14         </p>
    15 
    16         <script src="bck2brwsr.js"></script>
    17         <script type="text/javascript">
    18             var vm = bck2brwsr('${artifactId}-${version}.jar');
    19             vm.loadClass('${package}.App');
    20         </script>
    21     </body>
    22 </html>