ko/archetype/src/main/resources/archetype-resources/src/main/webapp/pages/index.html
Rewritting the archetype to be simpler and more easily modifiable to one's needs
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <style type="text/css">
8 @-webkit-keyframes spin {
9 0% { -webkit-transform: rotate(0deg); }
10 100% { -webkit-transform: rotate(360deg); }
14 -webkit-animation-name: spin;
15 -webkit-animation-duration: 3s;
16 -webkit-animation-iteration-count: infinite;
17 -webkit-animation-direction: alternate;
27 border: 1px solid #ccc;
28 background: rgba(255,255,155,0.8);
31 -webkit-box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
35 #words span:nth-child(1) { left: 45%; top: 0px; }
36 #words span:nth-child(2) { left: 25%; top: 100px; }
37 #words span:nth-child(3) { left: 65%; top: 100px; }
38 #words span:nth-child(4) { left: 10%; top: 200px; }
39 #words span:nth-child(5) { left: 45%; top: 200px; }
40 #words span:nth-child(6) { left: 80%; top: 200px; }
47 <input data-bind="value: message, valueUpdate: 'afterkeydown'" size="80">
49 <button data-bind="enable: !on(), click: $root.turnOn">Start</button>
50 <button data-bind="enable: on, click: $root.turnOff">Stop</button>
53 <span id="words" data-bind="foreach: words">
54 <span data-bind="text: $data, css: { 'rotate' : $root.on } "></span>
57 <script type="text/javascript" src="bck2brwsr.js"></script>
59 var vm = bck2brwsr('${project.build.finalName}.jar');
60 vm.loadClass('${package}.Main');