35 lines
593 B
HTML
35 lines
593 B
HTML
|
<div class="d-flex justify-content-between">
|
||
|
<h2>Tags</h2>
|
||
|
</div>
|
||
|
|
||
|
<table class="table table-hover table-bordered table-striped table-sm">
|
||
|
<thead class="thead-dark">
|
||
|
<tr>
|
||
|
<th>
|
||
|
Tag
|
||
|
</th>
|
||
|
<th>
|
||
|
Nb
|
||
|
</th>
|
||
|
<th>
|
||
|
Exercices
|
||
|
</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr ng-repeat="(tag, exercices) in tags">
|
||
|
<td>
|
||
|
{{ tag }}
|
||
|
</td>
|
||
|
<td>
|
||
|
{{ exercices.length }}
|
||
|
</td>
|
||
|
<td ng-repeat="e in exercices">
|
||
|
<a ng-href="exercices/{{ e.id }}">
|
||
|
{{ e.title }}
|
||
|
</a>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|