|
@@ -0,0 +1,81 @@
|
|
|
|
+<section class="human-list">
|
|
|
|
+ <main>
|
|
|
|
+ <h1 class="gap-10" fxLayout="row" fxLayoutAlign="start center">
|
|
|
|
+ <img
|
|
|
|
+ src="../../../../assets/images/attendance-icon.svg"
|
|
|
|
+ alt=""
|
|
|
|
+ title=""
|
|
|
|
+ />
|
|
|
|
+ <span class="bold">Human Resourse</span>
|
|
|
|
+ </h1>
|
|
|
|
+ </main>
|
|
|
|
+
|
|
|
|
+ <header fxLayout="row" fxLayoutAlign="space-between center">
|
|
|
|
+ <div class="human-list__search">
|
|
|
|
+ <!-- <img
|
|
|
|
+ src="../../../../assets/images/avatar.png"
|
|
|
|
+ alt=""
|
|
|
|
+ title=""
|
|
|
|
+ /> -->
|
|
|
|
+ <input type="search" placeholder="Search..." />
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <button>+ Add new employee</button>
|
|
|
|
+ </header>
|
|
|
|
+
|
|
|
|
+ <table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
|
|
|
|
+ <!--- Note that these columns can be defined in any order.
|
|
|
|
+ The actual rendered columns are set as a property on the row definition" -->
|
|
|
|
+
|
|
|
|
+ <ng-container matColumnDef="user">
|
|
|
|
+ <th mat-header-cell *matHeaderCellDef>User</th>
|
|
|
|
+ <td mat-cell *matCellDef="let element">
|
|
|
|
+ <div fxLayout="row" fxLayoutAlign="start center" class="gap-10 ptb-10">
|
|
|
|
+ <img [src]="element.user.img" alt="" title="" />
|
|
|
|
+ <div>
|
|
|
|
+ <span class="span bold d-block">{{ element.user.name }}</span>
|
|
|
|
+ <span class="span gray d-block">{{ element.user.position }}</span>
|
|
|
|
+ <span class="span gray d-block">{{ element.user.email }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </ng-container>
|
|
|
|
+
|
|
|
|
+ <ng-container matColumnDef="contract_type">
|
|
|
|
+ <th mat-header-cell *matHeaderCellDef>Contract Type</th>
|
|
|
|
+ <td mat-cell *matCellDef="let element">{{ element.contract_type }}</td>
|
|
|
|
+ </ng-container>
|
|
|
|
+
|
|
|
|
+ <!-- Name Column -->
|
|
|
|
+ <ng-container matColumnDef="salary">
|
|
|
|
+ <th mat-header-cell *matHeaderCellDef>Salary</th>
|
|
|
|
+ <td mat-cell *matCellDef="let element">{{ element.salary }}</td>
|
|
|
|
+ </ng-container>
|
|
|
|
+
|
|
|
|
+ <!-- Weight Column -->
|
|
|
|
+ <ng-container matColumnDef="vacation_days">
|
|
|
|
+ <th mat-header-cell *matHeaderCellDef>Vacation Days</th>
|
|
|
|
+ <td mat-cell *matCellDef="let element">
|
|
|
|
+ <span class="vacation-days">{{ element.vacation_days }}</span>
|
|
|
|
+ </td>
|
|
|
|
+ </ng-container>
|
|
|
|
+
|
|
|
|
+ <!-- Symbol Column -->
|
|
|
|
+ <ng-container matColumnDef="invoice_date">
|
|
|
|
+ <th mat-header-cell *matHeaderCellDef>Invoice Date</th>
|
|
|
|
+ <td mat-cell *matCellDef="let element">{{ element.invoice_date }}</td>
|
|
|
|
+ </ng-container>
|
|
|
|
+
|
|
|
|
+ <!-- Symbol Column -->
|
|
|
|
+ <ng-container matColumnDef="teams">
|
|
|
|
+ <th mat-header-cell *matHeaderCellDef>Teams</th>
|
|
|
|
+ <td mat-cell *matCellDef="let element">
|
|
|
|
+ {{ element.teams }}
|
|
|
|
+ </td>
|
|
|
|
+ </ng-container>
|
|
|
|
+
|
|
|
|
+ <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
|
|
|
+ <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
|
|
|
|
+ </table>
|
|
|
|
+ <app-pagenation></app-pagenation>
|
|
|
|
+</section>
|