Team of individuals: initial display of results page ok

This commit is contained in:
Claude Brisson
2025-01-26 18:21:59 +01:00
parent 0ebe3dfbd7
commit 47c729e61a
5 changed files with 42 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
<button class="ui floating choose-round prev-round button">&laquo;</button>
<span class="active-round">$round</span>
<button class="ui floating choose-round next-round button">&raquo;</button>
#set($stats = $utils.getResultsStats($games))
#set($stats = $utils.getResultsStats($individualGames))
<span class="norbeak">( <span id="known">$stats.known</span> / $stats.total )</span>
<div id="results-filter" class="toggle">
<input type="checkbox" value="true"/>
@@ -25,9 +25,9 @@
</thead>
<tbody>
#set($dispRst = {'?':'?', 'w':'1-0', 'b':'0-1', '=':'½-½', 'X':'X', '#':'1-1', '0':'0-0'})
#foreach($game in $games)
#set($white = $pmap[$game.w])
#set($black = $pmap[$game.b])
#foreach($game in $individualGames)
#set($white = $plmap[$game.w])
#set($black = $plmap[$game.b])
#if($black && $white)
<tr id="result-$game.id" data-id="$game.id">
<td data-sort="$game.t">${game.t}.</td>