More natural layout chess
authorJaroslav Tulach <jtulach@netbeans.org>
Wed, 25 Sep 2013 04:27:55 +0200
branchchess
changeset 54386d1f27e2e6
parent 53 bc0094a5f88c
child 55 8e8097c4fa2b
child 87 c2293ae622df
More natural layout
chess/src/main/webapp/pages/index.html
     1.1 --- a/chess/src/main/webapp/pages/index.html	Wed Sep 25 04:18:47 2013 +0200
     1.2 +++ b/chess/src/main/webapp/pages/index.html	Wed Sep 25 04:27:55 2013 +0200
     1.3 @@ -123,17 +123,21 @@
     1.4                      <p>
     1.5                          Status: <span data-bind="text: $root.status"></span>
     1.6                      </p>
     1.7 -                    <div class="input-append" class="select">
     1.8 +                    <span class="input-append" class="select">
     1.9                          <input type="text" data-bind="value: whitePlayer, valueUpdate: 'afterkeydown'" 
    1.10                          class="input-small" placeholder="White Player"></input>
    1.11 +                     </span>
    1.12                       vs.
    1.13 +                     <span>
    1.14                          <input type="text" data-bind="value: blackPlayer, valueUpdate: 'afterkeydown'" 
    1.15                          class="input-small" placeholder="Black Player"></input>
    1.16 -                    </div>
    1.17 +                    </span>
    1.18                      <br/>
    1.19                      <button data-bind="click: $root.createGame, enable: correctNames"
    1.20                          class="btn btn-success" >Create Game!</button>
    1.21                      <br/>
    1.22 +                    <br/>
    1.23 +                    <br/>
    1.24                      <div data-bind="foreach: $root.boards">
    1.25                          <div class="input-append">
    1.26                          <input type="text" data-bind="value: status" disabled></input>