opt-cc/static/src/app/common/user-interface/list-filter/list-filter.component.html

16 lines
728 B
HTML
Raw Normal View History

<div class="input-group list-header pull-left">
<mat-button-toggle-group #group="matButtonToggleGroup">
<mat-button-toggle *ngFor="let button of filterButtons" value="{{button.value}}" (change)="execute(group)">
2018-10-04 10:33:15 +02:00
<span *ngIf="button.label !== fraction.BLUFOR && button.label !== fraction.OPFOR">{{button.label | translate}}</span>
<span *ngIf="button.label === fraction.BLUFOR || button.label === fraction.OPFOR">{{button.label}}</span>
</mat-button-toggle>
</mat-button-toggle-group>
2018-07-09 20:07:10 +02:00
<button mat-icon-button
class="add-btn"
2018-10-03 15:22:14 +02:00
matTooltip="{{addButton.tooltip | translate}}"
2018-07-09 20:07:10 +02:00
(click)="add()">
<mat-icon svgIcon="{{addButton.svgIcon}}">
2018-07-09 19:54:57 +02:00
</mat-icon>
</button>
</div>