Skip to content
Snippets Groups Projects
statistics-page.component.html 1.23 KiB
Newer Older
<div fxLayout="row" fxLayoutGap="20px" fxLayoutAlign="center">
  <mat-card>
    <mat-card-header>
      <h2>{{'statistic.learning-status' | translate}}</h2>
Lukas Mauß's avatar
Lukas Mauß committed
      <span class="fill-remaining-space"></span>
      <button mat-icon-button (click)="showHelp()"><mat-icon color="primary">help</mat-icon></button>
    </mat-card-header>
    <mat-divider></mat-divider>
    <div *ngIf="isLoading"                                                                                                                                                                                                                                                                                                                                                          fxLayout="column" fxLayoutAlign="center" fxLayoutGap="20px" fxFill>
      <div fxLayout="row" fxLayoutAlign="center">
        <mat-progress-spinner mode="indeterminate"></mat-progress-spinner>
      </div>
    </div>
      <mat-tab *ngFor="let cg of contentGroups; let i = index" label="{{cg.name}}">
        <div fxLayout="column" fxLayoutAlign="center">
        <app-list-statistic [contentGroup]="cg"></app-list-statistic>
        </div>
    </mat-tab-group>
  </mat-card>