ko/archetype/src/main/resources/archetype-resources/src/main/webapp/pages/index.html
1.1 --- a/ko/archetype/src/main/resources/archetype-resources/src/main/webapp/pages/index.html Mon Jun 09 09:38:03 2014 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,72 +0,0 @@
1.4 -<!DOCTYPE html>
1.5 -<html>
1.6 - <head>
1.7 - <title></title>
1.8 - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
1.9 -
1.10 - <style type="text/css">
1.11 - @-webkit-keyframes spin {
1.12 - 0% { -webkit-transform: rotate(0deg); }
1.13 - 100% { -webkit-transform: rotate(360deg); }
1.14 - }
1.15 - @keyframes spin {
1.16 - 0% { transform: rotate(0deg); }
1.17 - 100% { transform: rotate(360deg); }
1.18 - }
1.19 -
1.20 - .rotate {
1.21 - -webkit-animation-name: spin;
1.22 - -webkit-animation-duration: 3s;
1.23 - -webkit-animation-iteration-count: infinite;
1.24 - -webkit-animation-direction: alternate;
1.25 -
1.26 - animation-name: spin;
1.27 - animation-duration: 3s;
1.28 - animation-iteration-count: infinite;
1.29 - animation-direction: alternate;
1.30 - }
1.31 -
1.32 - #scene {
1.33 - position: relative;
1.34 - top: 60px;
1.35 - text-align: center;
1.36 - }
1.37 -
1.38 - #words span {
1.39 - border: 1px solid #ccc;
1.40 - background: rgba(255,255,155,0.8);
1.41 - text-align: center;
1.42 - font-size: 30px;
1.43 - -webkit-box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
1.44 - position: absolute;
1.45 - }
1.46 -
1.47 - #words span:nth-child(1) { left: 45%; top: 0px; }
1.48 - #words span:nth-child(2) { left: 25%; top: 100px; }
1.49 - #words span:nth-child(3) { left: 65%; top: 100px; }
1.50 - #words span:nth-child(4) { left: 10%; top: 200px; }
1.51 - #words span:nth-child(5) { left: 45%; top: 200px; }
1.52 - #words span:nth-child(6) { left: 80%; top: 200px; }
1.53 -
1.54 - </style>
1.55 -
1.56 - </head>
1.57 - <body>
1.58 - <h1>Words Demo</h1>
1.59 - <input data-bind="value: message, valueUpdate: 'afterkeydown'" size="80">
1.60 - <br>
1.61 - <button data-bind="enable: !on(), click: $root.turnOn">Start</button>
1.62 - <button data-bind="enable: on, click: $root.turnOff">Stop</button>
1.63 -
1.64 - <div id="scene">
1.65 - <span id="words" data-bind="foreach: words">
1.66 - <span data-bind="text: $data, css: { 'rotate' : $root.on } "></span>
1.67 - </span>
1.68 - </div>
1.69 - <script type="text/javascript" src="bck2brwsr.js"></script>
1.70 - <script>
1.71 - var vm = bck2brwsr('${project.build.finalName}.jar');
1.72 - vm.loadClass('${package}.Main');
1.73 - </script>
1.74 - </body>
1.75 -</html>