1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8 <h1>${bundle.GAME}</h1>
9 <h3>${doc.game.id.@white}${bundle.VS}${doc.game.id.@black}</h3>
12 <a href="/games/${doc.game.id.@id}">${bundle.RELOAD}</a>
13 <a href="/">${bundle.ROOT}</a>
18 <span style="color: red">${message}</span>
22 ${bundle.MOVE_WHO} ${doc.game.@currentPlayer}
23 <#if user = doc.game.@currentPlayer >
24 <form action="/games/${doc.game.id.@id}/move">
25 <input type="hidden" name="type" value="fence" readonly="readonly"/>
26 <select name="column">
46 <select name="direction">
47 <option>${bundle.H}</option>
48 <option>${bundle.V}</option>
50 <input type="submit" value="${bundle.PLACE}" />
53 <input type="hidden" name="type" value="move" readonly="readonly"/>
54 <select name="direction">
60 <select name="direction-next">
67 <input type="submit" value="${bundle.MOVE}" />
70 <pre>${doc.game.board}</pre>
72 <h3>${bundle.MOVES}</h3>
77 <th>${bundle.MOVENUMBER}</th>
78 <th>${doc.game.id.@white}</th>
79 <th>${doc.game.id.@black}</th>
83 <#list doc.game.moves.* as item>
84 <#if item.@index?number % 2 = 1>
85 <tr><td>${item.@index}</td><td>${item.@move}</td>
87 <td>${item.@move}</td></tr>