1
|
<div id="page_content">
|
2
|
<div id="page_content_inner">
|
3
|
<h2 class="heading_b uk-margin-bottom">Register your datasource</h2>
|
4
|
|
5
|
<!-- TOP HELP CONTENT -->
|
6
|
<help-content #topHelperContent [position]="'top'"
|
7
|
[ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
8
|
</help-content>
|
9
|
|
10
|
<div class="uk-grid">
|
11
|
|
12
|
<!-- LEFT HELP CONTENT -->
|
13
|
<aside-help-content #leftHelperContent [position]="'left'"
|
14
|
[ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
15
|
</aside-help-content>
|
16
|
|
17
|
<!-- MIDDLE -->
|
18
|
<div class=" uk-width-expand@m">
|
19
|
<div class="md-card uk-margin-large-bottom">
|
20
|
<div class="md-card-content">
|
21
|
<form class="uk-form-stacked" id="wizard_advanced_form" novalidate="">
|
22
|
<div id="wizard_advanced" role="application" class="wizard clearfix">
|
23
|
<div class="steps clearfix">
|
24
|
<ul role="tablist">
|
25
|
<li role="tab" class="first {{ (currentStep == 0) ? 'current' : '' }}" aria-disabled="false" aria-selected="true">
|
26
|
<a id="wizard_advanced-t-0" href="#wizard_advanced-h-0" aria-controls="wizard_advanced-p-0">
|
27
|
<!--<span class="current-info audible">current step: </span>-->
|
28
|
<span class="number">1</span>
|
29
|
<span class="title">Select Repository</span>
|
30
|
</a>
|
31
|
</li>
|
32
|
<li role="tab" class="{{ (currentStep < 1) ? 'disabled' : '' }} {{ (currentStep == 1) ? 'current' : '' }}" aria-disabled="true">
|
33
|
<a id="wizard_advanced-t-1" href="#wizard_advanced-h-1" aria-controls="wizard_advanced-p-1">
|
34
|
<span class="number">2</span>
|
35
|
<span class="title">Register data source</span>
|
36
|
</a>
|
37
|
</li>
|
38
|
<li role="tab" class=" {{ (currentStep < 2) ? 'disabled' : '' }} {{ (currentStep == 2) ? 'current' : '' }}" aria-disabled="true">
|
39
|
<a id="wizard_advanced-t-2" href="#wizard_advanced-h-2" aria-controls="wizard_advanced-p-2">
|
40
|
<span class="number">3</span>
|
41
|
<span class="title">Register interface</span>
|
42
|
</a>
|
43
|
</li>
|
44
|
<li role="tab" class="last {{ (currentStep < 3) ? 'disabled' : '' }} {{ (currentStep == 3) ? 'current' : '' }}" aria-disabled="true">
|
45
|
<!-- ToU: replace above line with below line -->
|
46
|
<!--<li role="tab" class=" {{ (currentStep < 3) ? 'disabled' : '' }} {{ (currentStep == 3) ? 'current' : '' }}" aria-disabled="true">-->
|
47
|
<a id="wizard_advanced-t-3" href="#wizard_advanced-h-3" aria-controls="wizard_advanced-p-3">
|
48
|
<span class="number">4</span>
|
49
|
<!-- ToU: uncomment this section -->
|
50
|
<!--<span class="title">Terms of Use</span>
|
51
|
</a>
|
52
|
</li>
|
53
|
<li role="tab" class="last {{ (currentStep < 4) ? 'disabled' : '' }} {{ (currentStep == 4) ? 'current' : '' }}" aria-disabled="true">
|
54
|
<a id="wizard_advanced-t-4" href="#wizard_advanced-h-4" aria-controls="wizard_advanced-p-4">
|
55
|
<span class="number">5</span>-->
|
56
|
<span class="title">Finish</span>
|
57
|
</a>
|
58
|
</li>
|
59
|
</ul>
|
60
|
</div>
|
61
|
<div class="content clearfix" style="height: 660px">
|
62
|
|
63
|
<div *ngIf="loadingMessage" class="loading-big">
|
64
|
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
|
65
|
{{ loadingMessage }}
|
66
|
</div>
|
67
|
<div class="whiteFilm"></div>
|
68
|
</div>
|
69
|
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger uk-margin-top">{{ errorMessage }}</div>
|
70
|
|
71
|
<!-- first section -->
|
72
|
<h3 id="wizard_advanced-h-0" tabindex="-1" class="title {{ (currentStep == 0) ? 'current' : '' }}">Select Repository</h3>
|
73
|
<section id="wizard_advanced-p-0" role="tabpanel" aria-labelledby="wizard_advanced-h-0"
|
74
|
class="body step-0 {{ (currentStep == 0) ? 'current' : '' }}" data-step="0" aria-hidden="false">
|
75
|
|
76
|
<app-select-existing-datasource *ngIf="(currentStep === 0) && (currentMode !== null) && !loadingMessage"
|
77
|
#datasourcesByCountry
|
78
|
[mode]="currentMode"
|
79
|
(emitRepoId)="getRepoId($event)"
|
80
|
(promptNext)="goToStep2($event)"></app-select-existing-datasource>
|
81
|
</section>
|
82
|
|
83
|
<!-- second section -->
|
84
|
<h3 id="wizard_advanced-h-1" tabindex="-1" class="title {{ (currentStep == 1) ? 'current' : '' }}">Enter Information</h3>
|
85
|
<section id="wizard_advanced-p-1" role="tabpanel" aria-labelledby="wizard_advanced-h-1"
|
86
|
class="body step-1 {{ (currentStep == 1) ? 'current' : '' }}" data-step="1" aria-hidden="true">
|
87
|
|
88
|
<datasource-update-form *ngIf="(currentStep === 1) && (repo !== null) && !loadingMessage"
|
89
|
#registerDatasource
|
90
|
[selectedRepo]="repo"
|
91
|
(emittedInfo)="getUpdatedRepo($event)"></datasource-update-form>
|
92
|
</section>
|
93
|
|
94
|
<!-- third section -->
|
95
|
<h3 id="wizard_advanced-h-2" tabindex="-1" class="title {{ (currentStep == 2) ? 'current' : '' }}">Add Interfaces</h3>
|
96
|
<section id="wizard_advanced-p-2" role="tabpanel" aria-labelledby="wizard_advanced-h-2"
|
97
|
class="body step-2 {{ (currentStep == 2) ? 'current' : '' }}" data-step="2" aria-hidden="true">
|
98
|
|
99
|
<div *ngIf="(currentStep === 2) && repo && !loadingMessage" class="uk-grid uk-grid-match">
|
100
|
|
101
|
<div *ngFor="let inter of dataForInterfaceComp" class="uk-width-1-2@m uk-margin-bottom">
|
102
|
<div>
|
103
|
<div class="md-card" style="height: 100%">
|
104
|
<app-repository-interface-form #interfacesArray
|
105
|
[data]="inter"
|
106
|
(emitDeleteInterface)="removeInterfaceFromList($event)">
|
107
|
</app-repository-interface-form>
|
108
|
</div>
|
109
|
</div>
|
110
|
</div>
|
111
|
|
112
|
<div class="uk-width-1-2@m uk-margin-bottom">
|
113
|
<div>
|
114
|
<div class="md-card" style="height: 100%">
|
115
|
<div class="md-card-toolbar">
|
116
|
</div>
|
117
|
<div class="md-card-content">
|
118
|
<div class="interface-box new" style="text-align: center">
|
119
|
<a class="add-new-element add-new-group" (click)="addInterfaceToList()">
|
120
|
<i class="far fa-plus-square" aria-hidden="true"></i>
|
121
|
<span class="info">Add New Interface</span>
|
122
|
</a>
|
123
|
</div>
|
124
|
</div>
|
125
|
</div>
|
126
|
</div>
|
127
|
|
128
|
</div>
|
129
|
|
130
|
</div>
|
131
|
</section>
|
132
|
|
133
|
<!-- fourth section -->
|
134
|
<h3 id="wizard_advanced-h-3" tabindex="-1" class="title {{ (currentStep == 3) ? 'current' : '' }}">Finish</h3>
|
135
|
<!-- ToU: replace line above with line below -->
|
136
|
<!--<h3 id="wizard_advanced-h-3" tabindex="-1" class="title {{ (currentStep == 3) ? 'current' : '' }}">Terms of Use</h3>-->
|
137
|
<section id="wizard_advanced-p-3" role="tabpanel" aria-labelledby="wizard_advanced-h-3"
|
138
|
class="body step-3 {{ (currentStep == 3) ? 'current' : '' }}" data-step="2" aria-hidden="true">
|
139
|
|
140
|
<div *ngIf="(currentStep === 3) && !loadingMessage" class="row openAIRECompliantLogoDownload">
|
141
|
<!-- ToU: replace above 3 lines (starting at class="body step-3) with commented section below -->
|
142
|
<!--class="body step-3 {{ (currentStep == 3) ? 'current' : '' }}" data-step="3" aria-hidden="true">
|
143
|
<div *ngIf="(currentStep === 3) && !loadingMessage" class="uk-grid uk-grid-match">
|
144
|
<datasource-update-terms-form #updateTermsForm
|
145
|
[selectedRepo]="repo"
|
146
|
[showButton]=false></datasource-update-terms-form>
|
147
|
</div>
|
148
|
</section>
|
149
|
|
150
|
<!– fifth section –>
|
151
|
<h3 id="wizard_advanced-h-4" tabindex="-1" class="title {{ (currentStep == 4) ? 'current' : '' }}">Finish</h3>
|
152
|
<section id="wizard_advanced-p-4" role="tabpanel" aria-labelledby="wizard_advanced-h-4"
|
153
|
class="body step-4 {{ (currentStep == 4) ? 'current' : '' }}" data-step="3" aria-hidden="true">
|
154
|
|
155
|
<div *ngIf="(currentStep === 4) && !loadingMessage" class="row openAIRECompliantLogoDownload">-->
|
156
|
<div class="col-lg-12">
|
157
|
<div class="col-md-12">
|
158
|
<div>
|
159
|
<div class="openAIRECompliantLogo">
|
160
|
<h2 class="openAIRECompliantLogoMessage">
|
161
|
We successfully received the request to register/update your repository with/on OpenAIRE.
|
162
|
It usually takes about 6 weeks to check your metadata and index it.
|
163
|
For questions, please create a <a href="https://www.openaire.eu/support/helpdesk" target="_blank">helpdesk ticket</a>
|
164
|
or write to <a href="mailto:helpdesk@openaire.eu">helpdesk@openaire.eu</a>.
|
165
|
</h2>
|
166
|
</div>
|
167
|
</div>
|
168
|
</div>
|
169
|
</div>
|
170
|
</div>
|
171
|
|
172
|
</section>
|
173
|
|
174
|
</div>
|
175
|
<div *ngIf="currentStep != 3" class="actions clearfix">
|
176
|
<ul role="menu" aria-label="Pagination">
|
177
|
<li class="button_previous {{ (currentStep < 1) ? 'disabled' : '' }}" aria-disabled="true">
|
178
|
<a (click)="moveBackAStep()" role="menuitem"><i class="material-icons"></i> Previous</a>
|
179
|
</li>
|
180
|
<li *ngIf="currentStep < 2" class="button_next" aria-hidden="false" aria-disabled="false">
|
181
|
<a (click)="moveAStep()" role="menuitem">Next<i class="material-icons"></i></a>
|
182
|
</li>
|
183
|
<li *ngIf="currentStep == 2" class="button_finish" aria-hidden="true">
|
184
|
<a (click)="moveAStep()" role="menuitem">Finish</a>
|
185
|
</li>
|
186
|
</ul>
|
187
|
</div>
|
188
|
<!-- ToU: replace above <div> with commented section below -->
|
189
|
<!--<div *ngIf="currentStep != 4" class="actions clearfix">
|
190
|
<ul role="menu" aria-label="Pagination">
|
191
|
<li class="button_previous {{ (currentStep < 1) ? 'disabled' : '' }}" aria-disabled="true">
|
192
|
<a (click)="moveBackAStep()" role="menuitem"><i class="material-icons"></i> Previous</a>
|
193
|
</li>
|
194
|
<li *ngIf="currentStep < 3" class="button_next" aria-hidden="false" aria-disabled="false">
|
195
|
<a (click)="moveAStep()" role="menuitem">Next<i class="material-icons"></i></a>
|
196
|
</li>
|
197
|
<li *ngIf="currentStep == 3" class="button_finish" aria-hidden="true">
|
198
|
<a (click)="moveAStep()" role="menuitem">Finish</a>
|
199
|
</li>
|
200
|
</ul>
|
201
|
</div>-->
|
202
|
</div>
|
203
|
</form>
|
204
|
</div>
|
205
|
</div>
|
206
|
</div>
|
207
|
|
208
|
<!-- RIGHT HELP CONTENT -->
|
209
|
<aside-help-content #rightHelperContent [position]="'right'"
|
210
|
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
211
|
</aside-help-content>
|
212
|
|
213
|
</div>
|
214
|
|
215
|
<!-- BOTTOM HELP CONTENT -->
|
216
|
<help-content #bottomHelperContent [position]="'bottom'"
|
217
|
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
218
|
</help-content>
|
219
|
|
220
|
</div>
|
221
|
</div>
|
222
|
|