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.TITLE}</h1>
11 ${game.@white}${bundle.VS}${game.@black} <a href="/games/${game.@id}/">board</a>
16 <span style="color: red">${message}</span>
20 <h5>${bundle.GAME_MOVE}</h5>
23 <#list doc.gameIds.* as g>
24 <#if (g.@white = user || g.@black = user) && g.@result = "IN_PROGRESS" >
32 <h5>${bundle.GAME_WON}</h5>
35 <#list doc.gameIds.* as g>
37 (g.@white = user && g.@result = "WHITE_WON") ||
38 (g.@black = user && g.@result = "BLACK_WON")
47 <h5>${bundle.GAME_LOST}</h5>
50 <#list doc.gameIds.* as g>
52 (g.@white = user && g.@result = "BLACK_WON") ||
53 (g.@black = user && g.@result = "WHITE_WON")
62 <form action="games/create">
63 ${bundle.WHITE}: <input type="text" name="white" value="" />
64 ${bundle.BLACK}: <input type="text" name="black" value="" />
65 <input type="submit" value="Create!" />
68 <h5>${bundle.GAME_ALL}</h5>
71 <#list doc.gameIds.* as g>