server/admin/static/views/team-print.html

39 lines
879 B
HTML

<h2 ng-controller="SettingsController">{{ config.title }} &ndash; &Eacute;quipes</h2>
<p class="hidden-print"><input type="search" class="form-control" placeholder="Search" ng-model="query" autofocus></p>
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>
ID
</th>
<th>
Nom d'équipe
</th>
<th>
members
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="team in teams | filter: query" ng-click="show(team.id)">
<td>
{{ team.id }}
</td>
<td>
{{ team.name }}
</td>
<td ng-controller="TeamMembersController" class="p-0">
<table class="table table-hover table-sm bg-light m-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>