1 |
60565
|
argiro.kok
|
<div page-content>
|
2 |
|
|
<div header>
|
3 |
|
|
<community-info tab="zenodo-communities"></community-info>
|
4 |
|
|
<div class="uk-width-1-1 uk-flex uk-flex-right@m uk-flex-center uk-flex-wrap uk-flex-middle uk-grid" uk-grid>
|
5 |
60686
|
konstantin
|
<div class="uk-flex-last@m">
|
6 |
60565
|
argiro.kok
|
<a (click)="addNew()"
|
7 |
60638
|
argiro.kok
|
uk-tooltip="title:<div class='uk-padding-small'><div class='uk-margin-bottom uk-text-bold'> Search and add more Zenodo Communities</div><div>The research results of a Zenodo community specified here will be automatically linked to your community dashboard.</div></div>"
|
8 |
60565
|
argiro.kok
|
class="uk-flex uk-flex-middle uk-text-uppercase">
|
9 |
|
|
<button class="large uk-icon-button uk-button-secondary">
|
10 |
|
|
<icon name="add"></icon>
|
11 |
|
|
</button>
|
12 |
|
|
<button class="uk-button uk-button-link uk-margin-small-left uk-text-secondary">Add new zenodo
|
13 |
60693
|
k.triantaf
|
communities
|
14 |
|
|
</button>
|
15 |
60565
|
argiro.kok
|
</a>
|
16 |
|
|
</div>
|
17 |
60686
|
konstantin
|
<div #searchInputComponent search-input [control]="filterForm" [showSearch]="false"
|
18 |
|
|
placeholder="Search Zenodo Communities "
|
19 |
|
|
[selected]="searchUtils.keyword" (closeEmitter)="onSearchClose()" (resetEmitter)="resetInput()"
|
20 |
60693
|
k.triantaf
|
[bordered]="true" colorClass="uk-text-secondary"
|
21 |
|
|
class="uk-width-1-3@xl uk-width-2-5@l uk-width-1-2@m uk-width-1-1"></div>
|
22 |
60565
|
argiro.kok
|
</div>
|
23 |
|
|
</div>
|
24 |
|
|
<div inner>
|
25 |
60693
|
k.triantaf
|
<div *ngIf="searchUtils.status === errorCodes.LOADING" class="uk-position-center">
|
26 |
|
|
<loading></loading>
|
27 |
53980
|
argiro.kok
|
</div>
|
28 |
60693
|
k.triantaf
|
<div *ngIf="searchUtils.status != errorCodes.LOADING && previewCommunities">
|
29 |
|
|
<div *ngIf="masterCommunity"
|
30 |
|
|
class="uk-animation-fade uk-alert uk-alert-primary uk-padding-small uk-margin-large-bottom">
|
31 |
|
|
<div class="uk-text-large uk-margin-bottom">Main Zenodo community</div>
|
32 |
|
|
<preview-zenodo-community [item]="masterCommunity"></preview-zenodo-community>
|
33 |
60648
|
argiro.kok
|
</div>
|
34 |
60693
|
k.triantaf
|
<div *ngIf="previewCommunities.length == 0"
|
35 |
|
|
class="uk-card uk-card-default uk-padding-large uk-text-center uk-margin-bottom uk-text-bold">
|
36 |
|
|
<div> No zenodo communities found
|
37 |
|
|
</div>
|
38 |
|
|
</div>
|
39 |
|
|
<div *ngIf="previewCommunities.length > 0">
|
40 |
|
|
<no-load-paging *ngIf=" previewCommunities && previewCommunities.length > 0" [type]="'Zenodo Communities'"
|
41 |
|
|
[page]="page" [pageSize]="size" (pageChange)="page = $event.value"
|
42 |
|
|
[totalResults]="previewCommunities.length">
|
43 |
60565
|
argiro.kok
|
</no-load-paging>
|
44 |
|
|
<ul class="uk-list">
|
45 |
|
|
|
46 |
60693
|
k.triantaf
|
<li class="" *ngFor="let item of previewCommunities; let i = index;"
|
47 |
|
|
class="uk-card uk-card-default uk-margin-bottom"
|
48 |
|
|
[class.uk-hidden]="i >= page * size ||
|
49 |
60565
|
argiro.kok
|
i < (page - 1) * size">
|
50 |
60693
|
k.triantaf
|
<div class="uk-grid uk-padding uk-grid-divider " uk-grid>
|
51 |
|
|
<div class="uk-width-expand@m uk-width-1-1">
|
52 |
|
|
<preview-zenodo-community [item]="item"></preview-zenodo-community>
|
53 |
|
|
</div>
|
54 |
|
|
<div class="uk-text-center uk-width-auto@m uk-width-1-1">
|
55 |
|
|
<div class=" uk-flex uk-flex-middle uk-flex-center uk-height-1-1">
|
56 |
|
|
<div class="uk-padding-small uk-padding-remove-horizontal">
|
57 |
|
|
<div (click)="removeCommunity(item)"
|
58 |
|
|
class="uk-button action uk-flex uk-flex-middle ">
|
59 |
|
|
<icon name="remove_circle_outline" ratio="0.7"></icon>
|
60 |
|
|
<span class="uk-margin-small-left">Remove community</span>
|
61 |
60565
|
argiro.kok
|
</div>
|
62 |
|
|
</div>
|
63 |
|
|
</div>
|
64 |
|
|
</div>
|
65 |
60693
|
k.triantaf
|
</div>
|
66 |
|
|
</li>
|
67 |
|
|
</ul>
|
68 |
53600
|
argiro.kok
|
</div>
|
69 |
|
|
</div>
|
70 |
60565
|
argiro.kok
|
</div>
|
71 |
53600
|
argiro.kok
|
</div>
|
72 |
53905
|
argiro.kok
|
<modal-alert #AlertModalDeleteCommunity (alertOutput)="confirmedDeleteCommunity($event)"></modal-alert>
|