added user page and create a new modal from use with button and text

This commit is contained in:
2025-11-14 00:14:28 +01:00
parent 43a9bcf1cc
commit b5fa0d0d4b
10 changed files with 247 additions and 10 deletions

View File

@@ -0,0 +1,29 @@
<nz-table #basicTable [nzData]="listOfData" class="mr-7">
<thead>
<tr>
<th>Nom</th>
<th>Email</th>
<th>Fonction</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@for (data of basicTable.data; track data) {
<tr>
<td>{{data.name}}</td>
<td>{{data.email}}</td>
<td>{{data.fonction}}</td>
<td>
<div style="display: flex; gap: 10px;">
<app-modal-nav nameIcon="edit" name="Modification de l'utilisateur" class="cursor-pointer">
<app-profil-form></app-profil-form>
</app-modal-nav>
<div>
<nz-icon nzType="delete" nzTheme="outline" class="cursor-pointer text-red-700"/>
</div>
</div>
</td>
</tr>
}
</tbody>
</nz-table>