1 |
58326
|
konstantin
|
<ng-template #filters_column>
|
2 |
|
|
<!-- let-dynamic_content="dynamic_content">-->
|
3 |
|
|
<div *ngIf="selectedRangeFilters > 0 || selectedFilters > 0" class="uk-width-1-1 uk-margin-top uk-margin-medium-bottom ">
|
4 |
|
|
<div class="uk-grid uk-flex uk-flex-bottom">
|
5 |
|
|
<h5 class="uk-text-bold">Filters</h5>
|
6 |
|
|
<a *ngIf="(selectedRangeFilters+selectedFilters)>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' portal-link ' + 'uk-width-1-2'">
|
7 |
|
|
Clear All
|
8 |
|
|
</a>
|
9 |
|
|
</div>
|
10 |
|
|
<div class="uk-grid uk-grid-small uk-text-small" uk-grid>
|
11 |
|
|
<ng-container *ngIf="selectedRangeFilters > 0">
|
12 |
|
|
<ng-container *ngFor="let filter of rangeFilters " >
|
13 |
|
|
<ng-container *ngIf = "filter.selectedFromAndToValues">
|
14 |
|
|
<span [title]="'Remove '+ filter.selectedFromAndToValues" (click) = "removeRangeFilter(filter) " >
|
15 |
|
|
<span class="selectedFilterLabel ">
|
16 |
|
|
<a [class]="((disableForms)?' uk-disabled':' ')+' uk-link-text '">
|
17 |
|
|
<span class=" clickable" aria-hidden="true">
|
18 |
|
|
<span class="uk-icon">
|
19 |
|
|
<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>
|
20 |
|
|
</span>
|
21 |
|
|
</span>
|
22 |
|
|
<span class="uk-margin-small-left">{{filter.selectedFromAndToValues}}</span>
|
23 |
|
|
</a>
|
24 |
|
|
</span>
|
25 |
|
|
</span>
|
26 |
|
|
</ng-container>
|
27 |
|
|
</ng-container>
|
28 |
|
|
</ng-container>
|
29 |
|
|
<ng-container *ngFor="let filter of filters " >
|
30 |
|
|
<ng-container *ngIf = "filter.countSelectedValues > 0">
|
31 |
|
|
<span *ngFor="let value of getSelectedValues(filter); let i = index; let end = last; "
|
32 |
|
|
[title]="'Remove '+value.name" (click) = "removeFilter(value, filter) " >
|
33 |
|
|
<!-- if no grid on the div above, remove it and move class 'selectedFilterLabel' on top span -->
|
34 |
|
|
<span class="selectedFilterLabel ">
|
35 |
|
|
<a [class]="((disableForms)?' uk-disabled':' ')+' uk-link-text '">
|
36 |
|
|
<span class=" clickable" aria-hidden="true">
|
37 |
|
|
<span class="uk-icon">
|
38 |
|
|
<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>
|
39 |
|
|
</span>
|
40 |
|
|
</span>
|
41 |
|
|
<span class="uk-margin-small-left" [innerHtml]="(value.name.length > 34)?value.name.substring(0,34)+'...':value.name"></span>
|
42 |
|
|
</a>
|
43 |
|
|
</span>
|
44 |
|
|
</span>
|
45 |
|
|
</ng-container>
|
46 |
|
|
</ng-container>
|
47 |
|
|
</div>
|
48 |
|
|
</div>
|
49 |
|
|
<div *ngIf="filters.length === 0 && results.length > 0" class="uk-margin-top">
|
50 |
|
|
<span class="uk-text-meta">No filters available</span>
|
51 |
|
|
</div>
|
52 |
|
|
<ul *ngIf="!showUnknownFilters"
|
53 |
|
|
[class]="'uk-list uk-list-divider' + (selectedRangeFilters == 0 && selectedFilters == 0 ? ' uk-margin-small-top' : '')">
|
54 |
|
|
<ng-container *ngFor="let filter of rangeFilters">
|
55 |
|
|
<li>
|
56 |
|
|
<range-filter [isDisabled]="disableForms" [filter]="filter" (onFilterChange)="filterChanged($event)"></range-filter>
|
57 |
|
|
</li>
|
58 |
|
|
</ng-container>
|
59 |
|
|
<ng-container *ngFor="let filter of filters ">
|
60 |
|
|
<li *ngIf= "filter.values.length >0">
|
61 |
|
|
<search-filter [filterValuesNum]="filterValuesNum" [showMoreInline]="showMoreFilterValuesInline" [isDisabled]="disableForms" [filter]="filter" [showResultCount]=showResultCount (onFilterChange)="filterChanged($event)" ></search-filter>
|
62 |
|
|
</li>
|
63 |
|
|
</ng-container>
|
64 |
|
|
</ul>
|
65 |
|
|
</ng-template>
|
66 |
58045
|
argiro.kok
|
|
67 |
58326
|
konstantin
|
|
68 |
58244
|
argiro.kok
|
<div *ngIf="!includeOnlyResultsAndFilter" [class]="usedBy != 'deposit' && (!customFilter || customFilter.queryFieldName != 'communityId') ?
|
69 |
|
|
' image-front-topbar uk-section-default uk-position-relative ' :
|
70 |
|
|
(' uk-section uk-padding-remove-bottom uk-padding-remove-top ' + (usedBy
|
71 |
|
|
== 'deposit' ? ' uk-padding-remove-top ' : ' '))"
|
72 |
58115
|
argiro.kok
|
uk-scrollspy="{"target":"[uk-scrollspy-class]","cls":"uk-animation-fade","delay":false}" tm-header-transparent="light">
|
73 |
58244
|
argiro.kok
|
<div style="box-sizing: border-box; "
|
74 |
|
|
[class]="' uk-background-norepeat uk-background-bottom-center uk-padding-remove-bottom uk-flex uk-flex-middle uk-background-fixed '+searchFormClass
|
75 |
|
|
+ (usedBy != 'deposit' && (!customFilter || customFilter.queryFieldName != 'communityId') ?
|
76 |
|
|
' searchFormMinHeight uk-padding-remove-bottom uk-section ' : '')
|
77 |
|
|
+(simpleView?'':' advancedSearchFormBackground ')">
|
78 |
|
|
|
79 |
58391
|
argiro.kok
|
<div [class]="(usedBy!='deposit' && (!customFilter || customFilter.queryFieldName != 'communityId'))?'uk-position-cover':''" ></div>
|
80 |
53353
|
argiro.kok
|
<div class="uk-width-1-1">
|
81 |
|
|
<div class="uk-position-relative">
|
82 |
58517
|
argiro.kok
|
<div [class]="'uk-container '+(customFilter && customFilter.queryFieldName ==
|
83 |
58566
|
argiro.kok
|
'communityId'?'':'uk-margin-large-top')+
|
84 |
|
|
(entityType === 'community' ||entityType === 'funder'?' uk-position-relative':'')">
|
85 |
53353
|
argiro.kok
|
<advanced-search-form
|
86 |
|
|
[entityType] = "entityType"
|
87 |
58115
|
argiro.kok
|
[fieldIds]="fieldIds"
|
88 |
|
|
[fieldIdsMap]="fieldIdsMap"
|
89 |
|
|
[selectedFields]="selectedFields"
|
90 |
58072
|
argiro.kok
|
(queryChange)="queryChanged()"
|
91 |
53353
|
argiro.kok
|
[isDisabled]="disableForms"
|
92 |
58045
|
argiro.kok
|
[simpleSearchLink]="simpleSearchLink"
|
93 |
|
|
[advancedSearchLink]="advancedSearchLink"
|
94 |
|
|
[advancedSearchLinkParameters]
|
95 |
|
|
="this.routerHelper.createQueryParams(this.parameterNames, this.parameterValues)"
|
96 |
|
|
[pageTitle]=pageTitle [simpleView]="simpleView" [formPlaceholderText]="formPlaceholderText"
|
97 |
58138
|
argiro.kok
|
[resultTypes]="resultTypes" [quickFilter]="quickFilter" [entitiesSelection]="entitiesSelection"
|
98 |
58391
|
argiro.kok
|
[showAdvancedSearchLink]="showAdvancedSearchLink" [customFilter]="customFilter"
|
99 |
53353
|
argiro.kok
|
>
|
100 |
|
|
</advanced-search-form>
|
101 |
58566
|
argiro.kok
|
<div *ngIf="entityType === 'community' ||entityType === 'funder' " class="uk-position-center-right">
|
102 |
|
|
<img src="assets/connect-assets/banner/search.png" class="uk-align-center" width="141" height="171">
|
103 |
|
|
</div>
|
104 |
53353
|
argiro.kok
|
</div>
|
105 |
|
|
</div>
|
106 |
|
|
</div>
|
107 |
|
|
</div>
|
108 |
|
|
</div>
|
109 |
58115
|
argiro.kok
|
<schema2jsonld *ngIf="!includeOnlyResultsAndFilter && url" [URL]="url" type="search" [name]=pageTitle
|
110 |
|
|
[searchAction]=false></schema2jsonld>
|
111 |
53353
|
argiro.kok
|
|
112 |
|
|
|
113 |
|
|
|
114 |
58552
|
argiro.kok
|
<div id="tm-main" class=" tm-middle communityBackground">
|
115 |
58052
|
argiro.kok
|
<div uk-grid>
|
116 |
50169
|
argiro.kok
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
117 |
58566
|
argiro.kok
|
<breadcrumbs *ngIf="showBreadcrumb && entityType!='community'"
|
118 |
|
|
addClass="uk-margin-large-left uk-margin-remove-bottom uk-margin-small-top" [breadcrumbs]="breadcrumbs"></breadcrumbs>
|
119 |
58525
|
argiro.kok
|
<div class="uk-container uk-container-large">
|
120 |
50169
|
argiro.kok
|
<div>
|
121 |
58566
|
argiro.kok
|
<breadcrumbs *ngIf="showBreadcrumb && entityType=='community'"
|
122 |
|
|
addClass=" " [breadcrumbs]="breadcrumbs"></breadcrumbs>
|
123 |
56649
|
k.triantaf
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0" [texts]="pageContents['top']"></helper>
|
124 |
58045
|
argiro.kok
|
<div [class]="(showRefine)? 'uk-width-4-5@m uk-width-4-5@l uk-width-1-1@s' :'uk-width-1-1'">
|
125 |
58130
|
konstantin
|
<div *ngIf="showRefine" class="uk-offcanvas-content uk-hidden@m uk-margin-top">
|
126 |
58045
|
argiro.kok
|
|
127 |
58130
|
konstantin
|
<a href="#offcanvas-usage" uk-toggle>
|
128 |
|
|
<span class="uk-icon uk-margin-small-right uk-margin-small-left">
|
129 |
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="settings">
|
130 |
|
|
<ellipse fill="none" stroke="#000" cx="6.11" cy="3.55" rx="2.11" ry="2.15"></ellipse>
|
131 |
|
|
<ellipse fill="none" stroke="#000" cx="6.11" cy="15.55" rx="2.11" ry="2.15"></ellipse>
|
132 |
|
|
<circle fill="none" stroke="#000" cx="13.15" cy="9.55" r="2.15"></circle>
|
133 |
|
|
<rect x="1" y="3" width="3" height="1"></rect>
|
134 |
|
|
<rect x="10" y="3" width="8" height="1"></rect>
|
135 |
|
|
<rect x="1" y="9" width="8" height="1"></rect>
|
136 |
|
|
<rect x="15" y="9" width="3" height="1"></rect>
|
137 |
|
|
<rect x="1" y="15" width="3" height="1"></rect>
|
138 |
|
|
<rect x="10" y="15" width="8" height="1"></rect>
|
139 |
|
|
</svg>
|
140 |
|
|
</span>
|
141 |
|
|
<span>Filters <span *ngIf="(selectedRangeFilters+selectedFilters) > 0">({{(selectedRangeFilters+selectedFilters)}})</span></span>
|
142 |
|
|
<!-- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1">-->
|
143 |
|
|
<!-- <rect x="6" y="4" width="12" height="1"></rect><rect x="6" y="9" width="12" height="1"></rect>-->
|
144 |
|
|
<!-- <rect x="6" y="14" width="12" height="1"></rect>-->
|
145 |
|
|
<!-- <rect x="2" y="4" width="2" height="1"></rect>-->
|
146 |
|
|
<!-- <rect x="2" y="9" width="2" height="1"></rect>-->
|
147 |
|
|
<!-- <rect x="2" y="14" width="2" height="1"></rect>-->
|
148 |
|
|
<!-- </svg>-->
|
149 |
|
|
</a>
|
150 |
58045
|
argiro.kok
|
|
151 |
58326
|
konstantin
|
<div #offcanvas_element id="offcanvas-usage" uk-offcanvas overlay style="z-index:10000;">
|
152 |
58148
|
konstantin
|
<div class="uk-offcanvas-bar offcanvas-white">
|
153 |
58045
|
argiro.kok
|
<button class="uk-offcanvas-close" type="button" uk-close></button>
|
154 |
58326
|
konstantin
|
<div class="uk-width-1-1">
|
155 |
58045
|
argiro.kok
|
|
156 |
58244
|
argiro.kok
|
<!-- <span *ngIf="tableViewLink " class="uk-width-expand">-->
|
157 |
|
|
<!-- <span *ngIf="tableViewLink">-->
|
158 |
|
|
<!-- <a uk-tooltip="title: Table view" routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >-->
|
159 |
|
|
<!-- <span class="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>-->
|
160 |
|
|
<!-- </a>-->
|
161 |
|
|
<!-- <span uk-tooltip="title: List view" 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>-->
|
162 |
|
|
<!-- </span>-->
|
163 |
|
|
<!-- </span>-->
|
164 |
58148
|
konstantin
|
<!-- <search-download *ngIf= "!showUnknownFilters && searchUtils.totalResults > 0 && ( entityType !=-->
|
165 |
|
|
<!-- 'community' && entityType != 'funder') && usedBy == 'search'"-->
|
166 |
|
|
<!-- class="uk-width-1-2" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults">-->
|
167 |
|
|
<!-- </search-download>-->
|
168 |
58045
|
argiro.kok
|
|
169 |
58326
|
konstantin
|
<!-- HERE-->
|
170 |
|
|
<!-- <div *ngIf="selectedRangeFilters > 0 || selectedFilters > 0" class="uk-margin-top uk-margin-small-bottom">-->
|
171 |
|
|
<!--<!– <div class="uk-grid uk-margin-bottom uk-margin-top">–>-->
|
172 |
|
|
<!--<!– <span class="uk-text-bold uk-text-large">Filters</span>–>-->
|
173 |
|
|
<!--<!– <a *ngIf="selectedFilters>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' portal-link ' + 'uk-width-1-2'">–>-->
|
174 |
|
|
<!--<!– Clear All–>-->
|
175 |
|
|
<!--<!– </a>–>-->
|
176 |
|
|
<!--<!– </div>–>-->
|
177 |
|
|
<!-- <div class="uk-grid uk-flex uk-flex-bottom">-->
|
178 |
|
|
<!-- <h5 class="uk-text-bold">Filters</h5>-->
|
179 |
|
|
<!-- <a *ngIf="(selectedRangeFilters+selectedFilters)>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' portal-link ' + 'uk-width-1-2'">-->
|
180 |
58105
|
konstantin
|
<!-- Clear All-->
|
181 |
|
|
<!-- </a>-->
|
182 |
|
|
<!-- </div>-->
|
183 |
58326
|
konstantin
|
<!-- </div>-->
|
184 |
58045
|
argiro.kok
|
|
185 |
58326
|
konstantin
|
<!-- <div *ngIf="selectedRangeFilters > 0 || selectedFilters>0" class="uk-margin-medium-bottom uk-grid uk-grid-small uk-text-small" uk-grid>-->
|
186 |
|
|
<!-- <ng-container *ngIf="selectedRangeFilters > 0">-->
|
187 |
|
|
<!-- <ng-container *ngFor="let filter of rangeFilters " >-->
|
188 |
|
|
<!-- <ng-container *ngIf = "filter.selectedFromAndToValues">-->
|
189 |
|
|
<!-- <span [title]="'Remove '+ filter.selectedFromAndToValues" (click) = "removeRangeFilter(filter) " >-->
|
190 |
|
|
<!-- <span class="selectedFilterLabel ">-->
|
191 |
|
|
<!-- <a [class]="((disableForms)?' uk-disabled':' ')+' uk-link-text '">-->
|
192 |
|
|
<!-- <span class=" clickable" aria-hidden="true">-->
|
193 |
|
|
<!-- <span class="uk-icon">-->
|
194 |
|
|
<!-- <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>-->
|
195 |
|
|
<!-- </span>-->
|
196 |
|
|
<!-- </span>-->
|
197 |
|
|
<!-- <span class="uk-margin-small-left">{{filter.selectedFromAndToValues}}</span>-->
|
198 |
|
|
<!-- </a>-->
|
199 |
|
|
<!-- </span>-->
|
200 |
|
|
<!-- </span>-->
|
201 |
|
|
<!-- </ng-container>-->
|
202 |
|
|
<!-- </ng-container>-->
|
203 |
|
|
<!-- </ng-container>-->
|
204 |
|
|
<!-- <ng-container *ngFor="let filter of filters " >-->
|
205 |
|
|
<!-- <ng-container *ngIf = "filter.countSelectedValues > 0">-->
|
206 |
58045
|
argiro.kok
|
|
207 |
58326
|
konstantin
|
<!-- <!– <span class="uk-text-bold">{{filter.title}}:</span>–>-->
|
208 |
|
|
<!-- <!– uk-margin-small-top uk-margin-small-right–> <!– if no grid on the div above, add it –>-->
|
209 |
|
|
<!-- <!– uk-label –>-->
|
210 |
|
|
<!-- <span *ngFor="let value of getSelectedValues(filter); let i = index; let end = last; "-->
|
211 |
|
|
<!-- [title]="'Remove '+value.name" (click) = "removeFilter(value, filter) " >-->
|
212 |
|
|
<!-- <!– if no grid on the div above, remove it and move class 'selectedFilterLabel' on top span –>-->
|
213 |
|
|
<!-- <span class="selectedFilterLabel ">-->
|
214 |
|
|
<!-- <a [class]="((disableForms)?' uk-disabled':' ')+' uk-link-text '">-->
|
215 |
|
|
<!-- <span class=" clickable" aria-hidden="true">-->
|
216 |
|
|
<!-- <span class="uk-icon">-->
|
217 |
|
|
<!-- <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>-->
|
218 |
|
|
<!-- </span>-->
|
219 |
|
|
<!-- </span>-->
|
220 |
|
|
<!-- <span class="uk-margin-small-left" [innerHtml]="(value.name.length > 34)?value.name.substring(0,34)+'...':value.name"></span>-->
|
221 |
|
|
<!-- </a>-->
|
222 |
|
|
<!-- </span>-->
|
223 |
|
|
<!-- </span>-->
|
224 |
|
|
<!-- </ng-container>-->
|
225 |
|
|
<!-- </ng-container>-->
|
226 |
58045
|
argiro.kok
|
|
227 |
58105
|
konstantin
|
|
228 |
58326
|
konstantin
|
<!-- </div>-->
|
229 |
58045
|
argiro.kok
|
|
230 |
58326
|
konstantin
|
<!--<!– <div class="uk-margin-small-bottom uk-margin-small-top uk-grid">–>-->
|
231 |
|
|
<!--<!– <a *ngIf= "showUnknownFilters" class = " portal-link" (click) = "clearFilters() " >Try new Query</a>–>-->
|
232 |
|
|
<!--<!– </div>–>-->
|
233 |
|
|
|
234 |
|
|
<!-- <div *ngIf="filters.length === 0 && searchUtils.keyword.length === 0 && results.length > 0" class="uk-margin-top">-->
|
235 |
|
|
<!-- <span class="uk-text-meta">No filters available</span>-->
|
236 |
58052
|
argiro.kok
|
<!-- </div>-->
|
237 |
58326
|
konstantin
|
<!-- <ul *ngIf="!showUnknownFilters" class="uk-list uk-list-divider">-->
|
238 |
|
|
<!-- <ng-container *ngFor="let filter of rangeFilters">-->
|
239 |
|
|
<!-- <li>-->
|
240 |
|
|
<!-- <range-filter [isDisabled]="disableForms" [filter]="filter" (onFilterChange)="filterChanged($event)"></range-filter>-->
|
241 |
|
|
<!-- </li>-->
|
242 |
|
|
<!-- </ng-container>-->
|
243 |
|
|
<!-- <ng-container *ngFor="let filter of filters ">-->
|
244 |
|
|
<!-- <li *ngIf= "filter.values.length >0">-->
|
245 |
|
|
<!-- <search-filter [filterValuesNum]="filterValuesNum" [showMoreInline]="showMoreFilterValuesInline" [isDisabled]="disableForms" [filter]="filter" [showResultCount]=showResultCount (onFilterChange)="filterChanged($event)" ></search-filter>-->
|
246 |
|
|
<!-- </li>-->
|
247 |
|
|
<!-- </ng-container>-->
|
248 |
|
|
<!-- </ul>-->
|
249 |
|
|
<ng-container *ngTemplateOutlet="filters_column; context: {}"></ng-container>
|
250 |
|
|
<!-- END OF HERE-->
|
251 |
58045
|
argiro.kok
|
</div>
|
252 |
|
|
</div>
|
253 |
|
|
</div>
|
254 |
|
|
|
255 |
|
|
</div>
|
256 |
|
|
</div>
|
257 |
58525
|
argiro.kok
|
<div *ngIf="includeOnlyResultsAndFilter && (resultTypes || quickFilter)"
|
258 |
|
|
class="uk-margin-medium-top uk-margin-medium-bottom">
|
259 |
|
|
<a *ngIf ="showAdvancedSearchLink && advancedSearchLink" routerLinkActive="router-link-active"
|
260 |
58517
|
argiro.kok
|
[routerLink]="advancedSearchLink" style="z-index:1;" [queryParams]="this.routerHelper.createQueryParams(this.parameterNames, this.parameterValues)"
|
261 |
|
|
[class]="(disableForms?' uk-disabled uk-link-muted ':'') +' portal-link uk-float-right '">Advanced search
|
262 |
|
|
</a>
|
263 |
|
|
<quick-selections [resultTypes]="resultTypes"
|
264 |
|
|
(typeChange)="queryChanged()"
|
265 |
|
|
[isDisabled]="disableForms"
|
266 |
|
|
[quickFilter]="quickFilter" [QFselected]="(quickFilter)?quickFilter.selected:null"
|
267 |
|
|
[properties]="properties">
|
268 |
|
|
</quick-selections>
|
269 |
|
|
|
270 |
|
|
</div>
|
271 |
58130
|
konstantin
|
<div class="uk-grid helper-grid uk-padding-small uk-padding-remove-vertical uk-margin-large-bottom" >
|
272 |
|
|
<div *ngIf="showRefine" class="uk-width-1-4@m search-filters uk-visible@m">
|
273 |
58045
|
argiro.kok
|
<!-- top: #container-1; bottom: #true; -->
|
274 |
|
|
<!-- <div id="container-1" style="z-index: -1;" uk-sticky="top: #container-1; offset: 120; "> -->
|
275 |
58244
|
argiro.kok
|
<!-- <span *ngIf="tableViewLink" class="uk-width-expand">-->
|
276 |
|
|
<!-- <span *ngIf="tableViewLink">-->
|
277 |
|
|
<!-- <a uk-tooltip="title: Table view" routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >-->
|
278 |
|
|
<!-- <span class="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>-->
|
279 |
|
|
<!-- </a>-->
|
280 |
|
|
<!-- <span uk-tooltip="title: List view" 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>-->
|
281 |
|
|
<!-- </span>-->
|
282 |
|
|
<!-- </span>-->
|
283 |
58130
|
konstantin
|
<!-- <search-download *ngIf= "!showUnknownFilters && searchUtils.totalResults > 0 && ( entityType !=-->
|
284 |
|
|
<!-- 'community' && entityType != 'funder') && usedBy == 'search'"-->
|
285 |
|
|
<!-- class="uk-width-1-2" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults">-->
|
286 |
|
|
<!-- </search-download>-->
|
287 |
58045
|
argiro.kok
|
|
288 |
58326
|
konstantin
|
<!-- HERE-->
|
289 |
|
|
<!-- <div *ngIf="selectedRangeFilters > 0 || selectedFilters > 0" class="uk-width-1-1 uk-margin-top uk-margin-medium-bottom ">-->
|
290 |
|
|
<!-- <div class="uk-grid uk-flex uk-flex-bottom">-->
|
291 |
|
|
<!-- <h5 class="uk-text-bold">Filters</h5>-->
|
292 |
|
|
<!-- <a *ngIf="(selectedRangeFilters+selectedFilters)>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' portal-link ' + 'uk-width-1-2'">-->
|
293 |
|
|
<!-- Clear All-->
|
294 |
|
|
<!-- </a>-->
|
295 |
|
|
<!-- </div>-->
|
296 |
|
|
<!-- <!– uk-grid uk-grid-small" uk-grid–>-->
|
297 |
|
|
<!-- <!– uk-margin-left–>-->
|
298 |
|
|
<!-- <div class="uk-grid uk-grid-small uk-text-small" uk-grid>-->
|
299 |
|
|
<!-- <ng-container *ngIf="selectedRangeFilters > 0">-->
|
300 |
|
|
<!-- <ng-container *ngFor="let filter of rangeFilters " >-->
|
301 |
|
|
<!-- <ng-container *ngIf = "filter.selectedFromAndToValues">-->
|
302 |
|
|
<!-- <span [title]="'Remove '+ filter.selectedFromAndToValues" (click) = "removeRangeFilter(filter) " >-->
|
303 |
|
|
<!-- <span class="selectedFilterLabel ">-->
|
304 |
|
|
<!-- <a [class]="((disableForms)?' uk-disabled':' ')+' uk-link-text '">-->
|
305 |
|
|
<!-- <span class=" clickable" aria-hidden="true">-->
|
306 |
|
|
<!-- <span class="uk-icon">-->
|
307 |
|
|
<!-- <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>-->
|
308 |
|
|
<!-- </span>-->
|
309 |
|
|
<!-- </span>-->
|
310 |
|
|
<!-- <span class="uk-margin-small-left">{{filter.selectedFromAndToValues}}</span>-->
|
311 |
|
|
<!-- </a>-->
|
312 |
|
|
<!-- </span>-->
|
313 |
|
|
<!-- </span>-->
|
314 |
|
|
<!-- </ng-container>-->
|
315 |
|
|
<!-- </ng-container>-->
|
316 |
|
|
<!-- </ng-container>-->
|
317 |
|
|
<!-- <ng-container *ngFor="let filter of filters " >-->
|
318 |
|
|
<!-- <ng-container *ngIf = "filter.countSelectedValues > 0">-->
|
319 |
58045
|
argiro.kok
|
|
320 |
58326
|
konstantin
|
<!-- <!– <span class="uk-text-bold">{{filter.title}}:</span>–>-->
|
321 |
|
|
<!-- <!– uk-margin-small-top uk-margin-small-right–> <!– if no grid on the div above, add it –>-->
|
322 |
|
|
<!-- <!– uk-label –>-->
|
323 |
|
|
<!-- <span *ngFor="let value of getSelectedValues(filter); let i = index; let end = last; "-->
|
324 |
|
|
<!-- [title]="'Remove '+value.name" (click) = "removeFilter(value, filter) " >-->
|
325 |
|
|
<!-- <!– if no grid on the div above, remove it and move class 'selectedFilterLabel' on top span –>-->
|
326 |
|
|
<!-- <span class="selectedFilterLabel ">-->
|
327 |
|
|
<!-- <a [class]="((disableForms)?' uk-disabled':' ')+' uk-link-text '">-->
|
328 |
|
|
<!-- <span class=" clickable" aria-hidden="true">-->
|
329 |
|
|
<!-- <span class="uk-icon">-->
|
330 |
|
|
<!-- <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>-->
|
331 |
|
|
<!-- </span>-->
|
332 |
|
|
<!-- </span>-->
|
333 |
|
|
<!-- <span class="uk-margin-small-left" [innerHtml]="(value.name.length > 34)?value.name.substring(0,34)+'...':value.name"></span>-->
|
334 |
|
|
<!-- </a>-->
|
335 |
|
|
<!-- </span>-->
|
336 |
|
|
<!-- </span>-->
|
337 |
|
|
<!-- </ng-container>-->
|
338 |
|
|
<!-- </ng-container>-->
|
339 |
58052
|
argiro.kok
|
<!-- </div>-->
|
340 |
58326
|
konstantin
|
|
341 |
|
|
<!-- <!– <div class="uk-margin-small-bottom uk-margin-small-top uk-grid">–>-->
|
342 |
|
|
<!-- <!– <a *ngIf= "showUnknownFilters" class = " portal-link" (click) = "clearFilters() " >Try new Query</a>–>-->
|
343 |
|
|
<!-- <!– </div>–>-->
|
344 |
|
|
<!-- </div>-->
|
345 |
|
|
<!-- <div *ngIf="filters.length === 0 && results.length > 0" class="uk-margin-top">-->
|
346 |
|
|
<!-- <span class="uk-text-meta">No filters available</span>-->
|
347 |
|
|
<!-- </div>-->
|
348 |
|
|
<!-- <ul *ngIf="!showUnknownFilters"-->
|
349 |
|
|
<!-- [class]="'uk-list uk-list-divider' + (selectedRangeFilters == 0 && selectedFilters == 0 ? ' uk-margin-small-top' : '')">-->
|
350 |
|
|
<!-- <ng-container *ngFor="let filter of rangeFilters">-->
|
351 |
|
|
<!-- <li>-->
|
352 |
|
|
<!-- <range-filter [isDisabled]="disableForms" [filter]="filter" (onFilterChange)="filterChanged($event)"></range-filter>-->
|
353 |
|
|
<!-- </li>-->
|
354 |
|
|
<!-- </ng-container>-->
|
355 |
|
|
<!-- <ng-container *ngFor="let filter of filters ">-->
|
356 |
|
|
<!-- <li *ngIf= "filter.values.length >0">-->
|
357 |
|
|
<!-- <search-filter [filterValuesNum]="filterValuesNum" [showMoreInline]="showMoreFilterValuesInline" [isDisabled]="disableForms" [filter]="filter" [showResultCount]=showResultCount (onFilterChange)="filterChanged($event)" ></search-filter>-->
|
358 |
|
|
<!-- </li>-->
|
359 |
|
|
<!-- </ng-container>-->
|
360 |
|
|
<!-- </ul>-->
|
361 |
|
|
<!--context: { dynamic_content: getDynamicContent(share_research_results_type) }">-->
|
362 |
|
|
<ng-container *ngTemplateOutlet="filters_column; context: {}"></ng-container>
|
363 |
|
|
<!-- END OF HERE-->
|
364 |
|
|
|
365 |
58045
|
argiro.kok
|
</div>
|
366 |
50169
|
argiro.kok
|
<div class="uk-width-expand@m uk-with-1-1@s">
|
367 |
58552
|
argiro.kok
|
<div *ngIf="openaireLink && (searchUtils.totalResults > 0 || !loadPaging )"> <a
|
368 |
|
|
class="uk-margin-top uk-button uk-button-text"
|
369 |
58391
|
argiro.kok
|
[href]="openaireLink+this.routerHelper.createQueryParamsString(this.parameterNames, this.parameterValues)"
|
370 |
|
|
target="_blank" >Results in OpenAIRE</a></div>
|
371 |
50169
|
argiro.kok
|
<div class="uk-align-center uk-margin-remove-bottom">
|
372 |
54075
|
konstantin
|
<div *ngIf="(results && searchUtils.totalResults > 0) || (!loadPaging && oldTotalResults > 0 && searchUtils.status == errorCodes.LOADING)"
|
373 |
58326
|
konstantin
|
class="uk-grid uk-margin-top uk-margin-bottom">
|
374 |
58130
|
konstantin
|
<div class="uk-width-expand@m uk-grid uk-grid-medium uk-margin-small-bottom">
|
375 |
|
|
<search-results-per-page [(size)]="searchUtils.size" (sizeChange)="sizeChanged($event)"></search-results-per-page>
|
376 |
58594
|
konstantin
|
<search-sorting *ngIf="sort" [entityType]="entityType" [(sortBy)]="searchUtils.sortBy" (sortByChange)="sortByChanged($event)"></search-sorting>
|
377 |
58130
|
konstantin
|
</div>
|
378 |
58326
|
konstantin
|
<!-- uk-flex uk-flex-middle-->
|
379 |
|
|
<div class="uk-width-auto@m uk-margin-small-bottom">
|
380 |
58351
|
konstantin
|
<!-- !showUnknownFilters && (searchUtils.totalResults > 0 || !loadPaging)-->
|
381 |
|
|
<search-download *ngIf= "( entityType !='community' && entityType != 'funder') && usedBy == 'search'"
|
382 |
|
|
[isDisabled]="disableForms"
|
383 |
58130
|
konstantin
|
[type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults">
|
384 |
|
|
</search-download>
|
385 |
58244
|
argiro.kok
|
|
386 |
58332
|
argiro.kok
|
<!--<span *ngIf="tableViewLink">
|
387 |
58244
|
argiro.kok
|
<a uk-tooltip="title: Table view" routerLinkActive="router-link-active"
|
388 |
|
|
[class]="((disableForms)?'uk-disabled uk-link-muted':'')+' uk-link-text uk-margin-small-left'"
|
389 |
|
|
[routerLink]=tableViewLink >
|
390 |
|
|
<span class="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>
|
391 |
|
|
Table view
|
392 |
|
|
</a>
|
393 |
58332
|
argiro.kok
|
<!– <span uk-tooltip="title: List view" 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>–>
|
394 |
|
|
</span>-->
|
395 |
58130
|
konstantin
|
</div>
|
396 |
53919
|
konstantin
|
</div>
|
397 |
54011
|
konstantin
|
<search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "searchUtils.baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
398 |
50169
|
argiro.kok
|
</div>
|
399 |
|
|
|
400 |
58608
|
konstantin
|
<!-- <search-download *ngIf= "( entityType !='community' && entityType != 'funder') && usedBy == 'search'"-->
|
401 |
|
|
<!-- class="uk-width-1-1@s uk-hidden@m"-->
|
402 |
|
|
<!-- [isDisabled]="disableForms"-->
|
403 |
|
|
<!-- [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults">-->
|
404 |
|
|
<!-- </search-download>-->
|
405 |
50169
|
argiro.kok
|
|
406 |
58130
|
konstantin
|
<div *ngIf="(searchUtils.page <= pagingLimit)" class="uk-margin-large-bottom">
|
407 |
58566
|
argiro.kok
|
<search-result *ngIf="( entityType !='community' && entityType != 'funder') && usedBy == 'search'"
|
408 |
|
|
[results]="results"
|
409 |
50169
|
argiro.kok
|
[status]=searchUtils.status
|
410 |
|
|
[type]="entityType"
|
411 |
58413
|
argiro.kok
|
[showLoading]="true" [properties]=properties [showImpactFactors]="(customFilter &&
|
412 |
|
|
customFilter.queryFieldName == 'communityId' && customFilter.valueId == 'elixir-gr')" >
|
413 |
50169
|
argiro.kok
|
</search-result>
|
414 |
58244
|
argiro.kok
|
<deposit-result *ngIf="usedBy == 'deposit'"
|
415 |
|
|
[results]="results"
|
416 |
|
|
[status]="searchUtils.status"
|
417 |
|
|
[type]="entityType"
|
418 |
|
|
[zenodoInformation]="zenodoInformation"
|
419 |
|
|
[properties]=properties>
|
420 |
|
|
</deposit-result>
|
421 |
58566
|
argiro.kok
|
<community-search-result *ngIf="(entityType == 'community' || entityType == 'funder') &&
|
422 |
|
|
usedBy == 'search'"
|
423 |
|
|
[results]="results"
|
424 |
|
|
[status]="searchUtils.status"
|
425 |
|
|
[type]="entityType"
|
426 |
|
|
[showType]="false"
|
427 |
|
|
[showLoading]="true" [properties]=properties>
|
428 |
|
|
</community-search-result>
|
429 |
50169
|
argiro.kok
|
</div>
|
430 |
50586
|
argiro.kok
|
|
431 |
53919
|
konstantin
|
<div [class]="searchUtils.page > pagingLimit ? 'search-results' : ''" *ngIf="(searchUtils.page >= pagingLimit) && (searchUtils.totalResults > searchUtils.size*pagingLimit)">
|
432 |
50586
|
argiro.kok
|
<p class="uk-alert-warning" uk-alert>For more results please try a new, more specific query</p>
|
433 |
|
|
</div>
|
434 |
|
|
|
435 |
50169
|
argiro.kok
|
<div class="uk-align-center uk-margin-remove-bottom">
|
436 |
58130
|
konstantin
|
<!-- <div *ngIf="(results && searchUtils.totalResults > 0) || (!loadPaging && oldTotalResults > 0 && searchUtils.status == errorCodes.LOADING)"-->
|
437 |
|
|
<!-- class="uk-grid uk-margin-top uk-margin-bottom">-->
|
438 |
|
|
<!-- <search-results-per-page class="uk-width-1-2@m uk-width-1-1" [(size)]="searchUtils.size" (sizeChange)="sizeChanged($event)"></search-results-per-page>-->
|
439 |
|
|
<!-- <search-sorting class="uk-width-1-2@m uk-width-1-1" *ngIf="sort" [(sortBy)]="searchUtils.sortBy" (sortByChange)="sortByChanged($event)"></search-sorting>-->
|
440 |
|
|
<!-- </div>-->
|
441 |
54011
|
konstantin
|
<search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "searchUtils.baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
442 |
50169
|
argiro.kok
|
</div>
|
443 |
|
|
|
444 |
58244
|
argiro.kok
|
<a *ngIf="properties.showLastIndexInformationLink && lastIndex" class="last_index_info uk-button-text"
|
445 |
53475
|
konstantin
|
[href]="properties.lastIndexInformationLink" target="_blank">
|
446 |
|
|
Last index information
|
447 |
|
|
</a>
|
448 |
50169
|
argiro.kok
|
</div>
|
449 |
58045
|
argiro.kok
|
<!-- <div class="uk-visible@m uk-margin-top uk-width-1-5">-->
|
450 |
|
|
<!-- <search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults" ></search-download>-->
|
451 |
|
|
<!-- </div>-->
|
452 |
53379
|
argiro.kok
|
<!-- <helper *ngIf="searchUtils.totalResults > csvLimit" class="uk-margin-top helper-left-right uk-visible@m" position="right"></helper> -->
|
453 |
50169
|
argiro.kok
|
</div>
|
454 |
|
|
|
455 |
56649
|
k.triantaf
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0" [texts]="pageContents['bottom']"></helper>
|
456 |
50169
|
argiro.kok
|
</div>
|
457 |
|
|
</div>
|
458 |
|
|
</div>
|
459 |
|
|
</div>
|
460 |
|
|
</div>
|