Search pages: set dark fonts
This commit is contained in:
parent
c1ab9f8e9d
commit
d4c7b8bf51
|
@ -8,7 +8,7 @@ import {properties} from "../../../environments/environment";
|
|||
selector: 'openaire-advanced-search-dataprovider',
|
||||
template: `
|
||||
<search-dataproviders [simpleView]="false" [customFilter]=customFilter [piwikSiteId]="piwikSiteId"
|
||||
[hasPrefix]="false" [showBreadcrumb]="true" [showSwitchSearchLink]="false">
|
||||
[hasPrefix]="false" [showBreadcrumb]="true" [showSwitchSearchLink]="false" [searchForm]="{dark: false, class: 'search-form'}">
|
||||
</search-dataproviders>
|
||||
`
|
||||
})
|
||||
|
|
|
@ -10,7 +10,7 @@ import {properties} from "../../../environments/environment";
|
|||
@Component({
|
||||
selector: 'openaire-advanced-search-organizations',
|
||||
template: `
|
||||
<search-organizations [simpleView]="false" [customFilter]=customFilter [piwikSiteId]="piwikSiteId" [hasPrefix]="false" [showBreadcrumb]="true" [showSwitchSearchLink]="false">
|
||||
<search-organizations [simpleView]="false" [customFilter]=customFilter [piwikSiteId]="piwikSiteId" [hasPrefix]="false" [showBreadcrumb]="true" [showSwitchSearchLink]="false" [searchForm]="{dark: false, class: 'search-form'}">
|
||||
</search-organizations>
|
||||
`
|
||||
})
|
||||
|
|
|
@ -8,7 +8,7 @@ import {properties} from "../../../environments/environment";
|
|||
selector: 'openaire-advanced-search-projects',
|
||||
template: `
|
||||
<search-projects [simpleView]="false" [customFilter]=customFilter [piwikSiteId]="piwikSiteId" [hasPrefix]="false"
|
||||
[showBreadcrumb]="true" [showSwitchSearchLink]="false">
|
||||
[showBreadcrumb]="true" [showSwitchSearchLink]="false" [searchForm]="{dark: false, class: 'search-form'}">
|
||||
</search-projects>
|
||||
|
||||
`
|
||||
|
|
|
@ -14,6 +14,7 @@ import {CommunityService} from "../../openaireLibrary/connect/community/communit
|
|||
<search-research-results resultType="result" [simpleView]="false" [customFilter]=customFilter
|
||||
[piwikSiteId]="piwikSiteId" [hasPrefix]="false" [showBreadcrumb]="true"
|
||||
[openaireLink]="'https://' + (properties.environment == 'production'?'':'beta.') + 'explore.openaire.eu/search/advanced/research-outcomes'"
|
||||
[searchForm]="{dark: false, class: 'search-form'}"
|
||||
></search-research-results>
|
||||
`
|
||||
})
|
||||
|
|
|
@ -41,8 +41,8 @@ import {SearchResult} from "../../openaireLibrary/utils/entities/searchResult";
|
|||
[filters]="filters"
|
||||
[simpleView]="true" formPlaceholderText="Search by name..."
|
||||
[showResultCount]="false" [showIndexInfo]="false" [showDownload]="false"
|
||||
[sort]="false" [showBreadcrumb]="true">
|
||||
[customFilter]=customFilter
|
||||
[sort]="false" [showBreadcrumb]="true"
|
||||
[customFilter]=customFilter [searchForm]="{dark: false, class: 'search-form'}">
|
||||
</new-search-page>
|
||||
|
||||
`
|
||||
|
|
|
@ -7,7 +7,7 @@ import {properties} from "../../../environments/environment";
|
|||
@Component({
|
||||
selector: 'openaire-search-organizations',
|
||||
template: `
|
||||
<search-organizations></search-organizations>
|
||||
<search-organizations [searchForm]="{dark: false, class: 'search-form'}"></search-organizations>
|
||||
`
|
||||
})
|
||||
export class OpenaireSearchOrganizationsComponent implements OnInit {
|
||||
|
|
|
@ -40,8 +40,8 @@ import {SearchResult} from "../../openaireLibrary/utils/entities/searchResult";
|
|||
[filters]="filters"
|
||||
[simpleView]="true" formPlaceholderText="Search by name..."
|
||||
[showResultCount]="false" [showIndexInfo]="false" [showDownload]="false"
|
||||
[sort]="false" [showBreadcrumb]="true">
|
||||
[customFilter]=customFilter
|
||||
[sort]="false" [showBreadcrumb]="true"
|
||||
[customFilter]=customFilter [searchForm]="{dark: false, class: 'search-form'}">
|
||||
</new-search-page>
|
||||
`
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import {CommunityService} from "../../openaireLibrary/connect/community/communit
|
|||
template: `
|
||||
<search-research-results resultType="result" [openaireLink]="'https://' + (properties.environment == 'production'?'':'beta.') + 'explore.openaire.eu/search/find/research-outcomes'"
|
||||
[customFilter]=customFilter [piwikSiteId]="piwikSiteId" [hasPrefix]="false"
|
||||
[includeOnlyResultsAndFilter]="false" [showBreadcrumb]="true" [showSwitchSearchLink]="true"></search-research-results>
|
||||
[includeOnlyResultsAndFilter]="false" [showBreadcrumb]="true" [showSwitchSearchLink]="true" [searchForm]="{dark: false, class: 'search-form'}"></search-research-results>
|
||||
`
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue