Project

General

Profile

1
<div *ngIf="showMenu">
2
<div class="tm-header-mobile uk-hidden@m">
3
   <nav class="uk-navbar-container uk-navbar" uk-navbar="">
4
     <div *ngIf="properties.environment =='beta'" class="uk-position-top-left">
5
       <img  class="small-beta-indication" src="{{logoPath}}beta_flag.svg" alt="BETA">
6
     </div>
7
     <!--     class="uk-navbar-right"--> <!-- if we want to revert the menu - put it on the right -->
8
     <div *ngIf="!onlyTop || userMenu" class="uk-navbar-left">
9
       <a class="uk-navbar-toggle" href="#tm-mobile" uk-toggle="" style="z-index:1000;">
10
         <div uk-navbar-toggle-icon="" class="uk-navbar-toggle-icon uk-icon custom-navbar-toggle-icon"> </div>
11
       </a>
12
     </div>
13
      <div class="uk-navbar-center">
14
         <a *ngIf="!community" class="uk-navbar-item uk-logo"  routerLinkActive="uk-link" routerLink="/" >
15
           <img  src="{{logoPath}}logo-small-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
16
          </a>
17
          <a *ngIf="community && !homeurl" class="uk-navbar-item uk-logo"  [href]="'https://'+(properties.environment =='beta'?'beta.':'')+community.id+'.openaire.eu'"  target="_blank">
18
            <img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"  [alt]=community.name  class="uk-responsive-height">
19
            <div *ngIf="!community.logoUrl || community.logoUrl.length == 0  || showCommunityName" class="uk-margin-left uk-text-large">
20
              {{community.name}} </div>
21
           </a>
22
           <a *ngIf="community && homeurl" class="uk-navbar-item uk-logo"   routerLinkActive="uk-link" routerLink="/" >
23
             <img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" [alt]=community.name class="uk-responsive-height">
24
             <div *ngIf="!community.logoUrl || community.logoUrl.length == 0  || showCommunityName" class="uk-margin-left uk-text-large">
25
               {{community.name}} </div>
26
            </a>
27

    
28
      </div>
29
      <!--div class="uk-navbar-right uk-margin-xlarge-top">
30
         <user-mini></user-mini>
31
      </div-->
32
   </nav>
33
<!--  uk-offcanvas="flip: true"--> <!-- if we want to revert the menu - put it on the right -->
34
   <div  id="tm-mobile" uk-offcanvas="" mode="slide" overlay="" class="uk-offcanvas uk-hidden@m" style="z-index:10000;" >
35
      <div class="uk-offcanvas-bar">
36
         <button class="uk-offcanvas-close uk-close uk-icon" type="button" uk-close=""></button>
37
         <div class="uk-child-width-1-1 uk-grid" uk-grid="">
38
            <div>
39
               <div  *ngIf= "isClient" class="uk-panel" id="module-0">
40
                  <ul class="uk-nav uk-nav-default">
41
                    <li class="uk-nav-header uk-parent" >
42
                      Dashboards
43
                      <ul class="uk-nav-sub">
44
                    		<li *ngIf="portal!='explore'"><a [href]="'https://'+(properties.environment =='beta' || properties.environment =='development' ?'beta.':'')+'explore.openaire.eu'" target="_blank" class="uk-heading-bullet explore-heading-bullet">EXPLORE</a></li>
