freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/opening_games.fmt
Initial version of statistics and ELO rating. Donated by Martin Rexa
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title>${bundle.OPENINGS} - ${bundle.GAMES}</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8 <h3><a href="/">${bundle.TITLE_PLAIN}</a></h3>
9 <h4>${bundle.OPENINGS} - ${bundle.GAMES}</h4>
12 <#assign seconds = (t / 1000)?long/>
13 <#assign minutes= (seconds / 60)?long/>
14 <#assign hours= (minutes / 60)?long/>
15 <#assign days= (hours / 24)?long/>
16 <!--millis: ${t}, seconds: ${seconds}, minutes: ${minutes} hours: ${hours}, days: ${days} -->
17 ${bundle("LastMove", t?int, seconds?int, minutes?int, hours?int, days?int)}
20 ${bundle("gameWhiteBlack", game.@white?string, game.@black?string)}
21 <a href="/games/${game.@id}/"><@before (now - game.@modified?number)?long/></a>
22 <#if game.@comments?number != 0>
23 ${bundle("comments", game.@comments?number)}
28 <#list doc.gameIds.* as g>
34 <h4><a href="/openings/${code}">${bundle.OPENINGS}</a></h4>