33 lines
881 B
HTML
33 lines
881 B
HTML
<h2 ng-controller="SettingsController">{{ config.title }} – Équipes</h2>
|
|
|
|
<p class="hidden-print"><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>
|
|
<th>
|
|
members
|
|
</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>
|
|
<td ng-controller="TeamMembersController" style="padding: 0;">
|
|
<table class="table table-hover table-condensed" style="margin: 0;">
|
|
<tr class="row" ng-repeat="member in members">
|
|
<td class="col-sm-3" ng-repeat="field in fields">
|
|
{{ member[field] }}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|