frontend: in rank, hilight current team line
authorPierre-Olivier Mercier <nemunaire@nemunai.re>
Sun, 9 Dec 2018 23:00:07 +0000 (00:00 +0100)
committerPierre-Olivier Mercier <nemunaire@nemunai.re>
Sun, 9 Dec 2018 23:31:30 +0000 (00:31 +0100)
frontend/static/views/rank.html

index e7c74c3..6e5a1e8 100644 (file)
@@ -13,7 +13,7 @@
     </thead>
     <tbody>
       <tr ng-repeat="team in rank | filter: query | orderBy:rankOrder:reverse" ng-click="show(team.id)" ng-if="team.rank">
-       <td ng-repeat="field in fields" ng-class="{info: my.team_id == team.id}">
+       <td ng-repeat="field in fields" ng-class="{'bg-info': my.team_id == team.id}">
          {{ team[field] }}
        </td>
       </tr>