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
|
Enter Information
|
28
|
<span></span>
|
29
|
</div>
|
30
|
</div>
|
31
|
<div class="step {{ step2 }}">
|
32
|
<div>
|
33
|
Add Interfaces
|
34
|
<span></span>
|
35
|
</div>
|
36
|
</div>
|
37
|
<div class="step {{ step3 }}">
|
38
|
<div>
|
39
|
Finish
|
40
|
<span></span>
|
41
|
</div>
|
42
|
</div>
|
43
|
</div>
|
44
|
</div>
|
45
|
<div class="content">
|
46
|
<div>
|
47
|
<div class="animated fadeInRight stepContent">
|
48
|
<div *ngIf="loadingMessage" class="loading-big">
|
49
|
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
|
50
|
{{ loadingMessage }}
|
51
|
</div>
|
52
|
<div class="whiteFilm"></div>
|
53
|
</div>
|
54
|
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
|
55
|
|
56
|
<div>
|
57
|
<datasource-create-form *ngIf="showForm"
|
58
|
#registerAggregator
|
59
|
[selectedRepo]="repo"
|
60
|
(emittedInfo)="getCurrentRepo($event)"></datasource-create-form>
|
61
|
|
62
|
<div *ngIf="showInterfaces && repo">
|
63
|
<form [formGroup]="group">
|
64
|
<form-repeat #interfaceFormArray
|
65
|
[component]="addDatasourceInterfaces"
|
66
|
[parentGroup]="group"
|
67
|
[description]="interfaceFormDesc"
|
68
|
[name]="'repository-interfaces'"
|
69
|
[data]="repoInterfaces"
|
70
|
[otherData]="repo"
|
71
|
[registerMode]="true"
|
72
|
(emitDataArray)="getNewInterfaces($event)"
|
73
|
(emitShowModal)="showDeleteInterfaceModal($event)">
|
74
|
</form-repeat>
|
75
|
</form>
|
76
|
</div>
|
77
|
<div *ngIf="showFinish" class="row openAIRECompliantLogoDownload">
|
78
|
<div class="col-lg-12">
|
79
|
<div class="col-md-12">
|
80
|
<div class="gwt-HTML">
|
81
|
<div class="openAIRECompliantLogo">
|
82
|
<h2 class="openAIRECompliantLogoMessage">
|
83
|
Congratulations! Your repository was successfully registered in OpenAIRE. You can download this logo to use in your site.
|
84
|
</h2>
|
85
|
<img src="assets/imgs/3_0ValidatedLogo.png" alt="OpenAireCompliant">
|
86
|
</div>
|
87
|
</div>
|
88
|
<a (click)="downloadLogo()">
|
89
|
Download
|
90
|
<i class="fa fa-download" style=""></i>
|
91
|
</a>
|
92
|
</div>
|
93
|
</div>
|
94
|
</div>
|
95
|
</div>
|
96
|
</div>
|
97
|
</div>
|
98
|
</div>
|
99
|
<div class="wizardActions">
|
100
|
<button *ngIf="!showForm" class="uk-button uk-button-grey-light" type="button" (click)="moveBackAStep()">
|
101
|
<i class="fa fa-angle-double-left"></i>
|
102
|
Back
|
103
|
</button>
|
104
|
<button *ngIf="!showFinish" class="uk-button uk-button-grey-light" type="button" (click)="moveAStep()">
|
105
|
Next
|
106
|
<i class="fa fa-angle-double-right"></i>
|
107
|
</button>
|
108
|
</div>
|
109
|
</div>
|
110
|
|
111
|
</div>
|
112
|
|
113
|
<!-- RIGHT HELP CONTENT -->
|
114
|
<aside-help-content #rightHelperContent [position]="'right'"
|
115
|
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
116
|
</aside-help-content>
|
117
|
|
118
|
</div>
|
119
|
</div>
|
120
|
|
121
|
|
122
|
<!-- BOTTOM HELP CONTENT -->
|
123
|
<help-content #bottomHelperContent [position]="'bottom'"
|
124
|
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
125
|
</help-content>
|
126
|
|
127
|
|
128
|
</div>
|
129
|
</div>
|
130
|
|
131
|
<confirmation-dialog #confirmDelete [title]="'Delete Interface'" [isModalShown]="isModalShown"
|
132
|
[confirmActionButton]="'Yes, delete it'" (emitObject)="confirmedRemoval($event)">
|
133
|
Are you sure you want to delete this interface?
|
134
|
</confirmation-dialog>
|