98 lines
5.4 KiB
HTML
98 lines
5.4 KiB
HTML
<div class="uk-background-norepeat uk-background-bottom-center uk-padding-remove-bottom
|
|
uk-flex uk-flex-middle uk-background-fixed uk-section uk-section-small" [ngClass]="searchForm.class">
|
|
<div class="uk-width-1-1">
|
|
<div *ngIf="breadcrumbs.length > 0" class="uk-container uk-container-large" [class.uk-light]="searchForm.dark">
|
|
<div class="uk-padding-small uk-padding-remove-bottom">
|
|
<breadcrumbs [breadcrumbs]="breadcrumbs"></breadcrumbs>
|
|
</div>
|
|
</div>
|
|
<div class="uk-position-relative">
|
|
<div class="uk-container uk-container-large uk-section uk-section-small uk-margin-bottom" id="searchForm">
|
|
<div class="uk-grid uk-flex uk-flex-middle uk-flex-center" uk-grid>
|
|
<div id="searchImage"></div>
|
|
<advanced-search-form
|
|
entityType="all"
|
|
(queryChange)="keywordChanged($event)"
|
|
[isDisabled]="disableForms"
|
|
[simpleView]="true" [formPlaceholderText]="formPlaceholderText"
|
|
[selectedFields]="selectedFields" [showSwitchSearchLink]="true" [dark]="searchForm.dark"
|
|
[fieldIdsMap]="fieldIdsMap" [fieldIds]="fieldIds" [entitiesSelection]="true" [customFilter]="customFilter"
|
|
>
|
|
</advanced-search-form>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<schema2jsonld *ngIf="name && logoURL" [URL]="properties.domain+ properties.baseLink +'/search/find'"
|
|
[logoURL]="properties.domain + properties.baseLink+logoURL" type="search" [name]=name
|
|
description="Search for {{openaireEntities.RESULTS}} ({{openaireEntities.PUBLICATIONS}}, {{openaireEntities.DATASETS}}, {{openaireEntities.SOFTWARE}}, {{openaireEntities.OTHER}}), {{openaireEntities.PROJECTS}}, {{openaireEntities.ORGANIZATIONS}}, {{openaireEntities.DATASOURCES}} in the OpenAIRE Research Graph. "></schema2jsonld>
|
|
<div class="uk-container-large uk-container uk-margin-large-top uk-flex uk-flex-center">
|
|
<ul class="uk-tab" uk-tab="animation: uk-animation-fade">
|
|
<li *ngIf="showPublications || showDatasets || showOrps || showSoftware" (click)="entityChanged('result')"
|
|
[class]="activeEntity == 'result'?'uk-active':''">
|
|
<a class="uk-text-uppercase">
|
|
{{resultsName}}
|
|
<span *ngIf=" fetchPublications.searchUtils.totalResults!=null">
|
|
({{fetchPublications.searchUtils.totalResults | number}})</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="showProjects" (click)="entityChanged('projects')" [class]="activeEntity == 'projects'?'uk-active':''">
|
|
<a class="uk-text-uppercase">
|
|
{{projectName}}
|
|
<span *ngIf="fetchProjects.searchUtils.totalResults!=null">
|
|
({{fetchProjects.searchUtils.totalResults | number}})</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="showDataProviders" (click)="entityChanged('datasources')"
|
|
[class]="activeEntity == 'datasources'?'uk-active':''">
|
|
<a class="uk-text-uppercase">
|
|
{{dataSourcesName}}
|
|
<span *ngIf="fetchDataproviders.searchUtils.totalResults!=null">
|
|
({{fetchDataproviders.searchUtils.totalResults | number}})</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="showServices" (click)="entityChanged('services')"
|
|
[class]="activeEntity == 'services'?'uk-active':''">
|
|
<a class="uk-text-uppercase">
|
|
{{servicesName}}
|
|
<span *ngIf="fetchServices.searchUtils.totalResults!=null">
|
|
({{fetchServices.searchUtils.totalResults | number}})</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="showOrganizations" (click)="entityChanged('organizations')"
|
|
[class]="activeEntity == 'organizations'?'uk-active':''">
|
|
<a class="uk-text-uppercase">
|
|
{{organizationsName}}
|
|
<span *ngIf="fetchOrganizations.searchUtils.totalResults!=null">
|
|
({{fetchOrganizations.searchUtils.totalResults | number}})</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<search-research-results *ngIf="activeEntity == 'result'" resultType="result" [includeOnlyResultsAndFilter]="true"
|
|
(searchPageUpdates)="activeEntityUpdate($event)" [showSwitchSearchLink]="false"
|
|
simpleSearchLink="/search/find" [customFilter]="customFilter"></search-research-results>
|
|
|
|
<search-projects *ngIf="activeEntity == 'projects'" [includeOnlyResultsAndFilter]="true" [showSwitchSearchLink]="false"
|
|
(searchPageUpdates)="activeEntityUpdate($event)"
|
|
simpleSearchLink="/search/find" [customFilter]="customFilter">
|
|
</search-projects>
|
|
|
|
<search-organizations *ngIf="activeEntity == 'organizations'" [includeOnlyResultsAndFilter]="true" [showSwitchSearchLink]="false"
|
|
(searchPageUpdates)="activeEntityUpdate($event)"
|
|
simpleSearchLink="/search/find" [customFilter]="customFilter">
|
|
</search-organizations>
|
|
|
|
<search-dataproviders *ngIf="activeEntity == 'datasources'" [includeOnlyResultsAndFilter]="true" [showSwitchSearchLink]="false"
|
|
(searchPageUpdates)="activeEntityUpdate($event)"
|
|
simpleSearchLink="/search/find" [customFilter]="customFilter">
|
|
</search-dataproviders>
|
|
|
|
<search-dataproviders *ngIf="activeEntity == 'services'" [includeOnlyResultsAndFilter]="true" [showSwitchSearchLink]="false"
|
|
(searchPageUpdates)="activeEntityUpdate($event)"
|
|
simpleSearchLink="/search/find" [customFilter]="customFilter"
|
|
type="services" entityType="service" [typeName]="openaireEntities.SERVICES">
|
|
</search-dataproviders> |