1
|
<div class="image-front-topbar uk-section-default uk-position-relative" uk-scrollspy="{"target":"[uk-scrollspy-class]","cls":"uk-animation-fade","delay":false}" tm-header-transparent="light">
|
2
|
<div style=" min-height: 350px;" [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 '+searchFormClass">
|
3
|
<div class="uk-position-cover" style="/*background-color: rgba(255, 255, 255, 0.37);*/"></div>
|
4
|
<div class="uk-container">
|
5
|
<div class="uk-position-relative">
|
6
|
|
7
|
|
8
|
<div class="uk-container ">
|
9
|
<div class="uk-width-1-1">
|
10
|
<!--link to advanced search -->
|
11
|
<a *ngIf = "advancedSearchLink && advancedSearchLink.length > 0" routerLinkActive="router-link-active" [class]="((disableForms)?'uk-float-right uk-disabled uk-link-muted uk-light ':'uk-float-right uk-light') +' portal-color uk-margin-small-bottom'" [routerLink]=advancedSearchLink [queryParams]=advancedSearchParameters >
|
12
|
<span class=" ">Advanced search</span>
|
13
|
</a>
|
14
|
<search-form [isDisabled]="disableForms" [(keyword)]="searchUtils.keyword" (keywordChange)="keywordChanged($event)" [placeholderText]="formPlaceholderText"></search-form>
|
15
|
|
16
|
</div>
|
17
|
|
18
|
|
19
|
</div>
|
20
|
</div>
|
21
|
</div>
|
22
|
</div>
|
23
|
</div>
|
24
|
|
25
|
<schema2jsonld [URL]="properties.baseLink+baseUrl" type="search" [name]=pageTitle></schema2jsonld>
|
26
|
|
27
|
<div id="tm-main" class=" uk-section uk-padding-remove-top tm-middle" >
|
28
|
<div uk-grid >
|
29
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
30
|
<div class="">
|
31
|
<div class="uk-container">
|
32
|
<helper position="top"></helper>
|
33
|
<div [class]="(showRefine)? 'uk-width-3-5@m uk-width-3-5@l uk-width-1-1@s' :'uk-width-1-1'">
|
34
|
<div *ngIf="showRefine" class="uk-offcanvas-content uk-hidden@m">
|
35
|
|
36
|
<a href="#offcanvas-usage" uk-toggle><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="6" y="4" width="12" height="1"></rect><rect x="6" y="9" width="12" height="1"></rect><rect x="6" y="14" width="12" height="1"></rect><rect x="2" y="4" width="2" height="1"></rect><rect x="2" y="9" width="2" height="1"></rect><rect x="2" y="14" width="2" height="1"></rect></svg></a>
|
37
|
|
38
|
<div id="offcanvas-usage" uk-offcanvas>
|
39
|
<div class="uk-offcanvas-bar">
|
40
|
<button class="uk-offcanvas-close" type="button" uk-close></button>
|
41
|
<div class="uk-width-1-1 uk-margin-small-bottom ">
|
42
|
|
43
|
<div *ngIf="countFilters()>0" class="uk-margin-small-bottom">
|
44
|
|
45
|
<span *ngIf = "searchUtils.keyword.length > 0"><span class="uk-text-bold">Keywords:</span>
|
46
|
<a (click) = "clearKeywords() " title="Remove keywords" [class]="((disableForms)?' uk-disabled':' ')+' uk-margin-small-right portal-color '"><span class=" clickable " aria-hidden="true"><span class="uk-icon ">
|
47
|
<svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
|
48
|
</span></span></a>
|
49
|
<span [innerHtml]="searchUtils.keyword"></span>
|
50
|
|
51
|
</span>
|
52
|
<div *ngFor="let filter of filters " >
|
53
|
<span *ngIf = "filter.countSelectedValues > 0"> <span class="uk-text-bold">{{filter.title}}:</span>
|
54
|
<span *ngFor="let value of getSelectedValues(filter); let i = index; let end = last; " >
|
55
|
<a [title]="'Remove '+value.name"(click) = "removeFilter(value, filter) " [class]="((disableForms)?' uk-disabled':' ')+' portal-color '"><span class=" clickable" aria-hidden="true"><span class="uk-icon">
|
56
|
<svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
|
57
|
</span></span></a>
|
58
|
<span [innerHtml]="(value.name.length > 25)?value.name.substring(0,25)+'...':value.name" [title]="value.name"></span>
|
59
|
|
60
|
<span *ngIf="!end" class=" ">, </span>
|
61
|
</span>
|
62
|
</span>
|
63
|
</div>
|
64
|
|
65
|
|
66
|
</div>
|
67
|
<div class="uk-margin-small-bottom uk-margin-small-top">
|
68
|
<a *ngIf="countFilters()>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' uk-margin-small-right portal-link '">
|
69
|
Clear All
|
70
|
</a>
|
71
|
|
72
|
<a *ngIf= "showUnknownFilters" class = " uk-margin-small-right portal-link " (click) = "clearFilters() " >Try new Query</a>
|
73
|
<span *ngIf="tableViewLink" class="uk-margin-medium-right">
|
74
|
<a routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >
|
75
|
<span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
|
76
|
</a>
|
77
|
|
78
|
<span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
|
79
|
</span>
|
80
|
<search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults"></search-download>
|
81
|
</div>
|
82
|
|
83
|
</div>
|
84
|
<div class="uk-text-large">Filter By:</div>
|
85
|
<search-filter *ngFor="let filter of filters " [addShowMore]=false [isDisabled]="disableForms" [filter]="filter" [showResultCount]=showResultCount (onFilterChange)="filterChanged($event)" [(connectCommunityId)]=connectCommunityId></search-filter>
|
86
|
</div>
|
87
|
</div>
|
88
|
|
89
|
</div>
|
90
|
</div>
|
91
|
|
92
|
|
93
|
<div class="uk-grid uk-width-1-1">
|
94
|
<div *ngIf="showRefine" class=" uk-margin-top helper-left-right search-filters uk-visible@m">
|
95
|
<helper position="left" before="true"></helper>
|
96
|
<div class="uk-width-1-1 uk-margin-small-bottom ">
|
97
|
|
98
|
<div *ngIf="countFilters()>0" class="uk-margin-small-bottom">
|
99
|
|
100
|
<span *ngIf = "searchUtils.keyword.length > 0"><span class="uk-text-bold">Keywords:</span>
|
101
|
<a (click) = "clearKeywords() " title="Remove keywords" [class]="((disableForms)?' uk-disabled':' ')+' portal-color '"><span class=" clickable " aria-hidden="true"><span class="uk-icon ">
|
102
|
<svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
|
103
|
</span></span></a>
|
104
|
<span [innerHtml]="searchUtils.keyword"></span>
|
105
|
|
106
|
</span>
|
107
|
<div *ngFor="let filter of filters " >
|
108
|
<span *ngIf = "filter.countSelectedValues > 0"> <span class="uk-text-bold">{{filter.title}}:</span>
|
109
|
<span *ngFor="let value of getSelectedValues(filter); let i = index; let end = last; " >
|
110
|
<a [title]="'Remove '+value.name"(click) = "removeFilter(value, filter) " [class]="((disableForms)?' uk-disabled':' ')+' portal-color '"><span class=" clickable" aria-hidden="true"><span class="uk-icon">
|
111
|
<svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
|
112
|
</span></span></a>
|
113
|
<span [innerHtml]="(value.name.length > 25)?value.name.substring(0,25)+'...':value.name" [title]="value.name"></span>
|
114
|
|
115
|
<span *ngIf="!end" class=" ">, </span>
|
116
|
</span>
|
117
|
</span>
|
118
|
</div>
|
119
|
|
120
|
|
121
|
</div>
|
122
|
<div class="uk-margin-small-bottom uk-margin-small-top">
|
123
|
<a *ngIf="countFilters()>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' uk-margin-small-right portal-link '">
|
124
|
Clear All
|
125
|
</a>
|
126
|
|
127
|
<a *ngIf= "showUnknownFilters" class = " portal-link uk-margin-small-right " (click) = "clearFilters() " >Try new Query</a>
|
128
|
<span *ngIf="tableViewLink" class="uk-margin-medium-right">
|
129
|
<a routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >
|
130
|
<span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
|
131
|
</a>
|
132
|
|
133
|
<span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
|
134
|
</span>
|
135
|
<search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults"></search-download>
|
136
|
</div>
|
137
|
</div>
|
138
|
<search-filter *ngFor="let filter of filters " [isDisabled]="disableForms" [filter]="filter" [showResultCount]=showResultCount (onFilterChange)="filterChanged($event)" [(connectCommunityId)]=connectCommunityId></search-filter>
|
139
|
<helper position="left" before="false"></helper>
|
140
|
</div>
|
141
|
<helper *ngIf="!showRefine" class="uk-margin-top helper-left-right uk-visible@m" position="left"></helper>
|
142
|
|
143
|
<div class="uk-width-expand@m uk-width-1-1@s uk-first-column">
|
144
|
<!-- <div [class]="(showRefine)?'uk-width-expand@m uk-first-column':''" > -->
|
145
|
<div *ngIf="openaireLink"> <a class="uk-margin-top uk-button uk-button-text" [href]=openaireLink target="_blank" >Results in OpenAIRE</a></div>
|
146
|
<div class="uk-align-center uk-margin-remove-bottom">
|
147
|
<search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
148
|
</div>
|
149
|
<!-- *ngIf="tableViewLink || searchUtils.totalResults <= csvLimit" -->
|
150
|
<!-- <div class="uk-width-1-1@s uk-hidden@m">
|
151
|
<span *ngIf="tableViewLink" class="uk-margin-medium-right">
|
152
|
<a routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >
|
153
|
<span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
|
154
|
</a>
|
155
|
|
156
|
<span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
|
157
|
</span>
|
158
|
<search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults"></search-download>
|
159
|
</div> -->
|
160
|
|
161
|
<div *ngIf="(searchUtils.page <= pagingLimit)" class="uk-margin-top">
|
162
|
<search-result *ngIf="!tableView"
|
163
|
[results]="results"
|
164
|
[status]="searchUtils.status"
|
165
|
[type]="entityType"
|
166
|
[showLoading]="true" [(properties)]=properties>
|
167
|
</search-result>
|
168
|
</div>
|
169
|
|
170
|
<div [class]="searchUtils.page > pagingLimit ? 'search-results' : ''" *ngIf="(searchUtils.page >= pagingLimit) && (searchUtils.totalResults > resultsPerPage*pagingLimit)">
|
171
|
<p class="uk-alert-warning" uk-alert>For more results please try a new, more specific query</p>
|
172
|
</div>
|
173
|
|
174
|
<div class="uk-align-center uk-margin-remove-bottom">
|
175
|
<search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
176
|
</div>
|
177
|
|
178
|
<a *ngIf="properties.showLastIndexInformationLink" class="last_index_info uk-button-text"
|
179
|
[href]="properties.lastIndexInformationLink" target="_blank">
|
180
|
Last index information
|
181
|
</a>
|
182
|
|
183
|
<helper class="uk-hidden@m" position="left" styleName="uk-width-1-1@s"></helper>
|
184
|
<helper class="uk-hidden@m" position="right" styleName="uk-width-1-1@s"></helper>
|
185
|
</div>
|
186
|
<div class="uk-margin-top helper-left-right uk-visible@m">
|
187
|
<helper position="right" before="true"></helper>
|
188
|
<!-- <div>
|
189
|
<span *ngIf="tableViewLink" class="uk-margin-medium-right">
|
190
|
<a routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >
|
191
|
<span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
|
192
|
</a>
|
193
|
|
194
|
<span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
|
195
|
</span>
|
196
|
<search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults"></search-download>
|
197
|
</div> -->
|
198
|
<helper position="right" before="false"></helper>
|
199
|
</div>
|
200
|
<!-- <helper *ngIf="!tableViewLink && searchUtils.totalResults > csvLimit" class="helper-left-right uk-visible@m" position="right"></helper> -->
|
201
|
</div>
|
202
|
<!-- <div [class]="(showRefine)? 'uk-width-3-5@m uk-width-3-5@l uk-width-1-1@s uk-align-center uk-margin-remove-bottom' : 'uk-width-1-1'">
|
203
|
<search-paging [loadPaging]="loadPaging" [type]="type" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
204
|
</div> -->
|
205
|
<div class="uk-width-1-1">
|
206
|
<helper position="bottom"></helper>
|
207
|
</div>
|
208
|
</div>
|
209
|
</div>
|
210
|
</div>
|
211
|
</div>
|
212
|
</div>
|