19 lines
644 B
HTML
19 lines
644 B
HTML
|
<p><input type="search" class="form-control" placeholder="Rechercher" ng-model="query"></p>
|
||
|
<table class="table table-hover table-bordered table-striped">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th ng-repeat="field in fields" ng-click="order(field)">
|
||
|
{{ field }}
|
||
|
<span class="glyphicon" ng-show="rankOrder === field" ng-class="{'glyphicon-up': !reverse, 'glyphicon-down': reverse}"></span>
|
||
|
</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr ng-repeat="team in rank | filter: query | orderBy:rankOrder:reverse" ng-click="show(team.id)" ng-show="team.rank">
|
||
|
<td ng-repeat="field in fields">
|
||
|
{{ team[field] }}
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|