fix columns

This commit is contained in:
2025-11-17 10:35:52 +01:00
parent ffc633c452
commit bab2bc8975
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<nz-table #basicTable [nzData]="listOfData"> <nz-table #basicTable [nzData]="listOfData">
<thead> <thead>
<tr> <tr style="text-align: center">
<th>Utilisateur</th> <th>Utilisateur</th>
<th>Livre</th> <th>Livre</th>
<th>Date d'enregistrement</th> <th>Date d'enregistrement</th>
@@ -9,7 +9,7 @@
<th>Action</th> <th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody style="text-align: center">
@for (data of basicTable.data; track data) { @for (data of basicTable.data; track data) {
<tr> <tr>
<td>{{ data.user.name}} {{data.user.firstName }}</td> <td>{{ data.user.name}} {{data.user.firstName }}</td>

View File

@@ -1,6 +1,6 @@
<nz-table #basicTable [nzData]="listOfData"> <nz-table #basicTable [nzData]="listOfData">
<thead> <thead>
<tr> <tr style="text-align: center">
<th>Nom</th> <th>Nom</th>
<th>Prénom</th> <th>Prénom</th>
<th>Email</th> <th>Email</th>
@@ -9,7 +9,7 @@
<th>Action</th> <th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody style="text-align: center">
@for (data of basicTable.data; track data) { @for (data of basicTable.data; track data) {
<tr> <tr>
<td>{{ data.name}}</td> <td>{{ data.name}}</td>
@@ -20,13 +20,13 @@
<app-modal [name]="'Afficher'"> <app-modal [name]="'Afficher'">
<nz-table #basicTable [nzData]="listOfData"> <nz-table #basicTable [nzData]="listOfData">
<thead> <thead>
<tr> <tr style="text-align: center">
<th>Livre</th> <th>Livre</th>
<th>Date d'enregistrement</th> <th>Date d'enregistrement</th>
<th>Date de retour finale</th> <th>Date de retour finale</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody style="text-align: center">
@for (loans of data.loan; track loans) { @for (loans of data.loan; track loans) {
<tr> <tr>
<td>{{ loans.book.title }}</td> <td>{{ loans.book.title }}</td>