mojo/src/main/resources/archetype-resources/src/main/resources/index.html
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 15 Feb 2013 20:09:36 +0100
branchemul
changeset 744 341d8ed644df
parent 534 mojo/src/main/resources/archetype-resources/src/main/resources/index.xhtml@3cefccd50bd5
permissions -rw-r--r--
Modifying the archetype to generate static ZIP file to be uploaded on a static web server
     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>