Skip to content
Snippets Groups Projects
Commit 671118ff authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Added colors to total scores in completed matches

parent f2de599f
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ $lg-width: 1200px
$black: #303030
$white: #F2F2F2
&.recurve.colored
&.colored
.val-10, .val-9
background-color: $yellow
......
......@@ -45,8 +45,8 @@
class="val-{$arrow} {$j == $match->arrows - 1 ? separator}">
<input type="text" disabled value="{$arrow}">
</td>
<td>{$sum = array_sum($row)}</td>
<td>{$total = $total + $sum}</td>
<td class="val-{floor(($sum = array_sum($row)) / $match->arrows)}">{$sum}</td>
<td class="val-{floor(($total = $total + $sum) / ($match->arrows * ($i + 1)))}">{$total}</td>
</tr>
</tbody>
<tbody>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment