328b1be77d2b3217cbc012f7df4738e3cfba3ffc
[oweals/peertube.git] / client / src / app / admin / users / user-list / user-list.component.html
1 <h3>Users list</h3>
2
3 <table class="table table-hover">
4   <thead>
5     <tr>
6       <th class="table-column-id">ID</th>
7       <th>Username</th>
8       <th>Created Date</th>
9       <th class="text-right">Remove</th>
10     </tr>
11   </thead>
12
13   <tbody>
14     <tr *ngFor="let user of users">
15       <td>{{ user.id }}</td>
16       <td>{{ user.username }}</td>
17       <td>{{ user.createdDate | date: 'medium' }}</td>
18       <td class="text-right">
19         <span class="glyphicon glyphicon-remove" *ngIf="!user.isAdmin()" (click)="removeUser(user)"></span>
20       </td>
21     </tr>
22   </tbody>
23 </table>
24
25 <a class="add-user btn btn-success pull-right" [routerLink]="['/admin/users/add']">
26   <span class="glyphicon glyphicon-plus"></span>
27   Add user
28 </a>