2018-10-01 17:02:14 +02:00
|
|
|
<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">
|
|
|
|
<div style="box-sizing: border-box; " [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 advancedSearchFormBackground '+searchFormClass">
|
2018-10-04 20:33:16 +02:00
|
|
|
<div class="uk-position-cover" style="/*background-color: rgba(255, 255, 255, 0.37);*/"></div>
|
2018-10-01 17:02:14 +02:00
|
|
|
<div class="uk-width-1-1">
|
|
|
|
<div class="uk-position-relative">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="uk-container uk-margin-large-top">
|
|
|
|
<advanced-search-form
|
|
|
|
[entityType] = "entityType"
|
|
|
|
[(fieldIds)]="fieldIds"
|
|
|
|
[(fieldIdsMap)]="fieldIdsMap"
|
|
|
|
[(selectedFields)]="selectedFields"
|
|
|
|
(queryChange)="queryChanged($event)"
|
|
|
|
[isDisabled]="disableForms"
|
|
|
|
[simpleSearchLink]=simpleSearchLink
|
|
|
|
[pageTitle]=pageTitle
|
|
|
|
>
|
|
|
|
</advanced-search-form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-11-14 11:38:53 +01:00
|
|
|
<schema2jsonld *ngIf="url" [URL]="url" type="search" [name]=pageTitle [searchAction]=false></schema2jsonld>
|
2018-10-01 17:02:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="tm-main" class=" tm-middle">
|
2017-12-19 13:53:46 +01:00
|
|
|
<div uk-grid uk-grid>
|
|
|
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
2018-10-01 17:02:14 +02:00
|
|
|
<div class="uk-container ">
|
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
<div>
|
2018-10-01 17:02:14 +02:00
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
<div class="uk-width-1-1">
|
|
|
|
<helper position="top"></helper>
|
|
|
|
</div>
|
2018-10-01 17:02:14 +02:00
|
|
|
<div class="uk-width-1-1 uk-grid helper-grid uk-padding-large uk-padding-remove-top" >
|
2018-10-03 16:12:42 +02:00
|
|
|
<helper class="uk-margin-top helper-left-right uk-visible@m" position="left"></helper>
|
2017-12-19 13:53:46 +01:00
|
|
|
<div class="uk-width-expand@m uk-with-1-1@s">
|
2018-02-05 14:14:59 +01:00
|
|
|
<div *ngIf="openaireLink"> <a class="uk-margin-top uk-button uk-button-text" [href]=openaireLink target="_blank" >Results in OpenAIRE</a></div>
|
2017-12-19 13:53:46 +01:00
|
|
|
<div class="uk-align-center uk-margin-remove-bottom">
|
2018-12-03 13:32:33 +01:00
|
|
|
<div *ngIf="(results && searchUtils.totalResults > 0) || (!loadPaging && oldTotalResults > 0 && searchUtils.status == errorCodes.LOADING)"
|
|
|
|
class="uk-grid uk-margin-top uk-margin-bottom">
|
2018-11-21 16:28:38 +01:00
|
|
|
<search-results-per-page class="uk-width-1-2@m uk-width-1-1" [(size)]="searchUtils.size" (sizeChange)="sizeChanged($event)"></search-results-per-page>
|
2018-11-23 13:32:28 +01:00
|
|
|
<search-sorting class="uk-width-1-2@m uk-width-1-1" *ngIf="sort" [(sortBy)]="searchUtils.sortBy" (sortByChange)="sortByChanged($event)"></search-sorting>
|
2018-11-21 16:28:38 +01:00
|
|
|
</div>
|
2018-11-28 11:34:30 +01:00
|
|
|
<search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "searchUtils.baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
|
|
|
|
2018-09-24 11:12:51 +02:00
|
|
|
<search-download class="uk-width-1-1@s uk-hidden@m" [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults" ></search-download>
|
2017-12-19 13:53:46 +01:00
|
|
|
|
2018-12-03 13:32:33 +01:00
|
|
|
<div *ngIf="(searchUtils.page <= pagingLimit)" class="">
|
2017-12-19 13:53:46 +01:00
|
|
|
<search-result [results]="results"
|
|
|
|
[status]=searchUtils.status
|
|
|
|
[type]="entityType"
|
2018-02-05 14:14:59 +01:00
|
|
|
[showLoading]="true" [(properties)]=properties>
|
2017-12-19 13:53:46 +01:00
|
|
|
</search-result>
|
|
|
|
</div>
|
2018-02-05 14:14:59 +01:00
|
|
|
|
2018-11-21 16:28:38 +01:00
|
|
|
<div [class]="searchUtils.page > pagingLimit ? 'search-results' : ''" *ngIf="(searchUtils.page >= pagingLimit) && (searchUtils.totalResults > searchUtils.size*pagingLimit)">
|
2018-02-05 14:14:59 +01:00
|
|
|
<p class="uk-alert-warning" uk-alert>For more results please try a new, more specific query</p>
|
|
|
|
</div>
|
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
<div class="uk-align-center uk-margin-remove-bottom">
|
2018-12-03 13:32:33 +01:00
|
|
|
<div *ngIf="(results && searchUtils.totalResults > 0) || (!loadPaging && oldTotalResults > 0 && searchUtils.status == errorCodes.LOADING)"
|
|
|
|
class="uk-grid uk-margin-top uk-margin-bottom">
|
2018-11-21 16:28:38 +01:00
|
|
|
<search-results-per-page class="uk-width-1-2@m uk-width-1-1" [(size)]="searchUtils.size" (sizeChange)="sizeChanged($event)"></search-results-per-page>
|
2018-11-23 13:32:28 +01:00
|
|
|
<search-sorting class="uk-width-1-2@m uk-width-1-1" *ngIf="sort" [(sortBy)]="searchUtils.sortBy" (sortByChange)="sortByChanged($event)"></search-sorting>
|
2018-11-21 16:28:38 +01:00
|
|
|
</div>
|
2018-11-28 11:34:30 +01:00
|
|
|
<search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "searchUtils.baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
|
|
|
|
2018-10-16 13:21:56 +02:00
|
|
|
<a *ngIf="properties.showLastIndexInformationLink" class="last_index_info uk-button-text"
|
|
|
|
[href]="properties.lastIndexInformationLink" target="_blank">
|
|
|
|
Last index information
|
|
|
|
</a>
|
2018-11-14 11:38:53 +01:00
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
<helper class="uk-hidden@m" position="left" styleName="uk-width-1-1@s"></helper>
|
|
|
|
<helper class="uk-hidden@m" position="right" styleName="uk-width-1-1@s"></helper>
|
|
|
|
</div>
|
2018-10-03 16:12:42 +02:00
|
|
|
<div class="uk-visible@m uk-margin-top helper-left-right">
|
2018-03-29 10:23:36 +02:00
|
|
|
<helper position="right" before="true"></helper>
|
2017-12-19 13:53:46 +01:00
|
|
|
<search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults" ></search-download>
|
2018-03-29 10:23:36 +02:00
|
|
|
<helper position="right" before="false"></helper>
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
2018-10-03 16:12:42 +02:00
|
|
|
<!-- <helper *ngIf="searchUtils.totalResults > csvLimit" class="uk-margin-top helper-left-right uk-visible@m" position="right"></helper> -->
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="uk-width-1-1">
|
|
|
|
<helper position="bottom"></helper>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--modal-loading [message]= "'Loading results...'"></modal-loading-->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|