45
                    		<li *ngIf="portal!='provide'"><a [href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.':'')+'provide.openaire.eu'" target="_blank" class="uk-heading-bullet provide-heading-bullet">PROVIDE</a></li>
46
                    		<li *ngIf="portal!='connect'"><a [href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.':'')+'connect.openaire.eu'" target="_blank" class="uk-heading-bullet connect-heading-bullet">CONNECT</a></li>
47
                    		<li *ngIf="portal!='monitor'"><a [href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.openaire.eu/monitor':'monitor.openaire.eu')" target="_blank" class="uk-heading-bullet monitor-heading-bullet">MONITOR</a></li>
48
                    		<li *ngIf="portal!='develop'"><a href="https://develop.openaire.eu" target="_blank" class="uk-heading-bullet develop-heading-bullet">DEVELOP</a></li>
49
                      </ul>
50
                    </li>
51
                    <ng-container *ngIf="!onlyTop" >
52
                      <ng-container *ngFor="let menu of menuItems">
53
                        <li class="uk-nav-header uk-parent " *ngIf="showHomeMenuItem && getCurrentRoute()!='/'">
54
                          <a   routerLinkActive="uk-link" routerLink="/">Home</a>
55
                        </li>
56
                      <li class="uk-nav-header uk-parent" *ngIf="isAtleastOneEnabled(menu.rootItem.entitiesRequired,showEntity) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage)">
57
                         <!--a routerLinkActive="uk-link" routerLink="{{menu.rootItem.route}}"  [queryParams]=menu.rootItem.params class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a-->
58
                         <a *ngIf="menu.rootItem.route.length > 0 && isEnabled([menu.rootItem.route], showPage) || !menu.rootItem.routeRequired " routerLinkActive="uk-link" routerLink="{{menu.rootItem.route}}"  [queryParams]=menu.rootItem.params class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a>
59
                         <a *ngIf="menu.rootItem.route.length == 0 && menu.rootItem.url.length > 0" routerLinkActive="uk-link"  href="{{menu.rootItem.url}}" target="_blank" class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a>
60
                        <a *ngIf="(menu.rootItem.route.length == 0 && menu.rootItem.url.length == 0) ||  (menu.rootItem.route.length >0 && menu.rootItem.routeRequired && !isEnabled([menu.rootItem.route], showPage) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage))"   class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a>
61

    
62
                         <ul class="uk-nav-sub">
63
                           <ng-container *ngFor="let submenu of menu.items">
64
                              <li   *ngIf="isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage)  && (submenu.route.length > 0 || submenu.url.length > 0)">
65
                                <a *ngIf="submenu.route.length > 0" routerLinkActive="uk-link" routerLink="{{submenu.route}}"  [queryParams]=submenu.params class="uk-offcanvas-close custom-offcanvas-close">{{submenu.title}}</a>
66
                                <a *ngIf="submenu.route.length == 0 && submenu.url.length > 0" routerLinkActive="uk-link"  href="{{submenu.url}}" target="_blank" class="uk-offcanvas-close custom-offcanvas-close">{{submenu.title}}</a>
67

    
68
                              </li>
69
                              <li *ngIf="submenu.route.length == 0 && submenu.url.length == 0 && isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage)" class="uk-nav-header">{{submenu.title}}</li>
70
                            </ng-container>
71

    
72
                         </ul>
73
                      </li>
74
                    </ng-container>
75
                  </ng-container>
76
                      <ng-container *ngIf="userMenu">
77
                       <user-mini [user]="user"  mobileView=true [redirectUrl]="(communityId)?null:properties.afterLoginRedirectLink" [userMenuItems]=userMenuItems [logInUrl]=properties.loginUrl [logOutUrl]=properties.logoutUrl [cookieDomain]=properties.cookieDomain></user-mini>
78
                     </ng-container>
79
                  </ul>
80
               </div>
81
            </div>
82

    
83
         </div>
84
      </div>
85
   </div>
86
</div>
87
<div *ngIf="specialAnnouncementContent" class="uk-hidden@m" [innerHTML]="specialAnnouncementContent">
88

    
89
</div>
90
<div *ngIf="!community && portal != 'connect-admin'" class="tm-toolbar custom-{{portal}}-toolbar uk-visible@m">
91
   <div class="uk-container uk-flex uk-flex-middle uk-container-expand">
92
      <div class="uk-margin-auto-left">
93
         <div class="uk-grid-medium uk-child-width-auto uk-flex-middle uk-grid uk-grid-stack" uk-grid="margin: uk-margin-small-top">
94
            <div class="uk-first-column">
95
               <div class="uk-panel inner" id="module-119">
96
                  <ul class="uk-subnav uk-subnav-line">
97
                     <li ><a [href]="'https://'+(properties.environment =='beta'?'beta':'www')+'.openaire.eu'" target="_blank" class="home-icon"><span class="uk-responsive-height" >
98
                      <svg xmlns="http://www.w3.org/2000/svg" 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" xml:space="preserve"><path id="home" 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-rule="evenodd" fill="#fff"/></svg>
99
                     </span></a></li>
100
                     <li  [class]="(portal=='explore')?'custom-'+portal+'-li':''"><a [href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.':'')+'explore.openaire.eu'" title="Search in OA. Link your research">Explore</a></li>
101
                     <li [class]="(portal=='provide')?'custom-'+portal+'-li':''"><a [href]="'https://'+(properties.environment =='beta'  || properties.environment =='development'?'beta.':'')+'provide.openaire.eu'" target="_blank" title="Content Provider Dashboard">Provide</a></li>
102
                     <li [class]="(portal=='connect'||portal=='connect-admin')?'custom-'+portal+'-li':''"><a [href]="'https://'+(properties.environment =='beta'  || properties.environment =='development' ?'beta.':'')+'connect.openaire.eu'" target="_blank" title="Research Community Dashboard">Connect</a></li>
103
                     <li [class]="(portal=='monitor')?'custom-'+portal+'-li':''"><a [href]="'https://'+(properties.environment =='beta'  || properties.environment =='development'?'beta.openaire.eu/monitor':'monitor.openaire.eu')" target="_blank" title="Monitoring Dashboard">Monitor</a></li>
104
                     <li [class]="(portal=='develop')?'custom-'+portal+'-li':''"><a href="https://develop.openaire.eu" target="_blank" title="APIs">Develop</a></li>
105
                  </ul>
106
               </div>
107
            </div>
108
         </div>
109
      </div>
110
   </div>
111
</div>
112
<div *ngIf="specialAnnouncementContent" class="uk-visible@m" [innerHTML]="specialAnnouncementContent">
113

    
114
</div>
115
<div class="tm-header uk-visible@m tm-header-transparent" uk-header="">
116
   <div id="stickyNavbar" [class]="'uk-navbar-container uk-sticky uk-navbar-transparent '+portal+'-menu'" uk-sticky="" media="768" cls-active="uk-active uk-navbar-sticky" animation="uk-animation-slide-top" top=".tm-header + [class*=&quot;uk-section&quot;]" cls-inactive="uk-navbar-transparent" style="">
117
      <div class="uk-container uk-container-expand">
118
         <nav class="uk-navbar" uk-navbar="{&quot;align&quot;:&quot;left&quot;}">
119
            <div class="uk-navbar-left  uk-visible@l  ">
120
              <div *ngIf="properties.environment =='beta'" class="uk-position-top-left">
121
                <img class="large-beta-indication" src="{{logoPath}}beta_flag.svg" alt="BETA">
122
              </div>
123
               <a *ngIf="!community" routerLinkActive="uk-link" routerLink="/"  class="uk-logo uk-navbar-item">
124
                 <img  src="{{logoPath}}logo-large-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
125
               </a>
126

    
127
               <a *ngIf="community  && homeurl" routerLinkActive="uk-link" routerLink="/"  class="uk-logo uk-navbar-item">
128

    
129
                 <img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"  [alt]=community.name class="uk-responsive-height">
130
                 <div *ngIf="!community.logoUrl || community.logoUrl.length == 0 || showCommunityName" class="uk-margin-left uk-text-large"> {{community.name}} </div>
131
               </a>
132
               <a *ngIf="community  && !homeurl" [href]="'https://'+(properties.environment =='beta'?'beta.':'')+community.id+'.openaire.eu'" target="_blank"  class="uk-logo uk-navbar-item">
133

    
134
                 <img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"  [alt]=community.name class="uk-responsive-height">
135
                 <div *ngIf="!community.logoUrl || community.logoUrl.length == 0 || showCommunityName"
136
                      class="uk-margin-left uk-text-large"> {{community.name}} </div>
137
               </a>
138

    
139
              <div   *ngIf="enableSearch && isEnabled([searchRoute], showPage) && getCurrentRoute()=='/'"
140
                     class="  uk-margin-large-left  uk-width-medium">
141

    
142
                <div class="">
143
                  <form class="uk-search uk-search-default uk-width-1-1">
144
                    <a routerLinkActive="uk-link"
145
                       routerLink="{{searchRoute}}" [queryParams]="{keyword: keyword}"  class="uk-search-icon-flip" uk-search-icon></a>
146
                    <input class="uk-search-input" type="search"  [placeholder]="searchPlaceHolder"
147
                           aria-describedby="sizing-addon2"  [(ngModel)]="keyword"  name="keyword"  >
148
                  </form>
149
                </div>
150
              </div>
151
            </div>
152
            <div class="uk-navbar-left  uk-visible@m uk-hidden@l uk-width-1-3">
153
              <div *ngIf="properties.environment =='beta'" class="uk-position-top-left">
154
                <img class="large-beta-indication" src="{{logoPath}}beta_flag.svg" alt="BETA">
155
              </div>
156
               <a  *ngIf="!community" routerLinkActive="uk-link" routerLink="/"  class="uk-logo uk-navbar-item">
157
                 <img   src="{{logoPath}}logo-small-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
158
               </a>
159
               <a  *ngIf="community && homeurl" routerLinkActive="uk-link" routerLink="/"  class="uk-logo uk-navbar-item">
160
                 <img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"   [alt]=community.name class="uk-responsive-height">
161
                 <div *ngIf="!community.logoUrl || community.logoUrl.length == 0  || showCommunityName"
162
                      class="uk-margin-left uk-text-large"> {{community.name}} </div>
163
               </a>
164
               <a  *ngIf="community && !homeurl"  [href]="'https://'+(properties.environment =='beta'?'beta.':'')+community.id+'.openaire.eu'" target="_blank"  class="uk-logo uk-navbar-item">
165
                 <img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"   [alt]=community.name class="uk-responsive-height">
166
                 <div *ngIf="!community.logoUrl || community.logoUrl.length == 0  || showCommunityName"
167
                      class="uk-margin-left uk-text-large"> {{community.name}} </div>
168
               </a>
169

    
170
            </div>
171

    
172
            <!-- <div   *ngIf="!onlyTop" class="uk-navbar-center"> -->
173
            <div   *ngIf="!onlyTop" class="uk-navbar-right uk-position-top-right">
174
               <ul *ngIf= "isClient" [class]="'uk-navbar-nav'+(!userMenu?' uk-margin-right':'')">
175
                 <li class="uk-parent" *ngIf="showHomeMenuItem && getCurrentRoute()!='/'">
176
                   <a   routerLinkActive="uk-link" routerLink="/">Home</a>
177
                 </li>
178
                   <ng-container *ngFor="let menu of menuItems">
179
                   <li  [class]="(isTheActiveMenu(menu)?'uk-active':'')+' uk-parent'"
180
                        *ngIf="isAtleastOneEnabled(menu.rootItem.entitiesRequired,showEntity) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage)">
181
                      <!--a routerLinkActive="uk-link" routerLink="{{menu.rootItem.route}}"   [queryParams]=menu.rootItem.params class="" aria-expanded="false">{{menu.rootItem.title}}</a-->
182
                      <a *ngIf="menu.rootItem.route.length > 0 && (isEnabled([menu.rootItem.route], showPage) || !menu.rootItem.routeRequired )" routerLinkActive="uk-link" routerLink="{{menu.rootItem.route}}"  [queryParams]=menu.rootItem.params > {{menu.rootItem.title}}</a>
183
                      <a *ngIf="menu.rootItem.route.length == 0 && menu.rootItem.url.length > 0" routerLinkActive="uk-link"  href="{{menu.rootItem.url}}" target="_blank"  aria-expanded="false">{{menu.rootItem.title}}</a>
184
                      <a *ngIf="(menu.rootItem.route.length == 0 && menu.rootItem.url.length == 0) || ( menu.rootItem.route.length >0 && menu.rootItem.routeRequired && !isEnabled([menu.rootItem.route], showPage) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage)) "   class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a>
185

    
186

    
187
                      <div *ngIf="menu.items.length > 0" class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left" style="top: 80px; left: 0px;" id="{{menu.rootItem.id}}" (click)="onClick(menu.rootItem.id)">
188
                         <div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid="">
189
                            <div class="uk-first-column uk-height-max-medium uk-overflow-auto">
190
                               <ul class="uk-nav uk-navbar-dropdown-nav">
191
                                  <ng-container *ngFor="let submenu of menu.items">
192
                                      <li  *ngIf="isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage) && (submenu.route.length > 0 || submenu.url.length > 0)">
193
                                        <a *ngIf="submenu.route.length > 0" routerLinkActive="uk-link" routerLink="{{submenu.route}}" [queryParams]=submenu.params  >{{submenu.title}}</a>
194
                                        <a *ngIf="submenu.route.length == 0 && submenu.url.length > 0" routerLinkActive="uk-link"  href="{{submenu.url}}" target="_blank">{{submenu.title}}</a>
195
                                      </li>
196
                                      <li *ngIf="submenu.route.length == 0 && submenu.url.length == 0 && isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage)" class="uk-nav-header">{{submenu.title}}</li>
197
                                   </ng-container>
198
                               </ul>
199
                            </div>
200
                         </div>
201
                      </div>
202

    
203
                   </li>
204
                  </ng-container>
205

    
206
               </ul>
207
            <!-- </div> -->
208
            <!-- <div  *ngIf="userMenu" class="uk-navbar-right"> -->
209
            <!-- <div  *ngIf="userMenu" class="uk-navbar-right"> -->
210
                  <user-mini *ngIf="userMenu" [user]="user"
211
                             [redirectUrl]="(communityId)?null:properties.afterLoginRedirectLink"
212
                             [userMenuItems]=userMenuItems [logInUrl]=properties.loginUrl [logOutUrl]=properties.logoutUrl [cookieDomain]=properties.cookieDomain></user-mini>
213

    
214
            </div>
215
         </nav>
216
      </div>
217
   </div>
218

    
219
</div>
220
<div class="first_page_section uk-section-default uk-section uk-padding-remove-vertical">
221
   <div class="first_page_banner_headline uk-grid-collapse uk-flex-middle uk-margin-remove-vertical uk-grid uk-grid-stack" uk-grid="">
222
   </div>
223
</div>
224
</div>
(7-7/9)