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', selector: 'openaire-advanced-search-dataprovider',
template: ` template: `
<search-dataproviders [simpleView]="false" [customFilter]=customFilter [piwikSiteId]="piwikSiteId" <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> </search-dataproviders>
` `
}) })

View File

@ -10,7 +10,7 @@ import {properties} from "../../../environments/environment";
@Component({ @Component({
selector: 'openaire-advanced-search-organizations', selector: 'openaire-advanced-search-organizations',
template: ` 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> </search-organizations>
` `
}) })

View File

@ -8,7 +8,7 @@ import {properties} from "../../../environments/environment";
selector: 'openaire-advanced-search-projects', selector: 'openaire-advanced-search-projects',
template: ` template: `
<search-projects [simpleView]="false" [customFilter]=customFilter [piwikSiteId]="piwikSiteId" [hasPrefix]="false" <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> </search-projects>
` `

View File

@ -14,6 +14,7 @@ import {CommunityService} from "../../openaireLibrary/connect/community/communit
<search-research-results resultType="result" [simpleView]="false" [customFilter]=customFilter <search-research-results resultType="result" [simpleView]="false" [customFilter]=customFilter
[piwikSiteId]="piwikSiteId" [hasPrefix]="false" [showBreadcrumb]="true" [piwikSiteId]="piwikSiteId" [hasPrefix]="false" [showBreadcrumb]="true"
[openaireLink]="'https://' + (properties.environment == 'production'?'':'beta.') + 'explore.openaire.eu/search/advanced/research-outcomes'" [openaireLink]="'https://' + (properties.environment == 'production'?'':'beta.') + 'explore.openaire.eu/search/advanced/research-outcomes'"
[searchForm]="{dark: false, class: 'search-form'}"
></search-research-results> ></search-research-results>
` `
}) })

View File

@ -41,8 +41,8 @@ import {SearchResult} from "../../openaireLibrary/utils/entities/searchResult";
[filters]="filters" [filters]="filters"
[simpleView]="true" formPlaceholderText="Search by name..." [simpleView]="true" formPlaceholderText="Search by name..."
[showResultCount]="false" [showIndexInfo]="false" [showDownload]="false" [showResultCount]="false" [showIndexInfo]="false" [showDownload]="false"
[sort]="false" [showBreadcrumb]="true"> [sort]="false" [showBreadcrumb]="true"
[customFilter]=customFilter [customFilter]=customFilter [searchForm]="{dark: false, class: 'search-form'}">
</new-search-page> </new-search-page>
` `

View File

@ -7,7 +7,7 @@ import {properties} from "../../../environments/environment";
@Component({ @Component({
selector: 'openaire-search-organizations', selector: 'openaire-search-organizations',
template: ` template: `
<search-organizations></search-organizations> <search-organizations [searchForm]="{dark: false, class: 'search-form'}"></search-organizations>
` `
}) })
export class OpenaireSearchOrganizationsComponent implements OnInit { export class OpenaireSearchOrganizationsComponent implements OnInit {

View File

@ -40,8 +40,8 @@ import {SearchResult} from "../../openaireLibrary/utils/entities/searchResult";
[filters]="filters" [filters]="filters"
[simpleView]="true" formPlaceholderText="Search by name..." [simpleView]="true" formPlaceholderText="Search by name..."
[showResultCount]="false" [showIndexInfo]="false" [showDownload]="false" [showResultCount]="false" [showIndexInfo]="false" [showDownload]="false"
[sort]="false" [showBreadcrumb]="true"> [sort]="false" [showBreadcrumb]="true"
[customFilter]=customFilter [customFilter]=customFilter [searchForm]="{dark: false, class: 'search-form'}">
</new-search-page> </new-search-page>
` `

View File

@ -14,7 +14,7 @@ import {CommunityService} from "../../openaireLibrary/connect/community/communit
template: ` template: `
<search-research-results resultType="result" [openaireLink]="'https://' + (properties.environment == 'production'?'':'beta.') + 'explore.openaire.eu/search/find/research-outcomes'" <search-research-results resultType="result" [openaireLink]="'https://' + (properties.environment == 'production'?'':'beta.') + 'explore.openaire.eu/search/find/research-outcomes'"
[customFilter]=customFilter [piwikSiteId]="piwikSiteId" [hasPrefix]="false" [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>
` `
}) })