-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34a0a52
commit 8ca9dff
Showing
11 changed files
with
186 additions
and
162 deletions.
There are no files selected for viewing
92 changes: 50 additions & 42 deletions
92
angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,56 @@ | ||
<div class="main-content"> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card" style="height: 460px;"> | ||
<div class="card-header card-header-danger sticky-top fixed"> | ||
<h4 class="card-title">List Des Individus</h4> | ||
</div> | ||
<div class="card-body"> | ||
<div class="table-responsive" style="max-height: 350px; overflow-y: auto;"> | ||
<table class="table"> | ||
<thead class="text-primary text-center fixed"> | ||
<th>ID</th> | ||
<th>Nom</th> | ||
<th>Prenom</th> | ||
<th>E-mail</th> | ||
<th>Telephone</th> | ||
<th>Ville</th> | ||
<th>Date De Naissance</th> | ||
<th>Action</th> | ||
</thead> | ||
<tbody class="text-center"> | ||
<tr *ngFor="let individu of individus"> | ||
<td>{{ individu.id }}</td> | ||
<td>{{ individu.nom }}</td> | ||
<td>{{ individu.prenom }}</td> | ||
<td>{{ individu.email }}</td> | ||
<td>{{ individu.tele }}</td> | ||
<td>{{ individu.ville }}</td> | ||
<td>{{ individu.dateNaissance }}</td> | ||
<td class="text-center"> | ||
<a [routerLink]="['/admin/individu', individu.id, 'update']" | ||
class="btn btn-outline-success mx-1">Edit</a> | ||
<button *ngIf="permission" (click)="deleteIndividu(individu.id)" | ||
class="btn btn-outline-danger mx-1"> | ||
Delete | ||
</button> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<div class="container"> | ||
<div class="main-content"> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header card-header-danger"> | ||
<h4 class="card-title">List Des Individus</h4> | ||
</div> | ||
<div class="card-body"> | ||
<div class="table-responsive"> | ||
<table class="table"> | ||
<thead class="text-primary text-center"> | ||
<th>Id</th> | ||
<th>Nom</th> | ||
<th>Prenom</th> | ||
<th>E-mail</th> | ||
<th>Telephone</th> | ||
<th>Ville</th> | ||
<th>Date De Naissance</th> | ||
<th>Action</th> | ||
</thead> | ||
<tbody class="text-center"> | ||
<tr *ngFor="let individu of individus"> | ||
<td>{{ increment() }}</td> | ||
<td>{{ individu.nom }}</td> | ||
<td>{{ individu.prenom }}</td> | ||
<td>{{ individu.email }}</td> | ||
<td>{{ individu.tele }}</td> | ||
<td>{{ individu.ville }}</td> | ||
<td>{{ individu.dateNaissance }}</td> | ||
<td class="text-center"> | ||
<a | ||
[routerLink]="['/admin/individu', individu.id, 'update']" | ||
class="btn btn-outline-success mx-1" | ||
>Edit</a | ||
> | ||
<button | ||
*ngIf="permission" | ||
(click)="deleteIndividu(individu.id)" | ||
class="btn btn-outline-danger mx-1" | ||
> | ||
Delete | ||
</button> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.