search add a div to include image in the search bar - if needed
This commit is contained in:
parent
0d66dab63e
commit
24848d2bee
|
@ -1,12 +1,11 @@
|
||||||
<div uk-height-viewport="offset-top: true;offset-bottom: 60" style="box-sizing: border-box; "
|
<div uk-height-viewport="offset-top: true;offset-bottom: 60" style="box-sizing: border-box; "
|
||||||
class="image-front-topbar uk-background-norepeat uk-background-cover uk-background-bottom-center uk-section uk-padding-remove-bottom uk-flex uk-flex-middle uk-background-fixed generalSearchForm">
|
class="image-front-topbar uk-background-norepeat uk-background-cover uk-background-bottom-center uk-section uk-padding-remove-bottom uk-flex uk-flex-middle uk-background-fixed generalSearchForm">
|
||||||
<div class="uk-container">
|
<div class="uk-width-1-1">
|
||||||
<div class="uk-position-relative">
|
<div class="uk-position-relative uk-flex uk-flex-center">
|
||||||
|
|
||||||
|
|
||||||
<div class="uk-container">
|
<div id="searchForm" class=" uk-container uk-grid uk-flex uk-flex-center uk-flex-middle">
|
||||||
<div class="uk-width-1-1">
|
<div id="searchImage"></div>
|
||||||
|
|
||||||
<advanced-search-form
|
<advanced-search-form
|
||||||
entityType="all"
|
entityType="all"
|
||||||
|
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -150,7 +150,7 @@
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<div *ngIf="!includeOnlyResultsAndFilter" [class]="usedBy != 'deposit' && usedBy != 'orcid' && (!customFilter || customFilter.queryFieldName != 'communityId') ?
|
<div *ngIf="!includeOnlyResultsAndFilter" [class]="usedBy != 'deposit' && usedBy != 'orcid' && (!customFilter || customFilter.queryFieldName != 'communityId') ?
|
||||||
(stickyForm?'':' uk-position-relative ') :
|
(stickyForm?'':' ') :
|
||||||
(+ (stickyForm?'':' uk-section') +' uk-padding-remove-bottom uk-padding-remove-top ' +
|
(+ (stickyForm?'':' uk-section') +' uk-padding-remove-bottom uk-padding-remove-top ' +
|
||||||
((usedBy == 'deposit' || usedBy == 'orcid') ? ' uk-padding-remove-top ' : ' '))"
|
((usedBy == 'deposit' || usedBy == 'orcid') ? ' uk-padding-remove-top ' : ' '))"
|
||||||
[attr.uk-sticky]="(stickyForm?'{animation:false;offset:100;top:90;cls-active:uk-active uk-sticky-below;cls-inactive:uk-sticky '+
|
[attr.uk-sticky]="(stickyForm?'{animation:false;offset:100;top:90;cls-active:uk-active uk-sticky-below;cls-inactive:uk-sticky '+
|
||||||
|
@ -165,11 +165,13 @@
|
||||||
<breadcrumbs *ngIf="showBreadcrumb && entityType!='community'"
|
<breadcrumbs *ngIf="showBreadcrumb && entityType!='community'"
|
||||||
addClass=" uk-margin-large-left uk-margin-remove-bottom uk-margin-small-top"
|
addClass=" uk-margin-large-left uk-margin-remove-bottom uk-margin-small-top"
|
||||||
[breadcrumbs]="breadcrumbs"></breadcrumbs>
|
[breadcrumbs]="breadcrumbs"></breadcrumbs>
|
||||||
<div class="uk-position-relative">
|
<div class="uk-position-relative ">
|
||||||
<div [class]="'uk-container '+(customFilter && customFilter.queryFieldName ==
|
<div [class]="'uk-grid uk-container uk-flex uk-flex-center uk-flex-middle uk-margin-auto '+(customFilter &&
|
||||||
|
customFilter.queryFieldName ==
|
||||||
'communityId'?' uk-margin-large-bottom ':'uk-margin-top')+
|
'communityId'?' uk-margin-large-bottom ':'uk-margin-top')+
|
||||||
(entityType === 'community' ||entityType === 'stakeholder'?' uk-position-relative':'')" id="searchForm">
|
(entityType === 'community' ||entityType === 'stakeholder'?' uk-position-relative':'')" id="searchForm">
|
||||||
<advanced-search-form
|
<div id="searchImage"></div>
|
||||||
|
<advanced-search-form [class.uk-width-expand]="!simpleView"
|
||||||
[entityType]="entityType"
|
[entityType]="entityType"
|
||||||
[fieldIds]="fieldIds"
|
[fieldIds]="fieldIds"
|
||||||
[fieldIdsMap]="fieldIdsMap"
|
[fieldIdsMap]="fieldIdsMap"
|
||||||
|
|
Loading…
Reference in New Issue