|
|
|
@@ -9,18 +9,6 @@ |
|
|
|
</h5> |
|
|
|
</header> |
|
|
|
|
|
|
|
<section class="statistics-upfold"> |
|
|
|
<div class="stat safe"> |
|
|
|
<p> 2019-2020 </p> |
|
|
|
<h4> 50% </h4> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="stat danger"> |
|
|
|
<p> June 2020 </p> |
|
|
|
<h4> 80% </h4> |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
|
|
|
|
<ul class="segment-list"> |
|
|
|
<li [ngClass]="{'active' : selectedSegment === 'ALL'}" |
|
|
|
(click)="selectedSegment = 'ALL'"> |
|
|
|
@@ -72,7 +60,86 @@ |
|
|
|
</ul> |
|
|
|
|
|
|
|
|
|
|
|
<ul class="month-list"> |
|
|
|
<section class="segment-tabs"> |
|
|
|
<button (click)="selectedSegmentTab = 'report'" |
|
|
|
[ngClass]="{'active': selectedSegmentTab === 'report' }"> Report </button> |
|
|
|
<button (click)="selectedSegmentTab = 'details'" |
|
|
|
[ngClass]="{'active': selectedSegmentTab === 'details' }"> Details </button> |
|
|
|
</section> |
|
|
|
|
|
|
|
<ul class="attendance-report" *ngIf="selectedSegmentTab === 'report'"> |
|
|
|
<li class="year" [ngClass]="{'active' : selectedReportYear === 2020 }"> |
|
|
|
<header (click)="selectedReportYear === 2020 ? selectedReportYear = 0 : selectedReportYear = 2020"> |
|
|
|
<label> Year of 2020 - 2021 </label> |
|
|
|
<svg-icon [applyClass]="true" class="icon arrow" src="assets/custom-icons/down-arrow.svg"></svg-icon> |
|
|
|
</header> |
|
|
|
|
|
|
|
<table> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th> Month </th> |
|
|
|
<th> Present </th> |
|
|
|
<th> Absent </th> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td> June 2020 </td> |
|
|
|
<td> 20 </td> |
|
|
|
<td> 2 </td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td> July 2020 </td> |
|
|
|
<td> 18 </td> |
|
|
|
<td> 4 </td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td> August 2020 </td> |
|
|
|
<td> 20 </td> |
|
|
|
<td> 6 </td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</li> |
|
|
|
|
|
|
|
<li class="year" [ngClass]="{'active' : selectedReportYear === 2019 }"> |
|
|
|
<header (click)="selectedReportYear === 2019 ? selectedReportYear = 0 : selectedReportYear = 2019"> |
|
|
|
<label> Year of 2019 - 2020 </label> |
|
|
|
<svg-icon [applyClass]="true" class="icon arrow" src="assets/custom-icons/down-arrow.svg"></svg-icon> |
|
|
|
</header> |
|
|
|
|
|
|
|
<table> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th> Month </th> |
|
|
|
<th> Present </th> |
|
|
|
<th> Absent </th> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td> June 2020 </td> |
|
|
|
<td> 20 </td> |
|
|
|
<td> 2 </td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td> July 2020 </td> |
|
|
|
<td> 18 </td> |
|
|
|
<td> 4 </td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td> August 2020 </td> |
|
|
|
<td> 20 </td> |
|
|
|
<td> 6 </td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
|
|
|
|
<ul class="month-list" *ngIf="selectedSegmentTab === 'details'"> |
|
|
|
<li class="month" [ngClass]="{'active' : selectedList === 1}" |
|
|
|
(click)="selectedList === 1 ? selectedList = 0 : selectedList = 1"> |
|
|
|
<div class="list-header"> |
|
|
|
|