admin: New route to altern color between teams

This commit is contained in:
nemunaire 2024-03-25 13:39:57 +01:00
commit adb18a6a7c
2 changed files with 32 additions and 0 deletions

View file

@ -14,6 +14,9 @@
<th ng-repeat="field in fields">
{{ field }}
</th>
<th>
color
</th>
</tr>
</thead>
<tbody>
@ -21,6 +24,9 @@
<td ng-repeat="field in fields">
{{ team[field] }}
</td>
<td style="background-color: {{ team['color'] | toColor }}" class="text-center">
{{ team['color'] | toColor }}
</td>
</tr>
</tbody>
</table>