293 lines
20 KiB
HTML
293 lines
20 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 dataset">
|
|
|
|
<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"><img src="./assets/loading.gif" class="uk-align-center" alt="Loading"></div>
|
|
|
|
<div *ngIf="datasetInfo != null" uk-grid class="uk-grid-large">
|
|
<div class="uk-width-3-4@l uk-width-3-4@xl uk-width-3-4@m uk-width-1-1@s">
|
|
<showTitle [title]="datasetInfo.title"></showTitle>
|
|
<span *ngIf="datasetInfo.types.length > 0"class="uk-label custom-label label-dataset " title="Type">{{datasetInfo.types.join(", ")}}</span>
|
|
<span *ngIf="datasetInfo.languages && datasetInfo.languages.length > 0" class="uk-label custom-label label-language " title="Language">{{datasetInfo.languages.join(", ")}}</span>
|
|
|
|
<span *ngIf="datasetInfo.title && datasetInfo.title.accessMode" [class]="'uk-label custom-label label-'+ datasetInfo.title.accessMode " title="Access Mode">{{datasetInfo.title.accessMode}}</span>
|
|
<span *ngIf="datasetInfo.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 *ngIf="datasetInfo.underCurationMessage">
|
|
<span uk-tooltip="pos:right; delay:10"
|
|
title="{{buildCurationTooltip()}}">
|
|
<i>Record in preview</i>
|
|
<i class="uk-icon-info-circle"></i>
|
|
</span>
|
|
</div-->
|
|
|
|
<div class= " uk-margin-top">
|
|
<showAuthors [authors]="datasetInfo.authors" searchPage="datasets"></showAuthors>
|
|
<span *ngIf="datasetInfo.date != ''">({{datasetInfo.date}})</span>
|
|
</div>
|
|
|
|
<ul class="uk-list">
|
|
<li *ngIf="datasetInfo.publisher"><span class="uk-text-bold">Publisher:</span> {{datasetInfo.publisher}}</li>
|
|
|
|
<li *ngIf="datasetInfo.embargoEndDate"><span class="uk-text-bold">Embargo end date:</span> {{datasetInfo.embargoEndDate}}</li>
|
|
<li *ngIf="datasetInfo.identifiers && datasetInfo.identifiers.size > 0">
|
|
<showIdentifiers [identifiers]="datasetInfo.identifiers"></showIdentifiers>
|
|
</li>
|
|
<li *ngIf="datasetInfo.subjects ||datasetInfo.otherSubjects || datasetInfo.classifiedSubjects">
|
|
<showSubjects [subjects]="datasetInfo.subjects"
|
|
[otherSubjects]="datasetInfo.otherSubjects"
|
|
[classifiedSubjects]="datasetInfo.classifiedSubjects">
|
|
</showSubjects>
|
|
</li>
|
|
</ul>
|
|
|
|
<div *ngIf="datasetInfo.description" class="uk-margin-bottom uk-text-justify descriptionText">
|
|
{{datasetInfo.description}}
|
|
</div>
|
|
|
|
<!-- <div class="uk-clearfix"><div class="uk-float-right uk-margin-top">
|
|
<div class="uk-inline">
|
|
<button class="uk-button uk-button-small uk-button-action" type="button">
|
|
<span class="uk-icon" ><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" 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"></path><path fill="none" stroke="#000" stroke-width="1.1" 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"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
|
|
Link this research data to
|
|
<span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="triangle-down" ratio="1"><polygon points="5 7 15 7 10 12"></polygon></svg></span>
|
|
</button>
|
|
<div uk-dropdown="mode: click; boundary: ! .uk-button-group; boundary-align: true;"
|
|
class="uk-dropdown uk-dropdown-boundary uk-dropdown-bottom-left" style="top: 40px; left: -236.5px;">
|
|
<ul class="uk-nav uk-dropdown-nav uk-padding-small" >
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Projects</a></li>
|
|
<li><a class="uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Communities</a></li>
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Other research results</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
</div></div> -->
|
|
|
|
|
|
<ul class="uk-tab uk-visible@m" uk-tab="connect: #tab-content">
|
|
<li (click)="activeTab='Related Research Results'"
|
|
[class]="activeTab == 'Related Research Results'?'uk-active':''">
|
|
<a>
|
|
Related Research Results
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{relatedResearchResultsNum}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
|
|
<li (click)="activeTab='Similar Research Results'"
|
|
[class]="activeTab == 'Similar Research Results'?'uk-active':''">
|
|
<a>
|
|
Similar Research Results
|
|
<span *ngIf="!datasetInfo.similarResearchResults" class="uk-badge uk-badge-notification">0</span>
|
|
<span *ngIf="datasetInfo.similarResearchResults" class="uk-badge uk-badge-notification">
|
|
{{datasetInfo.similarResearchResults.length}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
|
|
<li (click)="metricsClicked=true; activeTab='Metrics'"
|
|
[class]="activeTab == 'Metrics'?'uk-active':''">
|
|
<a>
|
|
Metrics <!--i class="icon-line-chart"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 36 36" style="fill:currentColor;">
|
|
<path d="M4.415 31.713h31.704v4.529h-36.233v-36.233h4.529zM10.077 29.447c-1.877 0-3.396-1.521-3.396-3.396s1.521-3.396 3.396-3.396c0.101 0 0.199 0.006 0.297 0.014l3.652-6.086c-0.348-0.534-0.551-1.171-0.551-1.855 0-1.877 1.521-3.396 3.396-3.396s3.396 1.521 3.396 3.396c0 0.685-0.203 1.321-0.551 1.855l3.652 6.086c0.098-0.009 0.196-0.014 0.297-0.014 0.076 0 0.151 0.004 0.225 0.009l6.028-10.549c-0.373-0.546-0.592-1.204-0.592-1.916 0-1.877 1.521-3.396 3.396-3.396s3.396 1.521 3.396 3.396c0 1.877-1.521 3.396-3.396 3.396-0.076 0-0.151-0.004-0.225-0.009l-6.028 10.549c0.373 0.546 0.592 1.204 0.592 1.916 0 1.877-1.521 3.396-3.396 3.396s-3.396-1.521-3.396-3.396c0-0.684 0.203-1.321 0.551-1.855l-3.652-6.086c-0.098 0.009-0.196 0.014-0.297 0.014s-0.199-0.006-0.297-0.014l-3.652 6.086c0.348 0.534 0.551 1.171 0.551 1.855 0 1.877-1.521 3.396-3.396 3.396z"></path>
|
|
</svg></i-->
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<button class="uk-button uk-button-default uk-hidden@m" type="button">
|
|
<span uk-navbar-toggle-icon></span> <span class="uk-margin-small-left">{{activeTab}}</span>
|
|
</button>
|
|
|
|
<ul id="toggle-small-tabs" class="uk-subnav uk-subnav-pill uk-dropdown uk-hidden@m" uk-switcher="connect: #tab-content" uk-dropdown="mode: click" uk-toggle="target: #toggle-small-tabs">
|
|
<li (click)="activeTab='Related Research Results'"
|
|
[class]="activeTab == 'Related Research Results'?'uk-active':''">
|
|
<a>
|
|
Related Research Results
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{relatedResearchResultsNum}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
|
|
<li (click)="activeTab='Similar Research Results'"
|
|
[class]="activeTab == 'Similar Research Results'?'uk-active':''">
|
|
<a>
|
|
Similar Research Results
|
|
<span *ngIf="!datasetInfo.similarResearchResults" class="uk-badge uk-badge-notification">0</span>
|
|
<span *ngIf="datasetInfo.similarResearchResults" class="uk-badge uk-badge-notification">
|
|
{{datasetInfo.similarResearchResults.length}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
|
|
<li (click)="metricsClicked=true; activeTab='Metrics'"
|
|
[class]="activeTab == 'Metrics'?'uk-active':''">
|
|
<a>
|
|
Metrics<!--i class="icon-line-chart"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 36 36" style="fill:currentColor;">
|
|
<path d="M4.415 31.713h31.704v4.529h-36.233v-36.233h4.529zM10.077 29.447c-1.877 0-3.396-1.521-3.396-3.396s1.521-3.396 3.396-3.396c0.101 0 0.199 0.006 0.297 0.014l3.652-6.086c-0.348-0.534-0.551-1.171-0.551-1.855 0-1.877 1.521-3.396 3.396-3.396s3.396 1.521 3.396 3.396c0 0.685-0.203 1.321-0.551 1.855l3.652 6.086c0.098-0.009 0.196-0.014 0.297-0.014 0.076 0 0.151 0.004 0.225 0.009l6.028-10.549c-0.373-0.546-0.592-1.204-0.592-1.916 0-1.877 1.521-3.396 3.396-3.396s3.396 1.521 3.396 3.396c0 1.877-1.521 3.396-3.396 3.396-0.076 0-0.151-0.004-0.225-0.009l-6.028 10.549c0.373 0.546 0.592 1.204 0.592 1.916 0 1.877-1.521 3.396-3.396 3.396s-3.396-1.521-3.396-3.396c0-0.684 0.203-1.321 0.551-1.855l-3.652-6.086c-0.098 0.009-0.196 0.014-0.297 0.014s-0.199-0.006-0.297-0.014l-3.652 6.086c0.348 0.534 0.551 1.171 0.551 1.855 0 1.877-1.521 3.396-3.396 3.396z"></path>
|
|
</svg></i-->
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<!--ul id="tab-content" class="uk-switcher uk-margin custom-tab-content"-->
|
|
<div class="uk-margin custom-tab-content">
|
|
<div *ngIf="activeTab=='Related Research Results'" class="uk-animation-fade">
|
|
<div *ngIf="!datasetInfo.relatedResearchResults" class = "uk-alert uk-alert-primary" >
|
|
No related research results available
|
|
</div>
|
|
<div *ngIf="datasetInfo.relatedResearchResults && datasetInfo.relatedResearchResults.size > 0">
|
|
|
|
<div *ngFor="let provenanceaction of getKeys(datasetInfo.relatedResearchResults)">
|
|
<div class="uk-text-large">{{provenanceaction}}</div>
|
|
|
|
<tabTable [info]="datasetInfo.relatedResearchResults.get(provenanceaction)" [(properties)]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div *ngIf="activeTab=='Similar Research Results'" class="uk-animation-fade">
|
|
<div *ngIf="!datasetInfo.similarResearchResults" class = "uk-alert uk-alert-primary" >
|
|
No similar research results available
|
|
</div>
|
|
<div *ngIf="datasetInfo.similarResearchResults">
|
|
<tabTable [info]="datasetInfo.similarResearchResults" [(properties)]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="activeTab=='Metrics'" class="uk-animation-fade">
|
|
<!-- Page Views: {{pageViews}} -->
|
|
<metrics [pageViews]="pageViews"
|
|
[id]="datasetId" [entityType]="'results'" [entity]="'Research Data'"
|
|
(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>
|
|
<!--/ul-->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="uk-width-1-4@l uk-width-1-4@xl uk-width-1-4@m uk-width-1-1@s">
|
|
<div class="uk-card uk-card-default uk-padding-small">
|
|
<div >
|
|
Share - Bookmark
|
|
<addThis></addThis>
|
|
</div>
|
|
<altmetrics *ngIf="datasetInfo.identifiers && datasetInfo.identifiers.get('doi')"
|
|
id="{{datasetInfo.identifiers.get('doi')[0]}}" type="doi">
|
|
</altmetrics >
|
|
<ul class="uk-list ">
|
|
|
|
<li *ngIf="datasetInfo.hostedBy_collectedFrom && datasetInfo.hostedBy_collectedFrom.length > 0">
|
|
<availableOn [availableOn]="datasetInfo.hostedBy_collectedFrom"></availableOn>
|
|
</li>
|
|
<li *ngIf="datasetInfo.fundedByProjects != undefined && datasetInfo.fundedByProjects.length > 0">
|
|
<fundedBy [fundedByProjects]="datasetInfo.fundedByProjects"></fundedBy>
|
|
</li>
|
|
|
|
<li *ngIf="datasetInfo.contexts && datasetInfo.contexts.length >0 ">
|
|
<dl class="uk-description-list-line" >
|
|
<dt class="title">Related to </dt>
|
|
<dd class="line" *ngFor="let item of datasetInfo.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>
|
|
<ul uk-accordion class="uk-padding-remove">
|
|
<li>
|
|
<div class=" uk-accordion-title cite-this-button uk-width-1-1" type="button">
|
|
Cite this reasearch data
|
|
</div>
|
|
<div class="uk-accordion-content">
|
|
<citeThis [result]="datasetInfo" [id]="datasetId" type="research data"></citeThis>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<ul uk-accordion class="uk-padding-remove">
|
|
<li>
|
|
<button class="uk-button uk-button-primary uk-accordion-title link-to-button uk-width-1-1" type="button">
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" 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"></path><path fill="none" stroke="#000" stroke-width="1.1" 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"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
|
|
<span>Link this research data to</span>
|
|
</button>
|
|
<div class="uk-accordion-content">
|
|
<ul class="uk-nav uk-dropdown-nav uk-padding-small" >
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Projects</a></li>
|
|
<li><a class="uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Communities</a></li>
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Other research results</a></li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
<!--div class="uk-card uk-card-default uk-padding-small uk-card-body">
|
|
<div class="uk-card-title">
|
|
<span class="" uk-tooltip="pos:right; delay:5"
|
|
title='<div id="linkinginfo" class= "uk-margin uk-padding-small">
|
|
<p>Do you think that information is missing about a project, a community or other research results related to this dataset?</p>
|
|
<p>You are able to enhance it! Please follow the links and create the missing relations.</p>
|
|
</div>'>
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" 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"></path><path fill="none" stroke="#000" stroke-width="1.1" 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"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
|
|
Link this dataset to</div>
|
|
<div>
|
|
|
|
<div class="uk-clearfix">
|
|
|
|
<div><a class="uk-button-text uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Projects</a></div>
|
|
<div><a class=" uk-button-text uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Communities</a></div>
|
|
<div><a class=" uk-button-text uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Other research results</a></div>
|
|
</div>
|
|
</div>
|
|
</div-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|