added user's forms

This commit is contained in:
2025-11-11 16:13:21 +01:00
parent 48b4c778ea
commit 09538712e7
10 changed files with 493 additions and 8 deletions

View File

@@ -0,0 +1,33 @@
<nz-table #basicTable [nzData]="listOfData">
<thead>
<tr>
<th>Nom</th>
<th>Prénom</th>
<th>Email</th>
<th>Anniversaire</th>
<th>Emprunt</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@for (data of basicTable.data; track data) {
<tr>
<td>{{ data.name}}</td>
<td>{{ data.firstName }}</td>
<p>{{ data.email }}</p>
<td>{{ data.birthDate | date: 'dd/MM/yyyy'}}</td>
<td>
<app-modal [name]="'Afficher'">
<app-loan-table></app-loan-table>
</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>
</td>
</tr>
}
</tbody>
</nz-table>