]>
Commit | Line | Data |
---|---|---|
dfe3ec6b C |
1 | <h3>Users list</h3> |
2 | ||
7da18e44 C |
3 | <table class="table table-hover"> |
4 | <thead> | |
5 | <tr> | |
6 | <th>Id</th> | |
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> |