|
|
@ -36,20 +36,32 @@ |
|
|
[rows]="10" |
|
|
[rows]="10" |
|
|
[totalRecords]="totalCount$ | async" |
|
|
[totalRecords]="totalCount$ | async" |
|
|
[loading]="loading" |
|
|
[loading]="loading" |
|
|
|
|
|
[resizableColumns]="true" |
|
|
|
|
|
[scrollable]="true" |
|
|
(onLazyLoad)="onPageChange($event)" |
|
|
(onLazyLoad)="onPageChange($event)" |
|
|
> |
|
|
> |
|
|
|
|
|
<ng-template pTemplate="colgroup"> |
|
|
|
|
|
<colgroup> |
|
|
|
|
|
<col *ngFor="let width of [80, 200, 200, 200]" [ngStyle]="{ 'width.px': width }" /> |
|
|
|
|
|
</colgroup> |
|
|
|
|
|
</ng-template> |
|
|
<ng-template pTemplate="header"> |
|
|
<ng-template pTemplate="header"> |
|
|
<tr> |
|
|
<tr> |
|
|
<th>{{ 'AbpIdentity::Actions' | abpLocalization }}</th> |
|
|
<th>{{ 'AbpIdentity::Actions' | abpLocalization }}</th> |
|
|
<th>{{ 'AbpIdentity::UserName' | abpLocalization }}</th> |
|
|
<th pResizableColumn (click)="changeSortOrder()"> |
|
|
<th>{{ 'AbpIdentity::EmailAddress' | abpLocalization }}</th> |
|
|
{{ 'AbpIdentity::UserName' | abpLocalization }} |
|
|
<th>{{ 'AbpIdentity::PhoneNumber' | abpLocalization }}</th> |
|
|
<span class="float-right" |
|
|
|
|
|
><i [ngClass]="['fa', sortOrder === 'desc' ? 'fa-sort-desc' : 'fa-sort-asc']"></i |
|
|
|
|
|
></span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<th pResizableColumn>{{ 'AbpIdentity::EmailAddress' | abpLocalization }}</th> |
|
|
|
|
|
<th pResizableColumn>{{ 'AbpIdentity::PhoneNumber' | abpLocalization }}</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</ng-template> |
|
|
</ng-template> |
|
|
<ng-template pTemplate="body" let-data> |
|
|
<ng-template pTemplate="body" let-data> |
|
|
<tr> |
|
|
<tr> |
|
|
<td> |
|
|
<td> |
|
|
<div ngbDropdown class="d-inline-block"> |
|
|
<div ngbDropdown container="body" class="d-inline-block"> |
|
|
<button |
|
|
<button |
|
|
class="btn btn-primary btn-sm dropdown-toggle" |
|
|
class="btn btn-primary btn-sm dropdown-toggle" |
|
|
data-toggle="dropdown" |
|
|
data-toggle="dropdown" |
|
|
|