34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<div class="select-list">
|
|
<cc-list-filter
|
|
[filterButtons]="[{label: fraction.BLUFOR, value: 'BLUFOR'},
|
|
{label: fraction.OPFOR, value: 'OPFOR'},
|
|
{label: 'Global', value: 'GLOBAL'}]"
|
|
[addButton]="{svgIcon: 'add', tooltip: 'Neue Auszeichnung hinzufügen'}"
|
|
(executeSearch)="filterDecorations($event)"
|
|
(openAddFrom)="openNewDecorationForm()">
|
|
</cc-list-filter>
|
|
|
|
<div class="input-group list-header">
|
|
<input id="search-tasks"
|
|
type="text" #query class="form-control"
|
|
(keyup.enter)="filterDecorations()"
|
|
[formControl]="searchTerm">
|
|
<span class="input-group-btn">
|
|
<button class="btn btn-default" type="button"
|
|
(click)="filterDecorations()">
|
|
Suchen
|
|
</button>
|
|
</span>
|
|
</div>
|
|
|
|
<div>
|
|
<decoration-item *ngFor="let decoration of decorations$ | async"
|
|
[decoration]="decoration"
|
|
(decorationDelete)="deleteDecoration(decoration)"
|
|
(decorationSelected)="selectDecoration($event)"
|
|
[selected]="decoration._id == selectedDecorationId">
|
|
</decoration-item>
|
|
</div>
|
|
|
|
</div>
|