Let registration status tune participation column opacity
This commit is contained in:
@@ -111,6 +111,9 @@
|
||||
border-radius: 500rem;
|
||||
}
|
||||
}
|
||||
tr:not(.final) .participation {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -365,6 +365,7 @@ onLoad(() => {
|
||||
final: newStatus
|
||||
}).then(player => {
|
||||
if (player !== 'error') {
|
||||
tr.toggleClass('final');
|
||||
cell.toggleClass('final');
|
||||
standingsUpToDate = false;
|
||||
pairablesUpToDate = false;
|
||||
|
@@ -39,7 +39,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
#foreach($part in $parts)
|
||||
<tr data-id="$part.id" data-text="$esc.html("$part.name.toUpperCase() $part.firstname.toUpperCase() $part.club.toUpperCase()")">
|
||||
<tr data-id="$part.id" data-text="$esc.html("$part.name.toUpperCase() $part.firstname.toUpperCase() $part.club.toUpperCase()")" class="#if($part.final)final#end">
|
||||
<td class="centered reg-status #if($part.final)final#end" data-sort="$!part.final">
|
||||
<span class="preliminary"><i class="fa fa-question"></i></span>
|
||||
<span class="final"><i class="fa fa-check"></i></span>
|
||||
|
Reference in New Issue
Block a user