diff options
Diffstat (limited to 'client/src/app/admin/users/user-list/user-list.component.html')
-rw-r--r-- | client/src/app/admin/users/user-list/user-list.component.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/client/src/app/admin/users/user-list/user-list.component.html b/client/src/app/admin/users/user-list/user-list.component.html new file mode 100644 index 000000000..2aca05f2b --- /dev/null +++ b/client/src/app/admin/users/user-list/user-list.component.html | |||
@@ -0,0 +1,24 @@ | |||
1 | <table class="table table-hover"> | ||
2 | <thead> | ||
3 | <tr> | ||
4 | <th>Id</th> | ||
5 | <th>Username</th> | ||
6 | <th class="text-right">Remove</th> | ||
7 | </tr> | ||
8 | </thead> | ||
9 | |||
10 | <tbody> | ||
11 | <tr *ngFor="let user of users"> | ||
12 | <td>{{ user.id }}</td> | ||
13 | <td>{{ user.username }}</td> | ||
14 | <td class="text-right"> | ||
15 | <span class="glyphicon glyphicon-remove" *ngIf="!user.isAdmin()" (click)="removeUser(user)"></span> | ||
16 | </td> | ||
17 | </tr> | ||
18 | </tbody> | ||
19 | </table> | ||
20 | |||
21 | <a class="add-user btn btn-success pull-right" [routerLink]="['/admin/users/add']"> | ||
22 | <span class="glyphicon glyphicon-plus"></span> | ||
23 | Add user | ||
24 | </a> | ||