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
        <!-- TOP HELP CONTENT -->
5
<!--        <help-content #topHelperContent [position]="'top'"
6
                      [ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
7
        </help-content>-->
8

    
9
        <div class="uk-container uk-margin-medium-top uk-margin-medium-bottom">
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

    
20
              <div *ngIf="loadingMessage" class="loading-big">
21
                <div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
22
                  {{ loadingMessage }}
23
                </div>
24
                <div class="whiteFilm"></div>
25
              </div>
26
              <div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
27
              <div *ngIf="repo" class="uk-margin-medium-bottom">
28
                <h1 class="uk-article-title">
29
                  <a id="updateLogoURL" (click)="datasourceUpdateForm.updateLogoUrl(repo.logoUrl)">
30
                    <img *ngIf="!logoURL" src="/assets/imgs/yourLogoHere.jpg" style="margin-right: 15px; margin-top:-8px" width="60">
31
                    <img *ngIf="logoURL" src="{{ logoURL }}" style="margin-right: 15px; margin-top:-8px" width="60">
32
                  </a>
33
                  {{ repo.officialName }}
34
                </h1>
35
              </div>
36
              <div *ngIf="repo">
37
                <div>
38
                  <ul class="uk-margin el-nav uk-tab" uk-switcher="connect: .uk-switcher">
39
                    <li routerLinkActive="uk-active">
40
                      <a href="#">Update Information</a>
41
                    </li>
42
                    <li routerLinkActive="uk-active">
43
                      <a href="#">Update Interfaces</a>
44
                    </li>
45
                  </ul>
46
                  <ul class="uk-switcher">
47
                    <li class="el-item">
48
                      <div>
49
                        <datasource-update-form #datasourceUpdateForm
50
                                                [selectedRepo]="repo"
51
                                                [showButton]=true
52
                                                (emittedUrl)="getNewLogoUrl($event)"></datasource-update-form>
53
                      </div>
54
                    </li>
55
                    <li class="el-item">
56
                      <div *ngIf="repo && repoInterfaces" class="uk-width-1-1@m uk-first-column">
57
                        <form [formGroup]="group">
58
                          <form-repeat [component]="updateDatasourceInterfaces"
59
                                       [parentGroup]="group"
60
                                       [description]="interfaceFormDesc"
61
                                       [name]="'datasource-interface-form'"
62
                                       [data]="repoInterfaces"
63
                                       [otherData]="repo">
64
                          </form-repeat>
65
                        </form>
66
                      </div>
67
                    </li>
68
                  </ul>
69
                </div>
70
              </div>
71

    
72
            </div>
73

    
74
            <!-- RIGHT HELP CONTENT -->
75
            <aside-help-content #rightHelperContent [position]="'right'"
76
                                [ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
77
            </aside-help-content>
78

    
79
          </div>
80
        </div>
81

    
82

    
83
        <!-- BOTTOM HELP CONTENT -->
84
        <help-content #bottomHelperContent [position]="'bottom'"
85
                      [ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
86
        </help-content>
87

    
88

    
89
      </div>
90
    </div>
91

    
92
<!--  *** OLD HTML ***
93

    
94
<div class="uk-grid uk-grid-stack">
95
  <div class="uk-width-expand@m uk-first-column">
96
    <div *ngIf="loadingMessage" class="loading-big">
97
      <div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
98
        {{ loadingMessage }}
99
      </div>
100
      <div class="whiteFilm"></div>
101
    </div>
102
    <div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
103
    <div *ngIf="repo" class="uk-margin-medium-bottom">
104
      <h1 class="uk-article-title">
105
        <a id="updateLogoURL" (click)="datasourceUpdateForm.updateLogoUrl(repo.logoUrl)">
106
          <img *ngIf="!logoURL" src="/assets/imgs/yourLogoHere.jpg" style="margin-right: 15px; margin-top:-8px" width="60">
107
          <img *ngIf="logoURL" src="{{ logoURL }}" style="margin-right: 15px; margin-top:-8px" width="60">
108
        </a>
109
        {{ repo.officialName }}
110
      </h1>
111
    </div>
112
    <div *ngIf="repo">
113
      <div>
114
        <ul class="uk-margin el-nav uk-tab" uk-switcher="connect: .uk-switcher">
115
          <li routerLinkActive="uk-active">
116
            <a href="#">Update Information</a>
117
          </li>
118
          <li routerLinkActive="uk-active">
119
            <a href="#">Update Interfaces</a>
120
          </li>
121
        </ul>
122
        <ul class="uk-switcher">
123
          <li class="el-item">
124
            <div>
125
              <datasource-update-form #datasourceUpdateForm
126
                                      [selectedRepo]="repo"
127
                                      [showButton]=true
128
                                      (emittedUrl)="getNewLogoUrl($event)"></datasource-update-form>
129
            </div>
130
          </li>
131
          <li class="el-item">
132
            <div *ngIf="repo && repoInterfaces" class="uk-width-1-1@m uk-first-column">
133
              <form [formGroup]="group">
134
                <form-repeat [component]="updateDatasourceInterfaces"
135
                             [parentGroup]="group"
136
                             [description]="interfaceFormDesc"
137
                             [name]="'datasource-interface-form'"
138
                             [data]="repoInterfaces"
139
                             [otherData]="repo">
140
                </form-repeat>
141
              </form>
142
            </div>
143
          </li>
144
        </ul>
145
      </div>
146
    </div>
147
  </div>
148
&lt;!&ndash;  <div class="tm-sidebar uk-width-1-4@m">
149
    <div>
150
      <div class="uk-card uk-card-body uk-card-default sidemenu"><h3>Info / Help</h3>
151
        <p>You have access to edit&nbsp;the following repository listed on the left.&nbsp;Fields marked with * are mandatory.
152
          &nbsp;Hover over each field to find more information about it.</p>
153
        <p>The official repository administrator (his/her email address being retrieved from the OAI-PMH verb Identify) will be contacted and informed about the update request.
154
          So please make sure that you are either this person or have access to the email address, or that you have notified them.</p>
155
        <p>For any problems or questions please contact the <a href="https://www.openaire.eu/support/helpdesk" target="_blank">OpenAIRE helpdesk</a>.</p>
156
      </div>
157
    </div>
158
  </div>&ndash;&gt;
159
  <aside-help-content #rightHelperContent [position]="'right'"
160
                      [ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
161
  </aside-help-content>
162
</div>
163
-->
(3-3/10)