Standings page ok

This commit is contained in:
Claude Brisson
2023-12-25 06:21:05 +01:00
parent 31411eb859
commit 91e0bc839a
5 changed files with 105 additions and 20 deletions

View File

@@ -15,7 +15,7 @@
#end
<div class="tab-content" id="pairing">
<div id="pairing-content">
<div id="pairing-round" class="active-round"-box>
<div id="pairing-round" class="active-round-box">
Pairings for round
<button class="ui floating choose-round prev-round button">&laquo;</button>
<span class="active-round">$round</span>
@@ -42,7 +42,7 @@
#foreach($game in $games)
#set($white = $pmap[$game.w])
#set($black = $pmap[$game.b])
<div class="listitem game" data-id="$game.id"><span class="table">#$game.t</span><span class="white">#if($white)$white.name $white.firstname #rank($white.rank)#{else}BIP#end</span><span>&nbsp;</span><span class="black">#if($black)$black.name $black.firstname #rank($black.rank)#{else}BIP#end</span><span class="handicap">$game.h</span></div>
<div class="listitem game" data-id="$game.id"><span class="table">#$game.t</span><span class="white">#if($white)$white.name $white.firstname #rank($white.rank)#{else}BIP#end</span><span>&nbsp;</span><span class="black">#if($black)$black.name $black.firstname #rank($black.rank)#{else}BIP#end</span>#if($game.h)<span class="handicap">h$game.h</span>#end</div>
#end
</div>
</div>