<section class="attendance-list">
  <main>
    <h1 class="bold" fxLayout="row wrap" fxLayoutAlign="start center">
      <img src="assets/images/attendance-icon.svg" alt="" title="" />
      <span>Attendance</span>
    </h1>
    <div
      class="attendance-list__user"
      fxLayout="row"
      fxLayoutAlign="start center"
    >
      <img src="assets/images/attendance-avatar.png" alt="" title="" />
      <div>
        <p>Mai Ghoneim</p>
        <span>Senior UI/UX Designer</span>
        <span>User@gmail.com</span>
      </div>
    </div>
  </main>
  <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" -->

    <!-- Position Column -->
    <ng-container matColumnDef="day">
      <th mat-header-cell *matHeaderCellDef>Day</th>
      <td mat-cell *matCellDef="let element">{{ element.day }}</td>
    </ng-container>

    <!-- Name Column -->
    <ng-container matColumnDef="date">
      <th mat-header-cell *matHeaderCellDef>Date</th>
      <td mat-cell *matCellDef="let element">{{ element.date }}</td>
    </ng-container>

    <!-- Weight Column -->
    <ng-container matColumnDef="checkin">
      <th mat-header-cell *matHeaderCellDef>Check In</th>
      <td mat-cell *matCellDef="let element">{{ element.checkin }}</td>
    </ng-container>

    <!-- Symbol Column -->
    <ng-container matColumnDef="checkout">
      <th mat-header-cell *matHeaderCellDef>Check Out</th>
      <td mat-cell *matCellDef="let element">{{ element.checkout }}</td>
    </ng-container>

    <!-- Symbol Column -->
    <ng-container matColumnDef="login_time">
      <th mat-header-cell *matHeaderCellDef>Login Time</th>
      <td mat-cell *matCellDef="let element">{{ element.login_time }}</td>
    </ng-container>

    <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
    <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
  </table>
</section>
