Revision 56579
Added by Konstantina Galouni over 5 years ago
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/searchUtils/searchPage.component.html | ||
---|---|---|
1 |
<div class="image-front-topbar uk-section-default" uk-scrollspy="{"target":"[uk-scrollspy-class]","cls":"uk-animation-fade","delay":false}" tm-header-transparent="light">
|
|
2 |
<div [class]="usedBy == 'deposit' ? 'uk-margin-large-bottom ' : 'searchFormMinHeight uk-padding-remove-bottom' + ' uk-background-norepeat uk-background-bottom-center uk-section uk-flex uk-flex-middle uk-background-fixed '+searchFormClass">
|
|
3 |
<div [class]="'uk-container uk-position-relative uk-margin-large-top' + (usedBy == 'deposit' ? ' uk-container-large' : '')">
|
|
4 |
<div class="uk-width-1-1">
|
|
5 |
<!--link to advanced search -->
|
|
6 |
<a *ngIf = "advancedSearchLink && advancedSearchLink.length > 0" routerLinkActive="router-link-active" [class]="((disableForms)?'uk-float-right uk-disabled uk-link-muted uk-light ':'uk-float-right uk-light') +' portal-color uk-margin-small-bottom'" [routerLink]=advancedSearchLink [queryParams]=advancedSearchParameters >
|
|
7 |
<span class=" ">Advanced search</span>
|
|
8 |
</a>
|
|
9 |
<search-form [isDisabled]="disableForms" [(keyword)]="searchUtils.keyword" (keywordChange)="keywordChanged($event)" [placeholderText]="formPlaceholderText"></search-form>
|
|
1 |
<!--<div *ngIf="searchFormClass == 'communitiesSearchForm'" class="image-front-topbar uk-section-default" uk-scrollspy="{"target":"[uk-scrollspy-class]","cls":"uk-animation-fade","delay":false}" tm-header-transparent="light">-->
|
|
2 |
<!-- <div [class]="usedBy == 'deposit' ? 'uk-margin-large-bottom ' : 'searchFormMinHeight uk-padding-remove-bottom' + ' uk-background-norepeat uk-background-bottom-center uk-section uk-flex uk-flex-middle uk-background-fixed '+searchFormClass">-->
|
|
3 |
<!-- <div [class]="'uk-container uk-position-relative uk-margin-large-top' + (usedBy == 'deposit' ? ' uk-container-large' : '')">-->
|
|
4 |
<!-- <div class="uk-width-1-1">-->
|
|
5 |
<!-- <!–link to advanced search –>-->
|
|
6 |
<!-- <a *ngIf = "advancedSearchLink && advancedSearchLink.length > 0" routerLinkActive="router-link-active" [class]="((disableForms)?'uk-float-right uk-disabled uk-link-muted uk-light ':'uk-float-right uk-light') +' portal-color uk-margin-small-bottom'" [routerLink]=advancedSearchLink [queryParams]=advancedSearchParameters >-->
|
|
7 |
<!-- <span class=" ">Advanced search</span>-->
|
|
8 |
<!-- </a>-->
|
|
9 |
<!-- <search-form [isDisabled]="disableForms" [(keyword)]="searchUtils.keyword" (keywordChange)="keywordChanged($event)" [placeholderText]="formPlaceholderText"></search-form>-->
|
|
10 | 10 |
|
11 |
</div> |
|
12 |
<div *ngIf="entityType === 'community'" class="uk-position-center-right-out"> |
|
13 |
<img src="../../../../assets/banner/search.png" class="uk-align-center" width="141" height="171"> |
|
14 |
</div> |
|
15 |
</div> |
|
11 |
<!-- </div>--> |
|
12 |
<!-- <div *ngIf="entityType === 'community'" class="uk-position-center-right-out">--> |
|
13 |
<!-- <img src="../../../../assets/banner/search.png" class="uk-align-center" width="141" height="171">--> |
|
14 |
<!-- </div>--> |
|
15 |
<!-- </div>--> |
|
16 |
<!-- </div>--> |
|
17 |
<!--</div>--> |
|
18 |
|
|
19 |
|
|
20 |
<div [class]="usedBy != 'deposit' && (!customFilter || customFilter.queryFieldName != 'communityId') ? ' image-front-topbar uk-section-default ' : (' uk-section uk-padding-remove-bottom ' + (usedBy == 'deposit' ? ' uk-padding-remove-top ' : ' uk-margin-top '))" |
|
21 |
uk-scrollspy="{"target":"[uk-scrollspy-class]","cls":"uk-animation-fade","delay":false}" tm-header-transparent="light"> |
|
22 |
<div [class]="' uk-background-norepeat uk-background-bottom-center uk-section uk-flex uk-flex-middle uk-background-fixed '+searchFormClass |
|
23 |
+ (usedBy != 'deposit' && (!customFilter || customFilter.queryFieldName != 'communityId') ? ' searchFormMinHeight uk-padding-remove-bottom ' : ' uk-margin-medium-bottom uk-section-small ') |
|
24 |
+ (usedBy == 'deposit' ? ' uk-padding-remove uk-margin-large-bottom uk-margin-large-top ' : '')"> |
|
25 |
<div [class]="' uk-container uk-position-relative ' |
|
26 |
+ (usedBy != 'deposit' && (!customFilter || customFilter.queryFieldName != 'communityId') ? ' uk-margin-large-top ' : '') |
|
27 |
+ (usedBy == 'deposit' ? ' uk-container-large' : '')"> |
|
28 |
<div> |
|
29 |
<a *ngIf = "advancedSearchLink && advancedSearchLink.length > 0" routerLinkActive="router-link-active" [class]="((disableForms)?'uk-float-right uk-disabled uk-link-muted uk-light ':'uk-float-right uk-light') +' uk-margin-small-bottom'" [routerLink]=advancedSearchLink [queryParams]=advancedSearchParameters > |
|
30 |
<span class=" ">Advanced search</span> |
|
31 |
</a> |
|
32 |
<search-form [isDisabled]="disableForms" [(keyword)]="searchUtils.keyword" (keywordChange)="keywordChanged($event)" [placeholderText]="formPlaceholderText"></search-form> |
|
33 |
</div> |
|
34 |
<div *ngIf="entityType === 'community'" class="uk-position-center-right-out"> |
|
35 |
<img src="../../../../assets/banner/search.png" class="uk-align-center" width="141" height="171"> |
|
36 |
</div> |
|
37 |
</div> |
|
16 | 38 |
</div> |
17 | 39 |
</div> |
18 | 40 |
|
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/simple/searchOrps.component.ts | ||
---|---|---|
26 | 26 |
[disableForms]="disableForms" |
27 | 27 |
[loadPaging]="loadPaging" |
28 | 28 |
[oldTotalResults]="oldTotalResults" |
29 |
searchFormClass="orpsSearchForm" |
|
29 |
[searchFormClass]="customFilter && customFilter.queryFieldName == 'communityId' ? |
|
30 |
'communityPanelBackground' : 'orpsSearchForm'" |
|
30 | 31 |
[(openaireLink)]=openaireLink |
31 | 32 |
[(advancedSearchParameters)]=advancedSearchParameters |
32 | 33 |
[piwikSiteId]=piwikSiteId |
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/simple/searchDataproviders.component.ts | ||
---|---|---|
25 | 25 |
[loadPaging]="loadPaging" |
26 | 26 |
[oldTotalResults]="oldTotalResults" |
27 | 27 |
[piwikSiteId]=piwikSiteId |
28 |
searchFormClass="datasourcesSearchForm" |
|
28 |
[searchFormClass]="customFilter && customFilter.queryFieldName == 'communityId' ? |
|
29 |
'communityPanelBackground' : 'datasourcesSearchForm'" |
|
29 | 30 |
[mapUrl]="mapUrl"> |
30 | 31 |
</search-page> |
31 | 32 |
|
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/simple/searchOrganizations.component.ts | ||
---|---|---|
25 | 25 |
[loadPaging]="loadPaging" |
26 | 26 |
[oldTotalResults]="oldTotalResults" |
27 | 27 |
[piwikSiteId]=piwikSiteId |
28 |
searchFormClass="organizationsSearchForm"> |
|
28 |
[searchFormClass]="customFilter && customFilter.queryFieldName == 'communityId' ? |
|
29 |
'communityPanelBackground' : 'organizationsSearchForm'"> |
|
29 | 30 |
</search-page> |
30 | 31 |
|
31 | 32 |
` |
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/simple/searchDatasets.component.ts | ||
---|---|---|
26 | 26 |
[disableForms]="disableForms" |
27 | 27 |
[loadPaging]="loadPaging" |
28 | 28 |
[oldTotalResults]="oldTotalResults" |
29 |
searchFormClass="datasetsSearchForm" |
|
29 |
[searchFormClass]="customFilter && customFilter.queryFieldName == 'communityId' ? |
|
30 |
'communityPanelBackground' : 'datasetsSearchForm'" |
|
30 | 31 |
[(openaireLink)]=openaireLink |
31 | 32 |
[(advancedSearchParameters)]=advancedSearchParameters |
32 | 33 |
[piwikSiteId]=piwikSiteId |
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/simple/searchProjects.component.ts | ||
---|---|---|
25 | 25 |
[loadPaging]="loadPaging" |
26 | 26 |
[oldTotalResults]="oldTotalResults" |
27 | 27 |
[piwikSiteId]=piwikSiteId |
28 |
searchFormClass="projectsSearchForm"> |
|
28 |
[searchFormClass]="customFilter && customFilter.queryFieldName == 'communityId' ? |
|
29 |
'communityPanelBackground' : 'projectsSearchForm'"> |
|
29 | 30 |
</search-page> |
30 | 31 |
` |
31 | 32 |
|
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/simple/searchSoftware.component.ts | ||
---|---|---|
26 | 26 |
[disableForms]="disableForms" |
27 | 27 |
[loadPaging]="loadPaging" |
28 | 28 |
[oldTotalResults]="oldTotalResults" |
29 |
searchFormClass="softwareSearchForm" |
|
29 |
[searchFormClass]="customFilter && customFilter.queryFieldName == 'communityId' ? |
|
30 |
'communityPanelBackground' : 'softwareSearchForm'" |
|
30 | 31 |
[(openaireLink)]=openaireLink |
31 | 32 |
[(advancedSearchParameters)]=advancedSearchParameters |
32 | 33 |
[piwikSiteId]=piwikSiteId |
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/simple/searchPublications.component.ts | ||
---|---|---|
14 | 14 |
@Component({ |
15 | 15 |
selector: 'search-publications', |
16 | 16 |
template: ` |
17 |
<!-- [searchFormClass]="customFilter.queryFieldName == 'communityId' ? 'communityPanelBackground' : 'publicationsSearchForm'"--> |
|
17 | 18 |
|
18 | 19 |
<search-page pageTitle="Search Publications" |
19 | 20 |
formPlaceholderText = "Search for Publications" |
... | ... | |
25 | 26 |
advancedSearchLink="/search/advanced/publications" |
26 | 27 |
[disableForms]="disableForms" |
27 | 28 |
[loadPaging]="loadPaging" |
28 |
[oldTotalResults]="oldTotalResults" |
|
29 |
searchFormClass="publicationsSearchForm" |
|
29 |
[oldTotalResults]="oldTotalResults" |
|
30 |
[searchFormClass]="customFilter && customFilter.queryFieldName == 'communityId' ? |
|
31 |
'communityPanelBackground' : 'publicationsSearchForm'" |
|
30 | 32 |
[(openaireLink)]=openaireLink |
31 | 33 |
[(advancedSearchParameters)]=advancedSearchParameters |
32 | 34 |
[piwikSiteId]=piwikSiteId |
modules/uoa-services-library/trunk/ng-openaire-library/src/app/deposit/searchDataprovidersToDeposit.component.ts | ||
---|---|---|
15 | 15 |
selector: 'search-dataproviders', |
16 | 16 |
template: ` |
17 | 17 |
|
18 |
<div class="uk-section uk-margin-top"> |
|
18 |
<div class="uk-section uk-margin-top uk-padding-remove-bottom">
|
|
19 | 19 |
<div class="communityPanelBackground uk-margin-top uk-padding-small"> |
20 | 20 |
<div class="uk-container uk-container-large uk-margin-small-top uk-margin-small-bottom"> |
21 | 21 |
<ul class="uk-breadcrumb"> |
... | ... | |
35 | 35 |
[loadPaging]="loadPaging" |
36 | 36 |
[oldTotalResults]="oldTotalResults" |
37 | 37 |
[piwikSiteId]=piwikSiteId |
38 |
[searchFormClass]="''" |
|
38 | 39 |
[usedBy]="'deposit'" |
39 | 40 |
[showMoreFilterValuesInline]=true |
40 | 41 |
[filterValuesNum]=4 |
Also available in: Unified diff
[Trunk | Library]: add background 'communityPanelBackground' in search Form in simple search pages.