admin: New route to altern color between teams
This commit is contained in:
parent
382417b9ff
commit
adb18a6a7c
2 changed files with 32 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Reference in a new issue