251 lines
18 KiB
HTML
251 lines
18 KiB
HTML
<div id="tm-main" class=" uk-section uk-margin-small-top tm-middle">
|
|
<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">
|
|
<div class="uk-container uk-margin-top orp">
|
|
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top" role="alert">{{warningMessage}}</div>
|
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top" role="alert">{{errorMessage}}</div>
|
|
<div [style.display]="showLoading ? 'inline' : 'none'" class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert"><span class="loading-gif uk-align-center" ></span></div>
|
|
|
|
<div *ngIf="orpInfo != null" uk-grid class="uk-grid-large">
|
|
<div class="uk-width-expand@m uk-width-1-1@s">
|
|
<schema2jsonld *ngIf="orpInfo.record" [data]=orpInfo.record [URL]="properties.baseLink+'/search/orp?orpId='+orpId"></schema2jsonld>
|
|
<showTitle [titleName]="orpInfo.title"></showTitle>
|
|
<span *ngIf="orpInfo.types && orpInfo.types.length > 0"class="uk-label custom-label label-orp " title="Type">{{orpInfo.types.join(", ")}}</span>
|
|
<span *ngIf="orpInfo.languages && orpInfo.languages.length > 0" class="uk-label custom-label label-language " title="Language">{{orpInfo.languages.join(", ")}}</span>
|
|
<span *ngIf="orpInfo.countries && orpInfo.countries.length > 0" class="uk-label custom-label label-country " title="Country">{{orpInfo.countries.join(", ")}}</span>
|
|
<span *ngIf="orpInfo.accessMode" [class]="'uk-label custom-label label-'+ orpInfo.accessMode " title="Access Mode">{{orpInfo.accessMode}}</span>
|
|
<span *ngIf="orpInfo.underCurationMessage" class="uk-label custom-label label-underCuration">
|
|
<span uk-tooltip="pos:right; delay:10"
|
|
title="{{buildCurationTooltip()}}">
|
|
<i>Record in preview</i>
|
|
<i class="uk-icon-info-circle"></i>
|
|
</span>
|
|
</span>
|
|
|
|
<div class= " uk-margin-top">
|
|
<showAuthors [authors]="orpInfo.authors" searchPage="orps"></showAuthors>
|
|
<span *ngIf="orpInfo.date != ''">({{orpInfo.date}})</span>
|
|
</div>
|
|
|
|
<ul class="uk-list">
|
|
<showPublisher [publisher]="orpInfo.publisher"
|
|
[journal]="orpInfo.journal"></showPublisher>
|
|
<li *ngIf="orpInfo.embargoEndDate"><span class="uk-text-bold">Embargo end date:</span> {{orpInfo.embargoEndDate}}</li>
|
|
<li *ngIf="orpInfo.identifiers && orpInfo.identifiers.size > 0">
|
|
<showIdentifiers [identifiers]="orpInfo.identifiers"></showIdentifiers>
|
|
</li>
|
|
<li *ngIf="orpInfo.subjects ||orpInfo.otherSubjects || orpInfo.classifiedSubjects">
|
|
<showSubjects [subjects]="orpInfo.subjects"
|
|
[otherSubjects]="orpInfo.otherSubjects"
|
|
[classifiedSubjects]="orpInfo.classifiedSubjects">
|
|
</showSubjects>
|
|
</li>
|
|
</ul>
|
|
<hr *ngIf="orpInfo.description">
|
|
<div *ngIf="orpInfo.description" class="uk-margin-bottom uk-text-justify descriptionText">
|
|
<span>{{orpInfo.description.substring(0, showNumDescription)}}</span
|
|
><span *ngIf="showNumDescription > thresholdDescription">
|
|
<a (click)="showNumDescription = thresholdDescription; scroll()">
|
|
View less
|
|
</a>
|
|
</span
|
|
><span *ngIf="showNumDescription == thresholdDescription && orpInfo.description.length > thresholdDescription">...</span
|
|
><span *ngIf="showNumDescription == thresholdDescription && orpInfo.description.length > thresholdDescription" class="uk-text-right">
|
|
<a (click)="showNumDescription = orpInfo.description.length;">
|
|
View more
|
|
</a>
|
|
</span>
|
|
</div>
|
|
|
|
<ul class="custom-accordion" uk-accordion>
|
|
<li *ngIf="orpInfo.references" (click)="activeTab='References'">
|
|
<a class="uk-accordion-title" href="#">
|
|
References ({{orpInfo.references.length | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<div *ngIf="orpInfo.references.length > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-h6">{{orpInfo.references.length | number}} references, page {{referencesPage | number}} of {{totalPages(orpInfo.references.length) | number}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="referencesPage" [totalResults]="orpInfo.references.length" [size]="pageSize" (pageChange)="updateReferencesPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<div *ngFor="let item of orpInfo.references.slice((referencesPage-1)*pageSize, referencesPage*pageSize)">
|
|
<p *ngIf=" item && item['url']"
|
|
class="custom-external custom-icon">
|
|
<a href="{{item['url']}}" target="_blank">
|
|
{{item['name']}}
|
|
</a>
|
|
</p>
|
|
<p *ngIf="!item['url']" class="pseudo-external custom-icon">
|
|
{{item['name']}}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li *ngIf="orpInfo.relatedResearchResults" (click)="activeTab='Related Research Results'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Related Research Results
|
|
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
({{relatedResearchResultsNum | number}})
|
|
<!-- </span> -->
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<div *ngFor="let provenanceaction of getKeys(orpInfo.relatedResearchResults)">
|
|
<div class="uk-text-large">{{provenanceaction}}</div>
|
|
<tabTable [percentageName]="trust" [info]="orpInfo.relatedResearchResults.get(provenanceaction)" [(properties)]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li *ngIf="orpInfo.similarResearchResults" (click)="activeTab='Similar Research Results'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Similar Research Results
|
|
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
({{orpInfo.similarResearchResults.length | number}})
|
|
<!-- </span> -->
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<tabTable [percentageName]="similarity" [info]="orpInfo.similarResearchResults" [(properties)]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li (click)="metricsClicked=true; activeTab='Metrics'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Metrics
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<metrics [pageViews]="pageViews"
|
|
[id]="orpId" [entityType]="'results'" [entity]="'Other Research Product'"
|
|
(metricsResults)="metricsResults($event)" [(properties)] = properties>
|
|
</metrics>
|
|
<i-frame *ngIf="metricsClicked && totalViews > 0"
|
|
[url]=viewsFrameUrl width="100%" height="250">
|
|
</i-frame>
|
|
<i-frame *ngIf="metricsClicked && totalDownloads > 0"
|
|
[url]=downloadsFrameUrl width="100%" height="250">
|
|
</i-frame>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="uk-width-large@m uk-width-1-1@s">
|
|
<div class=" uk-padding-small">
|
|
<div>
|
|
<div class="sideInfoTitle uk-margin-small-bottom">Share - Bookmark</div>
|
|
<addThis></addThis>
|
|
</div>
|
|
<altmetrics *ngIf="orpInfo.identifiers && orpInfo.identifiers.get('doi')"
|
|
id="{{orpInfo.identifiers.get('doi')[0]}}" type="doi">
|
|
</altmetrics>
|
|
<ul class="uk-list">
|
|
<li *ngIf="orpInfo.hostedBy_collectedFrom && orpInfo.hostedBy_collectedFrom.length > 0">
|
|
<availableOn [availableOn]="orpInfo.hostedBy_collectedFrom"></availableOn>
|
|
</li>
|
|
<li *ngIf="orpInfo.fundedByProjects != undefined && orpInfo.fundedByProjects.length > 0">
|
|
<fundedBy [fundedByProjects]="orpInfo.fundedByProjects"></fundedBy>
|
|
</li>
|
|
<li *ngIf="orpInfo.contexts && orpInfo.contexts.length >0 ">
|
|
<dl class="uk-description-list-line" >
|
|
<dt class="sideInfoTitle">Related to </dt>
|
|
<dd class="line" *ngFor="let item of orpInfo.contexts">
|
|
<span *ngIf = "!item['inline']" >
|
|
<span>{{item['labelContext']}}</span>
|
|
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
|
|
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
|
|
</span>
|
|
<mark *ngIf = "item['inline']" >
|
|
<span>{{item['labelContext']}}</span>
|
|
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
|
|
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
|
|
</mark>
|
|
</dd>
|
|
</dl>
|
|
</li>
|
|
<li>
|
|
|
|
<div class="sideInfoTitle cite-this-button uk-width-1-1" type="button">
|
|
Cite this research product
|
|
</div>
|
|
<div class="">
|
|
<citeThis [result]="orpInfo" [id]="orpId" type="other research product"></citeThis>
|
|
</div>
|
|
|
|
</li>
|
|
</ul>
|
|
<button class=" uk-button portal-button uk-width-1-1 ">
|
|
<span class="uk-icon">
|
|
<svg icon="link" ratio="1" xmlns="http://www.w3.org/2000/svg" width="25" viewBox="0 0 20 20" height="25"><path d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375" fill="none" stroke="#000" stroke-width="1.1"></path><path d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375" fill="none" stroke="#000" stroke-width="1.1"></path><path d="M7.925,11.875 L11.925,7.975" fill="none" stroke="#000" stroke-width="1.1"></path></svg>
|
|
</span> Link this product to...
|
|
</button>
|
|
|
|
<div uk-dropdown="pos: bottom-left; mode:click" style="background: transparent !important;box-shadow: none; max-width: 70px !important; min-width: 70px !important;">
|
|
<ul class="uk-iconnav uk-iconnav-vertical">
|
|
<li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size '>Projects</div>">
|
|
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="album" ratio="1"><rect x="5" y="2" width="10" height="1"></rect><rect x="3" y="4" width="14" height="1"></rect><rect fill="none" stroke="#000" x="1.5" y="6.5" width="17" height="11"></rect></svg></span>
|
|
</a>
|
|
</li>
|
|
<li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size '>Communities</div>">
|
|
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="users" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"></path></svg></span>
|
|
</a>
|
|
</li>
|
|
<li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size uk-margin-small'>Other research results</div>">
|
|
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" ratio="1"><rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect><polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline></svg></span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Claiming FAB -->
|
|
<!--div class="uk-inline">
|
|
<div class=" uk-float-right " style="z-index: 200; bottom: 55px; position: fixed; right: 45%;">
|
|
<button class=" uk-button uk-button-danger ">
|
|
<span class="uk-icon">
|
|
<svg icon="link" ratio="1" xmlns="http://www.w3.org/2000/svg" width="25" viewBox="0 0 20 20" height="25"><path d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375" fill="none" stroke="#000" stroke-width="1.1"></path><path d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375" fill="none" stroke="#000" stroke-width="1.1"></path><path d="M7.925,11.875 L11.925,7.975" fill="none" stroke="#000" stroke-width="1.1"></path></svg>
|
|
</span> Link this product to
|
|
</button>
|
|
|
|
<div uk-dropdown="pos: top-right; mode:click" style="background: transparent !important;box-shadow: none; max-width: 70px !important; min-width: 70px !important;">
|
|
<ul class="uk-iconnav uk-iconnav-vertical">
|
|
<li uk-tooltip="pos:left;" title="<div class='tooltip-custom-font-size uk-light '>Projects</div>">
|
|
<a class=" uk-icon-button uk-button-primary shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="album" ratio="1"><rect x="5" y="2" width="10" height="1"></rect><rect x="3" y="4" width="14" height="1"></rect><rect fill="none" stroke="#000" x="1.5" y="6.5" width="17" height="11"></rect></svg></span>
|
|
</a>
|
|
</li>
|
|
<li uk-tooltip="pos:left;" title="<div class='tooltip-custom-font-size uk-light '>Communities</div>">
|
|
<a class=" uk-icon-button uk-button-primary shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="users" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"></path></svg></span>
|
|
</a>
|
|
</li>
|
|
<li uk-tooltip="pos:left;" title="<div class='tooltip-custom-font-size uk-light uk-margin-small'>Other research results</div>">
|
|
<a class=" uk-icon-button uk-button-primary shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" ratio="1"><rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect><polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline></svg></span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</div-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|