1
|
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
|
2
|
<div class="uk-width-1-1@m uk-first-column">
|
3
|
|
4
|
<h1 class="uk-h2">Register your datasource</h1>
|
5
|
|
6
|
<!-- TOP HELP CONTENT -->
|
7
|
<help-content #topHelperContent [position]="'top'"
|
8
|
[ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
9
|
</help-content>
|
10
|
|
11
|
<div class="uk-container uk-margin-medium-top uk-margin-medium-bottom">
|
12
|
<div class="uk-grid">
|
13
|
|
14
|
<!-- LEFT HELP CONTENT -->
|
15
|
<aside-help-content #leftHelperContent [position]="'left'"
|
16
|
[ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
17
|
</aside-help-content>
|
18
|
|
19
|
<!-- MIDDLE -->
|
20
|
<div class=" uk-width-expand@m">
|
21
|
|
22
|
<div class="wizard">
|
23
|
<div class="wizardBreadcrumbs">
|
24
|
<div class="steps clearfix">
|
25
|
<div class="step active">
|
26
|
<div>
|
27
|
Select repository
|
28
|
<span></span>
|
29
|
</div>
|
30
|
</div>
|
31
|
<div class="step {{step2}}">
|
32
|
<div>
|
33
|
Enter information
|
34
|
<span></span>
|
35
|
</div>
|
36
|
</div>
|
37
|
<div class="step {{step3}}">
|
38
|
<div>
|
39
|
Add interfaces
|
40
|
<span></span>
|
41
|
</div>
|
42
|
</div>
|
43
|
<div class="step {{step4}}">
|
44
|
<div>
|
45
|
Finish
|
46
|
<span></span>
|
47
|
</div>
|
48
|
</div>
|
49
|
</div>
|
50
|
</div>
|
51
|
<div class="content">
|
52
|
<div>
|
53
|
<div class="animated fadeInRight stepContent">
|
54
|
<div *ngIf="loadingMessage" class="loading-big">
|
55
|
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
|
56
|
{{ loadingMessage }}
|
57
|
</div>
|
58
|
<div class="whiteFilm"></div>
|
59
|
</div>
|
60
|
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
|
61
|
|
62
|
<div>
|
63
|
|
64
|
<register-datasource-shareable *ngIf="showRepositories"
|
65
|
#datasourcesByCountry
|
66
|
[mode]="'opendoar'"
|
67
|
(emitRepoId)="getRepoId($event)"
|
68
|
(promptNext)="goToStep2($event)"></register-datasource-shareable>
|
69
|
|
70
|
<datasource-update-form *ngIf="showForm && repo"
|
71
|
#updateDatasource
|
72
|
[selectedRepo]="repo"
|
73
|
(emittedInfo)="getUpdatedRepo($event)"></datasource-update-form>
|
74
|
|
75
|
<div *ngIf="showInterfaces && repoInterfaces">
|
76
|
<form [formGroup]="group">
|
77
|
<form-repeat #interfaceFormArray
|
78
|
[component]="updateDatasourceInterfaces"
|
79
|
[parentGroup]="group"
|
80
|
[description]="interfaceFormDesc"
|
81
|
[name]="'repository-interfaces'"
|
82
|
[data]="repoInterfaces"
|
83
|
[otherData]="repo"
|
84
|
[registerMode]="true"
|
85
|
(emitDataArray)="getNewInterfaces($event)">
|
86
|
</form-repeat>
|
87
|
</form>
|
88
|
</div>
|
89
|
<div *ngIf="showFinish" class="row openAIRECompliantLogoDownload">
|
90
|
<div class="col-lg-12">
|
91
|
<div class="col-md-12">
|
92
|
<div class="gwt-HTML">
|
93
|
<div class="openAIRECompliantLogo">
|
94
|
<h2 class="openAIRECompliantLogoMessage">
|
95
|
Congratulations! Your repository was successfully registered in OpenAIRE. You can download this logo to use in your site.
|
96
|
</h2>
|
97
|
<img src="assets/imgs/3_0ValidatedLogo.png" alt="OpenAireCompliant">
|
98
|
</div>
|
99
|
</div>
|
100
|
<a (click)="downloadLogo()">
|
101
|
Download
|
102
|
<i class="fa fa-download" style=""></i>
|
103
|
</a>
|
104
|
</div>
|
105
|
</div>
|
106
|
</div>
|
107
|
</div>
|
108
|
</div>
|
109
|
</div>
|
110
|
</div>
|
111
|
<div class="wizardActions">
|
112
|
<button *ngIf="!showRepositories && !showFinish" class="uk-button uk-button-grey-light" type="button" (click)="moveBackAStep()">
|
113
|
<i class="fa fa-angle-double-left"></i>
|
114
|
Back
|
115
|
</button>
|
116
|
<button *ngIf="!showFinish" class="uk-button uk-button-grey-light" type="button" (click)="moveAStep()">
|
117
|
Next
|
118
|
<i class="fa fa-angle-double-right"></i>
|
119
|
</button>
|
120
|
</div>
|
121
|
</div>
|
122
|
|
123
|
</div>
|
124
|
|
125
|
<!-- RIGHT HELP CONTENT -->
|
126
|
<aside-help-content #rightHelperContent [position]="'right'"
|
127
|
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
128
|
</aside-help-content>
|
129
|
|
130
|
</div>
|
131
|
</div>
|
132
|
|
133
|
|
134
|
<!-- BOTTOM HELP CONTENT -->
|
135
|
<help-content #bottomHelperContent [position]="'bottom'"
|
136
|
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
137
|
</help-content>
|
138
|
|
139
|
|
140
|
</div>
|
141
|
</div>
|
142
|
|