25 lines
1.1 KiB
HTML
25 lines
1.1 KiB
HTML
<h2>
|
|
Équipes
|
|
<button ng-click="show('new')" class="float-right btn btn-sm btn-primary"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Ajouter une équipe</button>
|
|
<button ng-click="show('print')" class="float-right btn btn-sm btn-secondary" style="margin-right: 10px;"><span class="glyphicon glyphicon-print" aria-hidden="true"></span> Imprimer les équipes</button>
|
|
<button ng-click="show('export')" class="float-right btn btn-sm btn-secondary" style="margin-right: 10px;"><span class="glyphicon glyphicon-export" aria-hidden="true"></span> Statistiques générales</button>
|
|
</h2>
|
|
|
|
<p><input type="search" class="form-control" placeholder="Search" ng-model="query" autofocus></p>
|
|
<table class="table table-hover table-bordered table-striped table-sm">
|
|
<thead class="thead-dark">
|
|
<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>
|