1 |
53925
|
argiro.kok
|
<div id="manage-zenodo-communities" class="uk-padding uk-padding-remove-top">
|
2 |
|
|
<div *ngIf="masterCommunity" class="uk-animation-fade uk-alert uk-alert-primary uk-padding-small uk-margin-large-bottom">
|
3 |
|
|
<div class="uk-text-large uk-margin-bottom" >Master Zenodo community</div>
|
4 |
|
|
<div class="uk-comment-header uk-grid-medium uk-flex-middle" uk-grid>
|
5 |
|
|
|
6 |
|
|
<div class="uk-width-auto">
|
7 |
|
|
<a target="_blank" [href]="masterCommunity.link">
|
8 |
|
|
<img *ngIf="masterCommunity.logoUrl" class="uk-comment-avatar" src="{{masterCommunity.logoUrl}}" width="80" height="80" alt="">
|
9 |
|
|
</a>
|
10 |
|
|
</div>
|
11 |
|
|
<div class="uk-width-expand">
|
12 |
|
|
<h4 class="uk-comment-title uk-margin-remove">
|
13 |
59356
|
k.triantaf
|
<a *ngIf="masterCommunity.link" target="_blank" href="{{masterCommunity.link}}">
|
14 |
53925
|
argiro.kok
|
<span *ngIf="masterCommunity.title">{{masterCommunity.title}}</span>
|
15 |
|
|
<span *ngIf="!masterCommunity.title">[no name available]</span>
|
16 |
59356
|
k.triantaf
|
<span class="custom-external custom-icon space"></span>
|
17 |
53925
|
argiro.kok
|
</a>
|
18 |
|
|
<div *ngIf="!masterCommunity.link">
|
19 |
|
|
<span *ngIf="masterCommunity.title">{{masterCommunity.title}}</span>
|
20 |
|
|
<span *ngIf="!masterCommunity.title">[no name available]</span>
|
21 |
|
|
</div>
|
22 |
|
|
</h4>
|
23 |
|
|
<div *ngIf="masterCommunity.date" class="uk-comment-meta " >
|
24 |
|
|
last update: {{masterCommunity.date | date:'yyyy/MM/dd'}}
|
25 |
|
|
</div>
|
26 |
|
|
|
27 |
|
|
</div>
|
28 |
|
|
</div>
|
29 |
|
|
<div class="uk-comment-body uk-text-meta">
|
30 |
|
|
<p *ngIf="masterCommunity.description">{{masterCommunity.description}}</p>
|
31 |
|
|
</div>
|
32 |
|
|
</div>
|
33 |
53600
|
argiro.kok
|
<form class="uk-text-center uk-animation uk-card uk-card-default uk-padding">
|
34 |
|
|
<div>
|
35 |
53925
|
argiro.kok
|
<input type="text" class="uk-input uk-width-1-2" placeholder="Search zenodo communities" aria-describedby="sizing-addon2" [(ngModel)]="searchUtils.keyword" name="keyword" >
|
36 |
53905
|
argiro.kok
|
<button (click)="goTo(1)" type="submit" class=" uk-button">
|
37 |
53600
|
argiro.kok
|
<span class="uk-icon">
|
38 |
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="search" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"></path></svg>
|
39 |
|
|
</span>Search
|
40 |
|
|
</button>
|
41 |
|
|
</div>
|
42 |
|
|
</form>
|
43 |
53980
|
argiro.kok
|
<div *ngIf="searchUtils.status == errorCodes.DONE ||searchUtils.status == errorCodes.NONE " class="uk-alert uk-alert-primary">
|
44 |
|
|
<span class="uk-margin-small-right uk-icon" uk-icon="warning"></span>
|
45 |
|
|
All the research results belonging to the Zenodo communities specified here will be automatically linked to your community dashboard.
|
46 |
|
|
</div>
|
47 |
53600
|
argiro.kok
|
|
48 |
53925
|
argiro.kok
|
<div *ngIf="searchUtils.totalResults > 0" class="uk-align-center uk-margin-remove-bottom">
|
49 |
53600
|
argiro.kok
|
<div class="searchPaging uk-panel uk-margin-top uk-grid uk-margin-bottom">
|
50 |
|
|
<span class="uk-h6 uk-width-1-1@s uk-width-1-2@m">
|
51 |
53925
|
argiro.kok
|
{{searchUtils.totalResults | number}} zenodo communities, page {{searchUtils.page | number}} of {{(totalPages()) | number}}
|
52 |
53600
|
argiro.kok
|
</span>
|
53 |
|
|
<span class="float-children-right-at-medium margin-small-top-at-small uk-width-1-1@s uk-width-1-2@m">
|
54 |
53925
|
argiro.kok
|
<paging-no-load [currentPage]="searchUtils.page" [totalResults]="searchUtils.totalResults" [size]="10" (pageChange)="goTo($event.value, false)"></paging-no-load>
|
55 |
53600
|
argiro.kok
|
</span>
|
56 |
|
|
</div>
|
57 |
|
|
</div>
|
58 |
|
|
|
59 |
53905
|
argiro.kok
|
<div class="custom-dataTable-content">
|
60 |
|
|
<div class="uk-overflow-container">
|
61 |
|
|
<table datatable class="uk-table uk-table-striped divider-table" [dtOptions]="dtOptions" id="dpTable" [dtTrigger]="dtTrigger" dtInstance="dtInstanceCallback">
|
62 |
|
|
<thead>
|
63 |
|
|
<tr>
|
64 |
|
|
<th class="uk-text-center">Name</th>
|
65 |
|
|
<th class="uk-text-center">Last update on</th>
|
66 |
|
|
<!-- <th class="uk-text-center">Funder</th> -->
|
67 |
|
|
<th class="uk-text-center">Action</th>
|
68 |
|
|
</tr>
|
69 |
|
|
</thead>
|
70 |
|
|
<tbody>
|
71 |
|
|
<tr class="uk-table-middle" *ngFor="let item of selectedCommunities">
|
72 |
|
|
<td class="uk-text-center uk-width-1-4">
|
73 |
59356
|
k.triantaf
|
<a target="_blank" href="{{item.link}}">
|
74 |
53905
|
argiro.kok
|
<span *ngIf="item.title">{{item.title}}</span>
|
75 |
|
|
<span *ngIf="!item.title">[no name available]</span>
|
76 |
59356
|
k.triantaf
|
<span class="custom-external custom-icon space"></span>
|
77 |
53905
|
argiro.kok
|
</a>
|
78 |
53600
|
argiro.kok
|
</td>
|
79 |
53905
|
argiro.kok
|
<td class="uk-text-center uk-width-1-4">
|
80 |
|
|
<div class=" ">
|
81 |
|
|
{{item.date | date:'yyyy/MM/dd'}}
|
82 |
|
|
</div>
|
83 |
|
|
</td>
|
84 |
|
|
<!-- <td class="uk-text-center uk-width-1-4">
|
85 |
|
|
<span *ngIf="result.funder">{{result.funder}}</span>
|
86 |
|
|
<span *ngIf="!result.funder">-</span>
|
87 |
|
|
</td> -->
|
88 |
53600
|
argiro.kok
|
|
89 |
53905
|
argiro.kok
|
<td class="uk-text-center uk-width-1-4">
|
90 |
55411
|
konstantin
|
<!-- red_background_color red_color-->
|
91 |
|
|
<a (click)="removeCommunity(item)" class="uk-icon-button remove uk-button-danger" uk-icon="close" title="Undo"></a>
|
92 |
53905
|
argiro.kok
|
|
93 |
|
|
</td>
|
94 |
|
|
</tr>
|
95 |
|
|
</tbody>
|
96 |
|
|
</table>
|
97 |
53600
|
argiro.kok
|
</div>
|
98 |
|
|
</div>
|
99 |
|
|
|
100 |
|
|
</div>
|
101 |
53905
|
argiro.kok
|
<modal-alert #AlertModalDeleteCommunity (alertOutput)="confirmedDeleteCommunity($event)"></modal-alert>
|