Project

General

Profile

1
<div id="landingPage">
2
  <div class="uk-offcanvas-content">
3

    
4
    <div class="tm-header-mobile uk-hidden@m">
5
      <nav class="uk-navbar-container uk-navbar" uk-navbar="">
6
        <div class="uk-navbar-left">
7
          <a class="uk-navbar-toggle" href="#tm-mobile" uk-toggle="">
8
            <div uk-navbar-toggle-icon="" class="uk-navbar-toggle-icon uk-icon">
9
<!--              <svg width="20" height="20" viewBox="0 0 20 20" ratio="1">
10
                <rect y="9" width="20" height="2"/>
11
                <rect y="3" width="20" height="2"/>
12
                <rect y="15" width="20" height="2"/>
13
              </svg>-->
14
            </div>
15
          </a>
16
        </div>
17
        <div class="uk-navbar-center">
18
          <a class="uk-navbar-item uk-logo" [routerLink]="['/landing']">
19
            <img src="assets/imgs/OA_PROVIDE_A.png" alt="OpenAIRE"
20
                 class="uk-responsive-height"> </a>
21
        </div>
22
      </nav>
23
      <div id="tm-mobile" uk-offcanvas="" mode="slide" overlay="" class="uk-offcanvas">
24
        <div class="uk-offcanvas-bar">
25
          <button class="uk-offcanvas-close uk-close uk-icon" type="button" uk-close="">
26
<!--            <svg width="14" height="14" viewBox="0 0 14 14" ratio="1">
27
              <line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/>
28
              <line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/>
29
            </svg>-->
30
          </button>
31
          <div class="uk-child-width-1-1 uk-grid" uk-grid="">
32
            <div>
33
              <div class="uk-panel" id="module-0">
34
                <!-- THERE WAS COMMENTED SCRIPT HERE - CHECK REPOSITORYMANAGER.HTML -->
35
              </div>
36
            </div>
37
            <div>
38
              <!--<div class="uk-panel" id="module-tm-2">
39
                <div id="search-tm-2" action="#" method="post" role="search"
40
                      class="uk-search uk-search-default uk-icon">
41
                  <span class="uk-search-icon uk-icon"><svg width="20" height="20"
42
                                                            viewBox="0 0 20 20"
43
                                                            ratio="1">
44
                      <circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/>
45
                      <path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/>
46
                  </svg></span>
47
                  <input name="searchword" placeholder="Search" class="uk-search-input" type="search">
48
                  <input name="task" value="search" type="hidden">
49
                  <input name="option" value="com_search" type="hidden">
50
                  <input name="Itemid" value="1860" type="hidden">
51

    
52
                </div>
53
              </div>-->
54
              <div>
55
                <a *ngIf="!getIsUserLoggedIn()" (click)="login()">Sign in| Register</a>
56
                <span *ngIf="getIsUserLoggedIn()">{{getUserName()}}</span>
57
                <ul *ngIf="getIsUserLoggedIn()" class="uk-list uk-margin-top">
58
                  <li>
59
                    <a class="uk-search-input" [routerLink]="['landing']" [routerLinkActive]="['uk-active']">Home</a>
60
                  </li>
61
                  <li>
62
                    <a class="uk-search-input" [routerLink]="['dashboard']" [routerLinkActive]="['uk-active']">Dashboard</a>
63
                  </li>
64
                  <li>
65
                    Sources
66
                    <ul>
67
                      <li><a [routerLink]="['sources', 'register']" [routerLinkActive]="['uk-active']">Register</a></li>
68
                      <li><a [routerLink]="['sources', 'update']" [routerLinkActive]="['uk-active']">Update</a></li>
69
                    </ul>
70
                  </li>
71
                  <li>
72
                    Compatibility
73
                    <ul>
74
                      <li><a [routerLink]="['compatibility', 'validate']" [routerLinkActive]="['uk-active']">Validate</a></li>
75
                      <li><a [routerLink]="['compatibility', 'browseHistory']" [routerLinkActive]="['uk-active']">Validation History</a></li>
76
                      <li><a [routerLink]="['compatibility', 'monitor']" [routerLinkActive]="['uk-active']">Collection Monitor</a></li>
