1
|
<div>
|
2
|
<div>
|
3
|
<div class="animated fadeInRight stepContent">
|
4
|
<div class="uk-alert uk-alert-danger" *ngIf="alertMessage" style="padding: 10px">
|
5
|
{{ alertMessage }}
|
6
|
</div>
|
7
|
<div class="uk-alert uk-alert-info">
|
8
|
|
9
|
<ng-container *ngIf="mode === 'repository'">
|
10
|
Please make sure your repository is registered in <a href="https://v2.sherpa.ac.uk/opendoar/" target="_blank">OpenDOAR</a>,
|
11
|
<a href="http://www.re3data.org/" target="_blank">Re3data</a> or <a href="https://fairsharing.org/search?fairsharingRegistry=Database" target="_blank">FAIRsharing</a>.
|
12
|
<span *ngIf="opendoarlatestUpdate && (opendoarlatestUpdate !== 'null')">
|
13
|
<br><b>Last Updated (OpenDOAR): </b>{{ opendoarlatestUpdate }}
|
14
|
</span>
|
15
|
<span *ngIf="re3datalatestUpdate && (re3datalatestUpdate !== 'null')">
|
16
|
<br><b>Last Updated (Re3data): </b>{{ re3datalatestUpdate }}
|
17
|
</span>
|
18
|
<span *ngIf="fairsharinglatestUpdate && (fairsharinglatestUpdate !== 'null')">
|
19
|
<br><b>Last Updated (FAIRsharing): </b>{{ fairsharinglatestUpdate }}
|
20
|
</span>
|
21
|
</ng-container>
|
22
|
|
23
|
<ng-container *ngIf="mode === 'cris'">
|
24
|
Please make sure your Research Information System is registered in <a href="https://eurocris.org" target="_blank">euroCRIS</a>.
|
25
|
<a href="https://eurocris.org/dris/dris-form" target="_blank"><br><i class="fas fa-external-link-alt" style="margin-right:3px;"></i>euroCRIS DRIS</a>
|
26
|
<span *ngIf="latestUpdate && (latestUpdate !== 'null')">
|
27
|
<br><b>Last Updated: </b>{{ latestUpdate }}
|
28
|
</span>
|
29
|
</ng-container>
|
30
|
<!-- <span *ngIf="latestUpdate && (latestUpdate !== 'null')">-->
|
31
|
<!-- <ng-container *ngIf="mode==='repository'">-->
|
32
|
<!-- <b>Last Updated (OpenDOAR): </b>{{ latestUpdate }}-->
|
33
|
<!-- <b>Last Updated (Re3data): </b>{{ latestUpdate }}-->
|
34
|
<!-- <b>Last Updated (FAIRsharing): </b>{{ latestUpdate }}-->
|
35
|
<!-- </ng-container>-->
|
36
|
<!-- <ng-container *ngIf="mode==='cris'">-->
|
37
|
<!-- -->
|
38
|
<!-- </ng-container>-->
|
39
|
<!-- </span>-->
|
40
|
|
41
|
</div>
|
42
|
<div class="uk-margin-medium-top">
|
43
|
<div class="md-input-wrapper md-input-filled">
|
44
|
<label style="top: -16px;" class="">Select country</label>
|
45
|
<select class="md-input" (change)="getReposInCountry($event.target.value)">
|
46
|
<option value="" disabled>-- none selected --</option>
|
47
|
<option *ngFor="let country of countries; let i = index" value="{{ i }}">{{ country.name ? country.name :
|
48
|
country.code }}
|
49
|
</option>
|
50
|
</select>
|
51
|
<span class="md-input-bar"></span>
|
52
|
</div>
|
53
|
|
54
|
</div>
|
55
|
<div *ngIf="selectedCountry">
|
56
|
<div>
|
57
|
<h2 class="heading_b uk-margin-bottom uk-margin-medium-top">{{ sourceTitle }}
|
58
|
{{mode === 'cris' ? '- Research Information Systems' : 'Repositories'}} in
|
59
|
{{selectedCountry.name ? selectedCountry.name : selectedCountry.code }}</h2>
|
60
|
</div>
|
61
|
<div *ngIf="loadingMessage" class="loading-big">
|
62
|
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
|
63
|
{{ loadingMessage }}
|
64
|
</div>
|
65
|
<div class="whiteFilm"></div>
|
66
|
</div>
|
67
|
<div class="uk-alert uk-alert-warning" *ngIf="noRepositories">{{ noRepositories }}</div>
|
68
|
<div class="radioButtonForm" *ngIf="countryRepos && !loadingMessage">
|
69
|
|
70
|
|
71
|
<div class="md-input-wrapper md-input-filled uk-margin-medium-top uk-margin-bottom">
|
72
|
<label class="">Name of repository</label>
|
73
|
<input #searchInput id="searchInput" class="md-input" type="text"
|
74
|
[disabled]="(!hasSelectedCountry)" (keyup)="searchTerm($event)"/>
|
75
|
<span class="md-input-bar"></span>
|
76
|
</div>
|
77
|
|
78
|
|
79
|
<div class="form-group" *ngFor="let repo of countryRepos | repoFilter: searchBox">
|
80
|
<label for="{{ repo.id }}" class="uk-button uk-link-muted visible_uk_links" style="display: block; text-align: left;">
|
81
|
<input type="radio" value="{{ repo.id }}" id="{{ repo.id }}" name="repositories"
|
82
|
(change)="onChooseRepository(repo.id)" [disabled]="repo.registeredby !== null">
|
83
|
<span>{{(repo.officialname !== null) ? repo.officialname : repo.englishname }}
|
84
|
<span *ngIf="repo.registeredby !== null"
|
85
|
class="uk-badge uk-badge-warning uk-margin-small-right uk-margin-small-left">Registered</span>
|
86
|
<a target="_blank" href="{{ (repo.websiteurl !== null) ? repo.websiteurl : '' }}" [ngStyle]="">
|
87
|
<i class="fas fa-external-link-alt externalLink"></i>
|
88
|
</a>
|
89
|
</span>
|
90
|
<!--TODO uncomment if we still need the next button everywhere-->
|
91
|
<!--<div *ngIf="repoId == repo.id" class="uk-float-right">-->
|
92
|
<!--<a class="uk-button uk-button-primary uk-border-rounded uk-vertical-align-middle"-->
|
93
|
<!--style="border-color: grey;"-->
|
94
|
<!--(click)="pushedNext()">NEXT</a>-->
|
95
|
<!--</div>-->
|
96
|
</label>
|
97
|
</div>
|
98
|
</div>
|
99
|
</div>
|
100
|
</div>
|
101
|
</div>
|
102
|
</div>
|