fix columns
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user