ko-archetype/src/main/resources/archetype-resources/src/main/webapp/pages/index.html
branchEnumString
changeset 756 888067154d74
parent 606 4e9ec54a12e0
parent 755 d396bc480560
     1.1 --- a/ko-archetype/src/main/resources/archetype-resources/src/main/webapp/pages/index.html	Wed Mar 12 20:26:58 2014 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,58 +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 -
    1.16 -            .rotate {
    1.17 -                -webkit-animation-name: spin;
    1.18 -                -webkit-animation-duration: 3s;
    1.19 -                -webkit-animation-iteration-count: infinite;
    1.20 -                -webkit-animation-direction: alternate;
    1.21 -            }
    1.22 -
    1.23 -            #scene {
    1.24 -                position: relative;
    1.25 -                top: 60px;
    1.26 -                text-align: center;
    1.27 -            }
    1.28 -            
    1.29 -            #words span {
    1.30 -                border: 1px solid #ccc;
    1.31 -                background: rgba(255,255,155,0.8);
    1.32 -                text-align: center;
    1.33 -                font-size: 30px;                
    1.34 -                -webkit-box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
    1.35 -                position: absolute;
    1.36 -            }
    1.37 -
    1.38 -            #words span:nth-child(1) { left: 45%; top: 0px; }
    1.39 -            #words span:nth-child(2) { left: 25%; top: 100px; }
    1.40 -            #words span:nth-child(3) { left: 65%; top: 100px; }
    1.41 -            #words span:nth-child(4) { left: 10%; top: 200px; }
    1.42 -            #words span:nth-child(5) { left: 45%; top: 200px; }
    1.43 -            #words span:nth-child(6) { left: 80%; top: 200px; }
    1.44 -            
    1.45 -        </style>
    1.46 -
    1.47 -    </head>
    1.48 -    <body>
    1.49 -        <h1>Words Demo</h1>
    1.50 -        <input data-bind="value: message, valueUpdate: 'afterkeydown'" size="80">
    1.51 -        <br>
    1.52 -        <button data-bind="enable: !on(), click: $root.turnOn">Start</button>
    1.53 -        <button data-bind="enable: on, click: $root.turnOff">Stop</button>
    1.54 -
    1.55 -        <div id="scene">
    1.56 -            <span id="words" data-bind="foreach: words">
    1.57 -                <span data-bind="text: $data, css: { 'rotate' : $root.on } "></span>
    1.58 -            </span>
    1.59 -        </div>
    1.60 -    </body>
    1.61 -</html>