Project

General

Profile

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-container-large 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 && !loadingMessage"
58
                                            #registerJournal
59
                                            [selectedRepo]="repo"
60
                                            (emittedInfo)="getCurrentRepo($event)"></datasource-create-form>
61

    
62
                    <div *ngIf="showInterfaces && !loadingMessage">
63
                      <form *ngIf="repo" [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
                        </form-repeat>
74
                      </form>
75
                    </div>
76
                    <div *ngIf="showFinish && !loadingMessage" class="row openAIRECompliantLogoDownload">
77
                      <div class="col-lg-12">
78
                        <div class="col-md-12">
79
                          <div class="gwt-HTML">
80
                            <div class="openAIRECompliantLogo">
81
                              <h2 class="openAIRECompliantLogoMessage">
82
                                Congratulations! Your repository was successfully registered in OpenAIRE. You can download this logo to use in your site.
83
                              </h2>
84
                              <img src="assets/imgs/3_0ValidatedLogo.png" alt="OpenAireCompliant">
85
                            </div>
86
                          </div>
87
                          <a (click)="downloadLogo()">
88
                            Download
89
                            <i class="fa fa-download" style=""></i>
90
                          </a>
91
                        </div>
92
                      </div>
93
                    </div>
94
                  </div>
95
                </div>
96
              </div>
97
            </div>
98
            <div class="wizardActions">
99
              <button *ngIf="!showForm && !showFinish && !loadingMessage" class="uk-button uk-button-grey-light" type="button" (click)="moveBackAStep()">
100
                <i class="fa fa-angle-double-left"></i>
101
                Back
102
              </button>
103
              <button *ngIf="!showFinish && !loadingMessage" class="uk-button uk-button-grey-light" type="button" (click)="moveAStep()">
104
                Next
105
                <i class="fa fa-angle-double-right"></i>
106
              </button>
107
            </div>
108
          </div>
109

    
110
        </div>
111

    
112
        <!-- RIGHT HELP CONTENT -->
113
        <aside-help-content #rightHelperContent [position]="'right'"
114
                            [ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
115
        </aside-help-content>
116

    
117
      </div>
118
    </div>
119

    
120

    
121
    <!-- BOTTOM HELP CONTENT -->
122
    <help-content #bottomHelperContent [position]="'bottom'"
123
                  [ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
124
    </help-content>
125

    
126

    
127
  </div>
128
</div>
(7-7/10)