2018-07-20 22:18:50 +02:00
|
|
|
<div class="decoration-overview-container">
|
2018-10-02 12:28:14 +02:00
|
|
|
<h1>{{'public.decorations.headline' | translate}}</h1>
|
2018-06-24 18:17:52 +02:00
|
|
|
|
2018-08-09 22:07:47 +02:00
|
|
|
<div class="fraction-side-bar">
|
2019-10-01 13:51:03 +02:00
|
|
|
<div [ngClass]="{active: active === 'ARF'}" (click)="switchFraction('ARF')">{{fraction.ARF}}</div>
|
|
|
|
<div [ngClass]="{active: active === 'SWORD'}" (click)="switchFraction('SWORD')">{{fraction.SWORD}}</div>
|
2018-08-09 22:07:47 +02:00
|
|
|
<div [ngClass]="{active: active === 'BLUFOR'}" (click)="switchFraction('BLUFOR')">{{fraction.BLUFOR}}</div>
|
|
|
|
<div [ngClass]="{active: active === 'OPFOR'}" (click)="switchFraction('OPFOR')">{{fraction.OPFOR}}</div>
|
|
|
|
<div [ngClass]="{active: active === 'GLOBAL'}" (click)="switchFraction('GLOBAL')">GLOBAL</div>
|
2018-07-19 22:10:32 +02:00
|
|
|
</div>
|
2018-06-24 18:17:52 +02:00
|
|
|
|
2018-08-11 18:43:41 +02:00
|
|
|
<mat-tab-group [selectedIndex]="selectedType" (selectedIndexChange)="switchTab($event)">
|
2018-10-02 12:28:14 +02:00
|
|
|
<mat-tab label="{{'public.decorations.medal' | translate}}">
|
2018-08-09 22:07:47 +02:00
|
|
|
<ng-template matTabContent>
|
|
|
|
<cc-decoration-panel *ngFor="let decoration of medals"
|
|
|
|
[decoration]="decoration"
|
|
|
|
(select)="select($event)">
|
|
|
|
</cc-decoration-panel>
|
|
|
|
</ng-template>
|
|
|
|
</mat-tab>
|
2018-10-02 12:28:14 +02:00
|
|
|
<mat-tab label="{{'public.decorations.ribbons' | translate}}">
|
2018-08-09 22:07:47 +02:00
|
|
|
<ng-template matTabContent>
|
|
|
|
<cc-decoration-panel *ngFor="let decoration of ribbons"
|
|
|
|
[decoration]="decoration"
|
|
|
|
(select)="select($event)">
|
|
|
|
</cc-decoration-panel>
|
|
|
|
</ng-template>
|
|
|
|
</mat-tab>
|
|
|
|
</mat-tab-group>
|
2018-06-24 18:17:52 +02:00
|
|
|
</div>
|