77
                    </ul>
78
                  </li>
79
                  <li>
80
                    Content
81
                    <ul>
82
                      <li><a [routerLink]="['content', 'events']" [routerLinkActive]="['uk-active']">Events</a></li>
83
                      <li><a [routerLink]="['content', 'notifications']" [routerLinkActive]="['uk-active']">Notifications</a></li>
84
                    </ul>
85
                  </li>
86
                  <li>
87
                    <a class="uk-search-input" [routerLink]="['getImpact']" [routerLinkActive]="['uk-active']">Metrics</a>
88
                  </li>
89
                  <li *ngIf="getIsUserAdmin()">
90
                    Admin
91
                    <ul>
92
                      <li><a href="{{adminHomePage}}" target="_blank">Help Texts</a></li>
93
                      <li><a [routerLink]="['admin', 'metrics']" [routerLinkActive]="['uk-active']">Validate</a></li>
94
                    </ul>
95
                  </li>
96
                  <li><a (click)="logout()">Logout</a></li>
97
                </ul>
98
              </div>
99
            </div>
100
          </div>
101

    
102
        </div>
103
      </div>
104
    </div>
105

    
106
    <div class="tm-toolbar uk-visible@m">
107
      <div class="uk-container uk-flex uk-flex-middle uk-container-expand">
108

    
109

    
110
        <div class="uk-margin-auto-left">
111
          <div class="uk-grid-medium uk-child-width-auto uk-flex-middle uk-grid uk-grid-stack"
112
               uk-grid="margin: uk-margin-small-top">
113
            <div class="uk-first-column">
114
              <div class="uk-panel inner">
115
                <ul class="uk-subnav uk-subnav-line">
116
                  <li><a class="home-icon" href="https://{{ inBeta ? 'beta.' : '' }}openaire.eu" target="_blank">
117
                    <span class="uk-responsive-height">
118
                      <svg xml:space="preserve" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 20 20" height="20px" id="Layer_1" version="1.1" viewBox="0 0 48 48" width="20px" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M44.715,23.711c-0.381,0.382-1,0.382-1.381,0l-8.939-8.938 c-0.064-0.051-0.119-0.106-0.17-0.171l-3.83-3.829c-0.064-0.051-0.119-0.106-0.17-0.171L24,4.377L4.667,23.711 c-0.381,0.382-1,0.382-1.381,0c-0.381-0.381-0.381-1,0-1.381L23.191,2.425c0.031-0.047,0.053-0.101,0.094-0.144 C23.482,2.085,23.742,1.994,24,2c0.258-0.006,0.518,0.084,0.715,0.281c0.043,0.042,0.062,0.096,0.096,0.144L30,7.616V4.997 c0,0,0,0,0,0c0-0.552,0.447-1,1-1h4c0.277,0,0.527,0.112,0.707,0.293C35.889,4.471,36,4.721,36,4.997v8.619l8.715,8.714 C45.096,22.711,45.096,23.33,44.715,23.711z M34,5.997h-2v3.619l2,2V5.997z M10,21.997c0.552,0,1,0.448,1,1v19c0,1.105,0.896,2,2,2 h6l0,0v-13c0-0.553,0.447-1,1-1h8c0.553,0,1,0.447,1,1v13l0,0h6c1.105,0,2-0.895,2-2v-19c0-0.552,0.447-1,1-1s1,0.448,1,1v19 c0,2.209-1.791,4-4,4H13c-2.209,0-4-1.791-4-4v-19C9,22.444,9.448,21.997,10,21.997z M27,43.996v-12h-6v12l0,0H27L27,43.996z" fill="#fff" fill-rule="evenodd" id="home"></path></svg>
119
                    </span></a></li>
120
                  <!--<li class="uk-active"><a-->
121
                  <!--href="/index.php?option=com_content&amp;view=article&amp;id=292&amp;Itemid=1860"><img-->
122
                  <!--class="uk-responsive-height"-->
123
                  <!--src="http://dl119.madgik.di.uoa.gr/images/site_images/Home-icon.png"-->
124
                  <!--alt="home"></a></li>-->
