mission-list.component.html 649 Bytes
Newer Older
Milan Mozolák's avatar
Milan Mozolák committed
1
2
3
<div *ngIf="state === requestState.ERROR">
  Error occured: {{ errorMessage }}
</div>
Juraj Fiala's avatar
Juraj Fiala committed
4
5
6
7
8
9
10
11
<div *ngIf="state === requestState.SUCCESS" class="main-container">
  <mat-action-list>
    <mat-list-item *ngFor="let mission of missions" [routerLink]="['/auth/mission/', mission.id]">
      <p matLine class="!text-xs !tracking-widest uppercase"> {{mission.country.name}} </p>
      <p matLine> {{mission.name}} </p>
      <mat-divider></mat-divider>
    </mat-list-item>
  </mat-action-list>
Milan Mozolák's avatar
Milan Mozolák committed
12

Juraj Fiala's avatar
Juraj Fiala committed
13
14
15
  <button mat-fab color="accent" class="!fixed right-8 bottom-20" aria-label="Example icon button with a delete icon">
    <mat-icon>add</mat-icon>
  </button>
Milan Mozolák's avatar
Milan Mozolák committed
16
</div>