added user page and create a new modal from use with button and text
This commit is contained in:
29
src/app/components/user-table/user-table.html
Normal file
29
src/app/components/user-table/user-table.html
Normal 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>
|
||||
Reference in New Issue
Block a user