1
|
<div id="tm-main" class=" uk-section uk-margin-small-top tm-middle" >
|
2
|
<div uk-grid uk-grid>
|
3
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
4
|
|
5
|
<div class="uk-container uk-margin-top software">
|
6
|
|
7
|
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top" role="alert">{{warningMessage}}</div>
|
8
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top" role="alert">{{errorMessage}}</div>
|
9
|
<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>
|
10
|
|
11
|
<div *ngIf="softwareInfo != null" uk-grid class="uk-grid-large">
|
12
|
<div class="uk-width-3-4@l uk-width-3-4@xl uk-width-3-4@m uk-width-1-1@s">
|
13
|
<showTitle [title]="softwareInfo.title"></showTitle>
|
14
|
<span *ngIf="softwareInfo.types.length > 0"class="uk-label custom-label label-software " title="Type">{{softwareInfo.types.join(", ")}}</span>
|
15
|
<span *ngIf="softwareInfo.languages.length > 0" class="uk-label custom-label label-language " title="Language">{{softwareInfo.languages.join(", ")}}</span>
|
16
|
<span *ngIf="softwareInfo.title && softwareInfo.title.accessMode" [class]="'uk-label custom-label label-'+ softwareInfo.title.accessMode " >{{softwareInfo.title.accessMode}}</span>
|
17
|
<span *ngIf="softwareInfo.underCurationMessage" class="uk-label custom-label label-underCuration " >
|
18
|
<span uk-tooltip="pos:right; delay:10"
|
19
|
title="{{buildCurationTooltip()}}">
|
20
|
<i>Record in preview</i>
|
21
|
<i class="uk-icon-info-circle"></i>
|
22
|
</span></span>
|
23
|
<!--div *ngIf="softwareInfo.underCurationMessage">
|
24
|
<span uk-tooltip="pos:right; delay:10"
|
25
|
title="{{buildCurationTooltip()}}">
|
26
|
<i>Record in preview</i>
|
27
|
<i class="uk-icon-info-circle"></i>
|
28
|
</span>
|
29
|
</div-->
|
30
|
|
31
|
<div class= " uk-margin-top">
|
32
|
<showAuthors [authors]="softwareInfo.authors" searchPage="software"></showAuthors>
|
33
|
<span *ngIf="softwareInfo.date != ''">({{softwareInfo.date}})</span>
|
34
|
</div>
|
35
|
|
36
|
<ul class="uk-list">
|
37
|
<li *ngIf="softwareInfo.publisher"><span class="uk-text-bold">Publisher:</span> {{softwareInfo.publisher}}</li>
|
38
|
|
39
|
<li *ngIf="softwareInfo.embargoEndDate"><span class="uk-text-bold">Embargo end date:</span> {{softwareInfo.embargoEndDate}}</li>
|
40
|
<li *ngIf="softwareInfo.identifiers && softwareInfo.identifiers.size > 0">
|
41
|
<showIdentifiers [identifiers]="softwareInfo.identifiers"></showIdentifiers>
|
42
|
</li>
|
43
|
<li *ngIf="softwareInfo.subjects ||softwareInfo.otherSubjects || softwareInfo.classifiedSubjects">
|
44
|
<showSubjects [subjects]="softwareInfo.subjects"
|
45
|
[otherSubjects]="softwareInfo.otherSubjects"
|
46
|
[classifiedSubjects]="softwareInfo.classifiedSubjects">
|
47
|
</showSubjects>
|
48
|
</li>
|
49
|
</ul>
|
50
|
|
51
|
<div *ngIf="softwareInfo.description" class="uk-margin-bottom uk-text-justify descriptionText">
|
52
|
{{softwareInfo.description}}
|
53
|
</div>
|
54
|
|
55
|
<!-- <div class="uk-clearfix"><div class="uk-button-group uk-float-right uk-margin-top">
|
56
|
<button class="uk-button uk-button-small uk-button-action">
|
57
|
<span class="uk-icon" >
|
58
|
<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>
|
59
|
Link this software to
|
60
|
</button>
|
61
|
<div class="uk-inline">
|
62
|
<button class="uk-button uk-button-small uk-button-action" type="button">
|
63
|
<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>
|
64
|
</button>
|
65
|
<div uk-dropdown="mode: click; boundary: ! .uk-button-group; boundary-align: true;"
|
66
|
class="uk-dropdown uk-dropdown-boundary uk-dropdown-bottom-left" style="top: 40px; left: -236.5px;">
|
67
|
<ul class="uk-nav uk-dropdown-nav uk-padding-small" >
|
68
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[softwareId,'software','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
69
|
Projects</a></li>
|
70
|
<li><a class="uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[softwareId,'software','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
71
|
Communities</a></li>
|
72
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[softwareId,'software','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
73
|
Other research results</a></li>
|
74
|
</ul>
|
75
|
|
76
|
</div>
|
77
|
</div>
|
78
|
</div></div> -->
|
79
|
|
80
|
|
81
|
<ul class="uk-tab uk-visible@m" uk-tab="connect: #tab-content">
|
82
|
<li (click)="activeTab='Related Research Results'"
|
83
|
[class]="activeTab == 'Related Research Results'?'uk-active':''">
|
84
|
<a>
|
85
|
Related Research Results
|
86
|
<span class="uk-badge uk-badge-notification">
|
87
|
{{relatedResearchResultsNum}}
|
88
|
</span>
|
89
|
</a>
|
90
|
</li>
|
91
|
|
92
|
<li (click)="activeTab='Similar Research Results'"
|
93
|
[class]="activeTab == 'Similar Research Results'?'uk-active':''">
|
94
|
<a>
|
95
|
Similar Research Results
|
96
|
<span *ngIf="!softwareInfo.similarResearchResults" class="uk-badge uk-badge-notification">0</span>
|
97
|
<span *ngIf="softwareInfo.similarResearchResults" class="uk-badge uk-badge-notification">
|
98
|
{{softwareInfo.similarResearchResults.length}}
|
99
|
</span>
|
100
|
</a>
|
101
|
</li>
|
102
|
|
103
|
<li (click)="metricsClicked=true; activeTab='Metrics'"
|
104
|
[class]="activeTab == 'Metrics'?'uk-active':''">
|
105
|
<a>
|
106
|
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;">
|
107
|
<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>
|
108
|
</svg></i-->
|
109
|
</a>
|
110
|
</li>
|
111
|
</ul>
|
112
|
|
113
|
<button class="uk-button uk-button-default uk-hidden@m" type="button">
|
114
|
<span uk-navbar-toggle-icon></span> <span class="uk-margin-small-left">{{activeTab}}</span>
|
115
|
</button>
|
116
|
|
117
|
<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">
|
118
|
<li (click)="activeTab='Related Research Results'"
|
119
|
[class]="activeTab == 'Related Research Results'?'uk-active':''">
|
120
|
<a>
|
121
|
Related Research Results
|
122
|
<span class="uk-badge uk-badge-notification">
|
123
|
{{relatedResearchResultsNum}}
|
124
|
</span>
|
125
|
</a>
|
126
|
</li>
|
127
|
|
128
|
<li (click)="activeTab='Similar Research Results'"
|
129
|
[class]="activeTab == 'Similar Research Results'?'uk-active':''">
|
130
|
<a>
|
131
|
Similar Research Results
|
132
|
<span *ngIf="!softwareInfo.similarResearchResults" class="uk-badge uk-badge-notification">0</span>
|
133
|
<span *ngIf="softwareInfo.similarResearchResults" class="uk-badge uk-badge-notification">
|
134
|
{{softwareInfo.similarResearchResults.length}}
|
135
|
</span>
|
136
|
</a>
|
137
|
</li>
|
138
|
|
139
|
<li (click)="metricsClicked=true; activeTab='Metrics'"
|
140
|
[class]="activeTab == 'Metrics'?'uk-active':''">
|
141
|
<a>
|
142
|
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;">
|
143
|
<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>
|
144
|
</svg></i-->
|
145
|
</a>
|
146
|
</li>
|
147
|
</ul>
|
148
|
|
149
|
<!--ul id="tab-content" class="uk-switcher uk-margin custom-tab-content"-->
|
150
|
<div class="uk-margin custom-tab-content">
|
151
|
<div *ngIf="activeTab=='Related Research Results'" class="uk-animation-fade">
|
152
|
<div *ngIf="!softwareInfo.relatedResearchResults" class = "uk-alert uk-alert-primary" >
|
153
|
No related research results available
|
154
|
</div>
|
155
|
<div *ngIf="softwareInfo.relatedResearchResults">
|
156
|
<div *ngFor="let provenanceaction of getKeys(softwareInfo.relatedResearchResults)">
|
157
|
<div class="uk-text-large">{{provenanceaction}}</div>
|
158
|
|
159
|
<tabTable [info]="softwareInfo.relatedResearchResults.get(provenanceaction)"></tabTable>
|
160
|
</div>
|
161
|
</div>
|
162
|
</div>
|
163
|
|
164
|
<div *ngIf="activeTab=='Similar Research Results'" class="uk-animation-fade">
|
165
|
<div *ngIf="!softwareInfo.similarResearchResults" class = "uk-alert uk-alert-primary" >
|
166
|
No similar research results available
|
167
|
</div>
|
168
|
<div *ngIf="softwareInfo.similarResearchResults">
|
169
|
<tabTable [info]="softwareInfo.similarResearchResults"></tabTable>
|
170
|
</div>
|
171
|
</div>
|
172
|
<div *ngIf="activeTab=='Metrics'" class="uk-animation-fade">
|
173
|
<!-- Page Views: {{pageViews}} -->
|
174
|
<metrics [pageViews]="pageViews"
|
175
|
[id]="softwareId" [entityType]="'results'" [entity]="'Software'"
|
176
|
(metricsResults)="metricsResults($event)">
|
177
|
</metrics>
|
178
|
<i-frame *ngIf="metricsClicked && totalViews > 0"
|
179
|
[url]=viewsFrameUrl width="100%" height="250">
|
180
|
</i-frame>
|
181
|
<i-frame *ngIf="metricsClicked && totalDownloads > 0"
|
182
|
[url]=downloadsFrameUrl width="100%" height="250">
|
183
|
</i-frame>
|
184
|
</div>
|
185
|
<!--/ul-->
|
186
|
</div>
|
187
|
</div>
|
188
|
|
189
|
<div class="uk-width-1-4@l uk-width-1-4@xl uk-width-1-4@m uk-width-1-1@s">
|
190
|
<div class="uk-card uk-card-default uk-padding-small">
|
191
|
<div >
|
192
|
Share - Bookmark
|
193
|
<addThis></addThis>
|
194
|
</div>
|
195
|
<altmetrics *ngIf="softwareInfo.identifiers && softwareInfo.identifiers.get('doi')"
|
196
|
id="{{softwareInfo.identifiers.get('doi')[0]}}" type="doi">
|
197
|
</altmetrics >
|
198
|
<ul class="uk-list ">
|
199
|
|
200
|
<li *ngIf="softwareInfo.hostedBy_collectedFrom && softwareInfo.hostedBy_collectedFrom.length > 0">
|
201
|
<availableOn [availableOn]="softwareInfo.hostedBy_collectedFrom"></availableOn>
|
202
|
</li>
|
203
|
<li *ngIf="softwareInfo.fundedByProjects != undefined && softwareInfo.fundedByProjects.length > 0">
|
204
|
<fundedBy [fundedByProjects]="softwareInfo.fundedByProjects"></fundedBy>
|
205
|
</li>
|
206
|
|
207
|
<li *ngIf="softwareInfo.contexts && softwareInfo.contexts.length >0 ">
|
208
|
<dl class="uk-description-list-line" >
|
209
|
<dt class="title">Related to </dt>
|
210
|
<dd class="line" *ngFor="let item of softwareInfo.contexts">
|
211
|
<span *ngIf = "!item['inline']" >
|
212
|
<span>{{item['labelContext']}}</span>
|
213
|
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
|
214
|
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
|
215
|
</span>
|
216
|
<mark *ngIf = "item['inline']" >
|
217
|
<span>{{item['labelContext']}}</span>
|
218
|
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
|
219
|
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
|
220
|
</mark>
|
221
|
</dd>
|
222
|
|
223
|
</dl>
|
224
|
|
225
|
</li>
|
226
|
<li>
|
227
|
<ul uk-accordion class="uk-padding-remove">
|
228
|
<li>
|
229
|
<div class=" uk-accordion-title cite-this-button uk-width-1-1" type="button">
|
230
|
Cite this software
|
231
|
</div>
|
232
|
<div class="uk-accordion-content">
|
233
|
<citeThis [result]="softwareInfo" [id]="softwareId" type="software"></citeThis>
|
234
|
</div>
|
235
|
</li>
|
236
|
</ul>
|
237
|
|
238
|
|
239
|
</li>
|
240
|
<li>
|
241
|
<ul uk-accordion class="uk-padding-remove">
|
242
|
<li>
|
243
|
<button class="uk-button uk-button-primary uk-accordion-title link-to-button uk-width-1-1" type="button">
|
244
|
<span class="uk-icon" >
|
245
|
<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>
|
246
|
<span class="uk-margin-right">Link this software to</span>
|
247
|
</button>
|
248
|
<div class="uk-accordion-content">
|
249
|
<ul class="uk-nav uk-dropdown-nav uk-padding-small" >
|
250
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[softwareId,'software','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
251
|
Projects</a></li>
|
252
|
<li><a class="uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[softwareId,'software','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
253
|
Communities</a></li>
|
254
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[softwareId,'software','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
255
|
Other research results</a></li>
|
256
|
</ul>
|
257
|
</div>
|
258
|
</li>
|
259
|
</ul>
|
260
|
</li>
|
261
|
|
262
|
</ul>
|
263
|
|
264
|
</div>
|
265
|
</div>
|
266
|
</div>
|
267
|
</div>
|
268
|
</div>
|
269
|
</div>
|
270
|
</div>
|