finish all getall into table

This commit is contained in:
2025-11-18 12:04:51 +01:00
parent 73ce63d7d0
commit 4b5fd254a1
57 changed files with 3048 additions and 82 deletions

View File

@@ -1,5 +1,7 @@
<nz-table [nzData]="users()"
[nzLoading]="usersLoading()">
[nzLoading]="usersLoading()"
[nzFrontPagination]="false"
>
<thead>
<tr style="text-align: center">
<th>Nom</th>
@@ -19,7 +21,8 @@
<td>{{ user.birthDate | date: 'dd/MM/yyyy'}}</td>
<td>
<app-modal type="link" [name]="'Voir les emprunts'">
<nz-table [nzData]="users()">
<nz-table [nzData]="users()"
[nzFrontPagination]="false">
<thead>
<tr style="text-align: center">
<th>Livre</th>
@@ -40,10 +43,19 @@
</app-modal>
</td>
<td>
<app-modal [name]="'Modifier'">
<app-update-user></app-update-user>
</app-modal>
<button nz-button nzType="primary" (click)="delete()" class="bg-red-600 border-red-600">Supprimer</button>
<div style="justify-content: center; display: flex">
<td>
<app-modal [name]="'Modifier'">
<app-update-user></app-update-user>
</app-modal>
<nz-divider nzType="vertical"></nz-divider>
<div>
<button nz-button nzType="primary" (click)="delete()" class="bg-red-600 border-red-600">Supprimer</button>
</div>
</td>
</div>
</td>
</tr>
}