Search pages: set dark fonts

This commit is contained in:
argirok 2022-07-21 10:46:39 +03:00
parent c1ab9f8e9d
commit d4c7b8bf51
8 changed files with 10 additions and 9 deletions

View File

@ -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>
`
})

View File

@ -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>
`
})

View File

@ -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>
`

View File

@ -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>
`
})

View File

@ -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>
`

View File

@ -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 {

View File

@ -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>
`

View File

@ -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>
`
})