]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/admin/users/user-list/user-list.component.html
Client: use templateUrl/styleUrls instead of require
[github/Chocobozzz/PeerTube.git] / client / src / app / admin / users / user-list / user-list.component.html
CommitLineData
dfe3ec6b
C
1<h3>Users list</h3>
2
7da18e44
C
3<table class="table table-hover">
4 <thead>
5 <tr>
21496304 6 <th class="table-column-id">ID</th>
7da18e44
C
7 <th>Username</th>
8 <th class="text-right">Remove</th>
9 </tr>
10 </thead>
11
12 <tbody>
13 <tr *ngFor="let user of users">
14 <td>{{ user.id }}</td>
15 <td>{{ user.username }}</td>
16 <td class="text-right">
17 <span class="glyphicon glyphicon-remove" *ngIf="!user.isAdmin()" (click)="removeUser(user)"></span>
18 </td>
19 </tr>
20 </tbody>
21</table>
22
23<a class="add-user btn btn-success pull-right" [routerLink]="['/admin/users/add']">
24 <span class="glyphicon glyphicon-plus"></span>
25 Add user
26</a>