125
                  <!-- <li><a href="https://{{ inBeta ? 'beta.' : '' }}explore.openaire.eu" title="Search in OA. Link your research">Explore</a></li> -->
126
                  <li uk-tooltip="title: Search in OA. Link your research; pos: bottom-left; cls: uk-active tooltipStyling uk-width-auto">
127
                    <a href="https://{{ inBeta ? 'beta.' : '' }}explore.openaire.eu" target="_blank">Explore</a></li>
128
                  <li uk-tooltip="title: Content Provider Dashboard; pos: bottom-left; cls: uk-active tooltipStyling uk-width-auto" class="myActiveClass">
129
                    <a href="https://{{ inBeta ? 'beta.' : '' }}provide.openaire.eu/" target="_blank">Provide</a></li>
130
                  <li uk-tooltip="title: Research Community Dashboard; pos: bottom-left; cls: uk-active tooltipStyling uk-width-auto">
131
                    <a href="https://{{ inBeta ? 'beta.' : '' }}connect.openaire.eu" target="_blank">Connect</a></li>
132
                  <li uk-tooltip="title: Monitoring Dashboard; pos: bottom-left; cls: uk-active tooltipStyling uk-width-auto">
133
                    <a href="https://monitor.openaire.eu" target="_blank">Monitor</a></li>
134
                  <li uk-tooltip="title: APIs; pos: bottom-left; cls: uk-active tooltipStyling uk-width-auto">
135
                    <a href="https://develop.openaire.eu" target="_blank">Develop</a></li>
136
                </ul>
137
              </div>
138
            </div>
139
          </div>
140
        </div>
141

    
142
      </div>
143
    </div>
144

    
145
    <div class="tm-header uk-visible@m tm-header-transparent" uk-header="">
146
      <div class="uk-navbar-container uk-sticky uk-navbar-transparent uk-light" uk-sticky="top:0" media="768"
147
           cls-active="uk-active uk-navbar-sticky" style="" animation="uk-animation-slide-top"
148
           top=".tm-header + [class*=&quot;uk-section&quot;]" cls-inactive="uk-navbar-transparent uk-light">
149
        <div class="uk-container uk-container-expand">
150
          <nav class="uk-navbar" uk-navbar="{&quot;align&quot;:&quot;left&quot;}">
151
            <div class="uk-navbar-left">
152
              <a [routerLink]="['landing']" class="uk-logo uk-navbar-item">
153
                <img src="assets/imgs/OA_PROVIDE_B.png" alt="OpenAIRE" class="uk-responsive-height">
154
              </a>
155
            </div>
156

    
157
            <!-- THERE WAS COMMENTED SCRIPT HERE - CHECK REPOSITORYMANAGER.HTML -->
158

    
159
            <div class="uk-navbar-center" *ngIf="getIsUserLoggedIn()" >
160

    
161
              <ul class="uk-navbar-nav">
162
                <li class="uk-parent" [routerLinkActive]="['uk-active']">
163
                  <a [routerLink]="['dashboard']" [routerLinkActive]="['uk-active']">
164
                    Dashboard
165
                  </a>
166
                </li>
167
                <li class="uk-parent" [routerLinkActive]="['uk-active']"><a href="#" class=""
168
                                                                            aria-expanded="false">Sources</a>
169
                  <div class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left" style="top: 80px; left: 106.55px;"
170
                       id="sourcesMenu" (click)="onClick('sourcesMenu')">
171
                    <div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid="">
172
                      <div class="uk-first-column">
173
                        <ul class="uk-nav uk-navbar-dropdown-nav">
174
                          <li><a [routerLink]="['/sources','register']" id="registerLink">Register</a></li>
175
                          <li><a [routerLink]="['/sources', 'update']">Update</a></li>
176
                        </ul>
177
                      </div>
178
                    </div>
179
                  </div>
180
                </li>
181
                <li class="uk-parent" [routerLinkActive]="['uk-active']"><a href="#" class=""
182
                                                                            aria-expanded="false">Compatibility</a>
183
                  <div class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left" style="top: 80px; left: 106.55px;"
