parent
7cf6584250
commit
53efcb5ff4
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,61 @@ |
||||
<h2>Services Collaborateurs EPA</h2> |
||||
|
||||
<h4 class=mb-4></h4> |
||||
|
||||
<div style="display: flex;"> |
||||
|
||||
<mat-card class="home-card"> |
||||
<mat-card-title class="title-center">Périodes d'essai</mat-card-title> |
||||
<mat-card-subtitle class="title-center">(7 jours restants ou moins)</mat-card-subtitle> |
||||
<mat-card-content> |
||||
<div class="col-12" style="overflow-x:auto;"> |
||||
<table class="table"> |
||||
<thead> |
||||
<tr> |
||||
<th scope="col">Collaborateur</th> |
||||
<th scope="col">Date de fin prévue</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr *ngFor="let periodeEssai of periodeEssais"> |
||||
<td>{{getCollaborateurById(periodeEssai.collaborateurId).name}} {{getCollaborateurById(periodeEssai.collaborateurId).firstName}}</td> |
||||
<td> {{getSplitDate(periodeEssai.plannedEndingDate.toString())}}</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</mat-card-content> |
||||
<mat-card-actions> |
||||
<button>Voir les périodes d'essai</button> |
||||
</mat-card-actions> |
||||
</mat-card> |
||||
|
||||
<mat-card class="home-card"> |
||||
<mat-card-title class="title-center">Référencements</mat-card-title> |
||||
<mat-card-subtitle class="title-center">(collaborateurs sans référencements)</mat-card-subtitle> |
||||
<mat-card-content> |
||||
<div class="col-12" style="overflow-x:auto;"> |
||||
<table class="table"> |
||||
<thead> |
||||
<tr> |
||||
<th scope="col">Nom</th> |
||||
<th scope="col">Prénom</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr *ngFor="let collaborateur of collaborateursSansRef"> |
||||
<th scope="row">{{collaborateur.name}}</th> |
||||
<td> {{collaborateur.firstName}} </td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</mat-card-content> |
||||
<mat-card-actions> |
||||
<button>Voir les référencements</button> |
||||
</mat-card-actions> |
||||
</mat-card> |
||||
|
||||
|
||||
</div> |
||||
|
||||
|
@ -0,0 +1,11 @@ |
||||
.home-card { |
||||
max-width: 400px; |
||||
margin-right: 20px; |
||||
margin-left: 20px; |
||||
} |
||||
|
||||
.title-center { |
||||
display: flex; |
||||
justify-content: center; /* align horizontal */ |
||||
align-items: center; /* align vertical */ |
||||
} |
Loading…
Reference in new issue