diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.html')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.html new file mode 100644 index 000000000..89ed21be8 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.html @@ -0,0 +1,22 @@ +<cd-user-tabs></cd-user-tabs> + +<cd-table [data]="users" + columnMode="flex" + [columns]="columns" + identifier="username" + selectionType="single" + (fetchData)="getUsers()" + (updateSelection)="updateSelection($event)"> + <cd-table-actions class="table-actions" + [permission]="permission" + [selection]="selection" + [tableActions]="tableActions"> + </cd-table-actions> +</cd-table> + +<ng-template #userRolesTpl + let-value="value"> + <span *ngFor="let role of value; last as isLast"> + {{ role }}{{ !isLast ? ", " : "" }} + </span> +</ng-template> |