2016-12-26 00:20:06 +00:00
|
|
|
<h2>Équipes</h2>
|
|
|
|
|
2016-01-13 00:22:54 +00:00
|
|
|
<p><input type="search" class="form-control" placeholder="Search" ng-model="query"></p>
|
|
|
|
<table class="table table-hover table-bordered">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th ng-repeat="field in fields">
|
|
|
|
{{ field }}
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="team in teams | filter: query" ng-click="show(team.id)">
|
|
|
|
<td ng-repeat="field in fields">
|
|
|
|
{{ team[field] }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|