43 lines
2.0 KiB
HTML
43 lines
2.0 KiB
HTML
|
<div *ngIf="enableSearchbar" class="">
|
||
|
<!-- <form class="uk-search uk-search-default uk-width-1-1">
|
||
|
<a routerLinkActive="uk-link"
|
||
|
routerLink="{{searchRoute}}" [queryParams]="{keyword: keyword}" class="uk-search-icon-flip" uk-search-icon></a>
|
||
|
<input class="uk-search-input" type="search" [placeholder]="searchPlaceHolder"
|
||
|
aria-describedby="sizing-addon2" [(ngModel)]="keyword" name="keyword" >
|
||
|
</form>-->
|
||
|
<!-- <advanced-search-form [showAdvancedSearchLink]="false" [simpleView]="true" ></advanced-search-form>-->
|
||
|
<form class=" uk-margin-medium-bottom uk-margin-top searchBar ">
|
||
|
<div class="uk-grid uk-margin-small-left">
|
||
|
<div
|
||
|
[class]="((entitiesSelection)?'':'uk-width-small@s')+' uk-margin-small-top uk-padding-remove-left'">
|
||
|
<entities-selection *ngIf="entitiesSelection" [simpleView]="true" [currentEntity]="entityType"
|
||
|
[selectedEntity]="entityType"
|
||
|
[properties]="properties"
|
||
|
(selectionChange)=" entityChanged($event)"
|
||
|
[customFilter]="customFilter"
|
||
|
[onlyresults]="true" matPanelClass="navbarMatSelectPanelClass"
|
||
|
[onChangeNavigate]="false" ></entities-selection>
|
||
|
|
||
|
</div>
|
||
|
<div class=" uk-padding-remove-left uk-margin-small-top">
|
||
|
<div class="uk-inline">
|
||
|
<a *ngIf="keyword.length > 0" class="uk-form-icon uk-form-icon-flip"
|
||
|
(click)="keyword = ''"
|
||
|
uk-icon="icon: close"></a>
|
||
|
<input type="text" class="uk-input text-input-box"
|
||
|
[placeholder]="searchPlaceHolder" aria-describedby="sizing-addon2"
|
||
|
[(ngModel)]="keyword" name="keyword">
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div class="uk-padding-remove-left uk-margin-small-top">
|
||
|
<button (click)="keywordChanged()" type="submit"
|
||
|
class=" uk-button portal-button uk-text-bold ">
|
||
|
Search
|
||
|
</button>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|