30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<a href="grades" class="btn btn-success ml-1 float-right" title="Notes" ng-if="user.is_admin"><svg class="bi bi-documents" width="1em" height="1em" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 4h8a2 2 0 012 2v10a2 2 0 01-2 2H5a2 2 0 01-2-2V6a2 2 0 012-2zm0 1a1 1 0 00-1 1v10a1 1 0 001 1h8a1 1 0 001-1V6a1 1 0 00-1-1H5z" clip-rule="evenodd"></path><path d="M7 2h8a2 2 0 012 2v10a2 2 0 01-2 2v-1a1 1 0 001-1V4a1 1 0 00-1-1H7a1 1 0 00-1 1H5a2 2 0 012-2z"></path></svg></a>
|
|
<h2>
|
|
Étudiants
|
|
</h2>
|
|
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Login</th>
|
|
<th>E-mail</th>
|
|
<th>Nom</th>
|
|
<th>Prénom</th>
|
|
<th>Date d'inscription</th>
|
|
<th>admin</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="(uid,user) in users" ng-click="showUser(user)">
|
|
<td>{{ user.id }}</td>
|
|
<td>{{ user.login }}</td>
|
|
<td><a href="mailto:{{ user.email }}">{{ user.email }}</a></td>
|
|
<td>{{ user.lastname }}</td>
|
|
<td>{{ user.firstname }}</td>
|
|
<td>{{ user.time }}</td>
|
|
<td>{{ user.is_admin?"Oui":"Non" }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|