Project

General

Profile

1
<div class="image-front-topbar  uk-section-default uk-position-relative"
2
     uk-scrollspy="{&quot;target&quot;:&quot;[uk-scrollspy-class]&quot;,&quot;cls&quot;:&quot;uk-animation-fade&quot;,&quot;delay&quot;:false}"
3
     tm-header-transparent="light">
4
  <div uk-height-viewport="offset-top: true;offset-bottom: 60" style="box-sizing: border-box;  "
5
       class=" uk-background-norepeat uk-background-cover uk-background-bottom-center uk-section uk-padding-remove-bottom uk-flex uk-flex-middle uk-background-fixed generalSearchForm">
6
    <div class="uk-position-cover" style="background-color: rgba(255, 255, 255, 0.37);"></div>
7
    <div class="uk-container">
8
      <div class="uk-position-relative">
9

    
10

    
11
        <div class="uk-container">
12
          <div class="uk-width-1-1">
13

    
14
            <advanced-search-form
15
              entityType="all"
16

    
17
              (queryChange)="keywordChanged($event)"
18
              [isDisabled]="disableForms"
19
              [simpleView]="true" [formPlaceholderText]="formPlaceholderText"
20

    
21
              [selectedFields]="selectedFields"
22
              [fieldIdsMap]="fieldIdsMap" [fieldIds]="fieldIds" [entitiesSelection]="true" [customFilter]="customFilter"
23
            >
24
            </advanced-search-form>
25
          </div>
26

    
27

    
28
        </div>
29
      </div>
30
    </div>
31
  </div>
32
</div>
33
<schema2jsonld *ngIf="name && logoURL" [URL]="properties.baseLink+'/search/find'"
34
               [logoURL]="properties.baseLink+logoURL" type="search" [name]=name></schema2jsonld>
35
<div class="uk-container-large uk-container">
36

    
37
  <ul class=" portalTabs uk-tab  uk-width-1-1 " uk-tab="animation: uk-animation-fade">
38
    <li *ngIf="showPublications || showDatasets || showOrps || showSoftware" (click)="entityChanged('result')"
39
        [class]="activeEntity == 'result'?'uk-active':''">
40
      <a>
41
        Research outcomes
42
        <span *ngIf=" fetchPublications.searchUtils.totalResults!=null">
43
          ({{fetchPublications.searchUtils.totalResults | number}})</span>
44
      </a>
45
    </li>
46
    <li *ngIf="showProjects" (click)="entityChanged('projects')" [class]="activeEntity == 'projects'?'uk-active':''">
47
      <a>
48
        Projects
49
        <span *ngIf="fetchProjects.searchUtils.totalResults!=null">
50
          ({{fetchProjects.searchUtils.totalResults | number}})</span>
51
      </a>
52
    </li>
53
    <li *ngIf="showDataProviders" (click)="entityChanged('datasources')"
54
        [class]="activeEntity == 'datasources'?'uk-active':''">
55
      <a>
56
        Content Providers
57
        <span *ngIf="fetchDataproviders.searchUtils.totalResults!=null">
58
          ({{fetchDataproviders.searchUtils.totalResults | number}})</span>
59
      </a>
60
    </li>
61
    <li *ngIf="showOrganizations" (click)="entityChanged('organizations')"
62
        [class]="activeEntity == 'organizations'?'uk-active':''">
63
      <a>
64
        Organizations
65
        <span *ngIf="fetchOrganizations.searchUtils.totalResults!=null">
66
          ({{fetchOrganizations.searchUtils.totalResults | number}})</span>
67
      </a>
68
    </li>
69
  </ul>
70
<!--  <quick-selections *ngIf="activeEntity == 'result' && quickFilter" [resultTypes]="resultTypes"
71
                    (typeChange)="quickSelectionsChanged()"  [isDisabled]="disableForms"
72
                    [quickFilter]="quickFilter" [QFselected]="(quickFilter)?quickFilter.selected:null"
73
                    [properties]="properties">
74
  </quick-selections>-->
75

    
76
</div>
77

    
78
<search-research-results *ngIf="activeEntity == 'result'" resultType="result" [includeOnlyResultsAndFilter]="true"
79
                         (searchPageUpdates)="activeEntityUpdate($event)"
80
                         simpleSearchLink="/search/find"></search-research-results>
81

    
82
<search-projects *ngIf="activeEntity == 'projects'" [includeOnlyResultsAndFilter]="true"
83
                 (searchPageUpdates)="activeEntityUpdate($event)"
84
                 simpleSearchLink="/search/find">
85
</search-projects>
86

    
87
<search-organizations *ngIf="activeEntity == 'organizations'" [includeOnlyResultsAndFilter]="true"
88
                      (searchPageUpdates)="activeEntityUpdate($event)"
89
                      simpleSearchLink="/search/find">
90
</search-organizations>
91

    
92
<search-dataproviders *ngIf="activeEntity == 'datasources'" [includeOnlyResultsAndFilter]="true"
93
                      (searchPageUpdates)="activeEntityUpdate($event)"
94
                      simpleSearchLink="/search/find">
95
</search-dataproviders>
(4-4/6)