35 lines
2.1 KiB
HTML
35 lines
2.1 KiB
HTML
|
|
<form *ngIf="enableSearchbar"
|
|
class=" uk-margin-medium-bottom uk-margin-top searchBar uk-form-width-1-1 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]="false" matPanelClass="navbarMatSelectPanelClass"
|
|
[onChangeNavigate]="false" ></entities-selection>
|
|
|
|
</div>
|
|
<div class=" uk-padding-remove-left uk-margin-small-top uk-inline uk-width-expand">
|
|
<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 uk-width-expand"
|
|
[placeholder]="searchPlaceHolder" aria-describedby="sizing-addon2"
|
|
[(ngModel)]="keyword" name="keyword">
|
|
</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>-->
|
|
<button (click)="keywordChanged()" type="submit"
|
|
class="uk-icon-button uk-icon portal-button uk-padding-remove-left uk-margin-small-left uk-margin-small-top"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="search"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"></path></svg>
|
|
</button>
|
|
<a *ngIf="advancedSearchLink" class="portal-link uk-margin-top uk-padding-remove-left uk-margin-small-left"
|
|
routerLinkActive="router-link-active" [routerLink]="advancedSearchLink" [queryParams]="parameters"> Advanced search</a>
|
|
</form>
|