184
                       id="compatibilityMenu" (click)="onClick('compatibilityMenu')">
185
                    <div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid="">
186
                      <div class="uk-first-column">
187
                        <ul class="uk-nav uk-navbar-dropdown-nav">
188
                          <li><a [routerLink]="['/compatibility','validate']">Validate</a></li>
189
                          <li><a [routerLink]="['/compatibility','browseHistory']">Validation History</a></li>
190
                          <li><a [routerLink]="['/compatibility','monitor']">Collection Monitor</a></li>
191
                        </ul>
192
                      </div>
193
                    </div>
194
                  </div>
195
                </li>
196
                <li class="uk-parent" [routerLinkActive]="['uk-active']"><a href="#" class=""
197
                                                                            aria-expanded="false">Content</a>
198
                  <div class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left" style="top: 80px; left: 106.55px;"
199
                       id="contentMenu" (click)="onClick('contentMenu')">
200
                    <div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid="">
201
                      <div class="uk-first-column">
202
                        <ul class="uk-nav uk-navbar-dropdown-nav">
203
                          <li><a [routerLink]="['/content','events']">Events</a></li>
204
                          <li><a [routerLink]="['/content','notifications']">Notifications</a></li>
205
                        </ul>
206
                      </div>
207
                    </div>
208
                  </div>
209
                </li>
210
                <li class="uk-parent">
211
                  <a [routerLink]="['/getImpact']" [routerLinkActive]="['uk-active']">
212
                    Metrics
213
                  </a>
214
                </li>
215
              </ul>
216
            </div>
217
            <div class="uk-navbar-right">
218

    
219
              <ul *ngIf="!getIsUserLoggedIn()" class="uk-navbar-nav">
220
                <li class="uk-parent">
221
                  <a class="loginLink" (click)="login()">
222
                    <span class="uk-margin-small-right uk-icon">
223
                      <svg height="20" ratio="1" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg">
224
                        <circle cx="9.9" cy="6.4" fill="none" r="4.4" stroke="#000" stroke-width="1.1"></circle>
225
                        <path d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2" fill="none" stroke="#000" stroke-width="1.1"></path>
226
                      </svg>
227
                    </span>
228
                    Sign in | Register
229
                  </a>
230
                </li>
231
              </ul>
232

    
233
              <ul *ngIf="getIsUserLoggedIn()" class="uk-navbar-nav">
234
                <li class="uk-parent">
235
                  <a class="loginLink" aria-expanded="false">
236
                    <span class="uk-margin-small-right uk-icon">
237
                      <svg height="20" ratio="1" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg">
238
                        <circle cx="9.9" cy="6.4" fill="none" r="4.4" stroke="#000" stroke-width="1.1"></circle>
239
                        <path d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2" fill="none" stroke="#000" stroke-width="1.1"></path>
240
                      </svg>
241
                    </span>
242
                    {{ getUserName() }}
243
                  </a>
244
                  <div class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left" style="top: 80px; left: 106.55px;"
245
                       id="userMenu" (click)="onClick('userMenu')">
246
                    <div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid="">
247
                      <div class="uk-first-column">
248
                        <ul class="uk-nav uk-navbar-dropdown-nav">
249
                          <ul *ngIf="getIsUserAdmin()" class="uk-nav uk-navbar-dropdown-nav">
250
                            <li class="uk-nav-header" style="display: block;">Admin</li>
251
                            <li style="display: block"><a href="{{adminHomePage}}" target="_blank">Help Texts</a></li>
252
                            <li style="display: block" class="uk-margin-small-bottom"><a [routerLink]="['/admin','metrics']">Metrics</a></li>
253
                          </ul>
254
                          <li><a class="logoutLink loginLink" (click)="logout()">Log out</a></li>
255
                        </ul>
256
                      </div>
257
                    </div>
258
                  </div>
259
                </li>
260
              </ul>
261

    
262
            </div>
263
          </nav>
264
        </div>
265
      </div>
266

    
267
      <div class="uk-sticky-placeholder" style="height: 84px; margin: 0px;" hidden="hidden"></div>
268
    </div>
269

    
270
  </div>
271
</div>
272

    
(2-2/3)