1 |
51294
|
argiro.kok
|
<div *ngIf="showMenu">
|
2 |
57402
|
argiro.kok
|
<div *ngIf="properties.environment =='beta' || properties.environment =='development'"
|
3 |
59007
|
k.triantaf
|
class="uk-visible@m">
|
4 |
58582
|
argiro.kok
|
<a [routerLink]="logoRoute" [href]="logoUrl"><img class="large-beta-indication"
|
5 |
59007
|
k.triantaf
|
[src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
|
6 |
|
|
alt="BETA">
|
7 |
58582
|
argiro.kok
|
</a>
|
8 |
57402
|
argiro.kok
|
</div>
|
9 |
59007
|
k.triantaf
|
<div class="tm-header-mobile uk-hidden@m">
|
10 |
|
|
<nav class="uk-navbar-container uk-navbar" uk-navbar="">
|
11 |
|
|
<div *ngIf="properties.environment =='beta' || properties.environment =='development'"
|
12 |
|
|
class="uk-position-top-left">
|
13 |
|
|
<img class="small-beta-indication"
|
14 |
|
|
[src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
|
15 |
|
|
alt="BETA">
|
16 |
|
|
</div>
|
17 |
|
|
<!-- class="uk-navbar-right"--> <!-- if we want to revert the menu - put it on the right -->
|
18 |
|
|
<div *ngIf="!onlyTop || userMenu" class="uk-navbar-left">
|
19 |
|
|
<a class="uk-navbar-toggle" href="#tm-mobile" uk-toggle="" style="z-index:1000;">
|
20 |
|
|
<div uk-navbar-toggle-icon="" class="uk-navbar-toggle-icon uk-icon custom-navbar-toggle-icon"></div>
|
21 |
|
|
</a>
|
22 |
|
|
<a *ngIf="community && !homeurl" class="uk-navbar-item uk-logo"
|
23 |
|
|
[href]="'https://'+(properties.environment =='beta'?'beta.':'')+community.id+'.openaire.eu'" target="_blank">
|
24 |
|
|
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"
|
25 |
|
|
[alt]=community.name class="uk-responsive-height">
|
26 |
|
|
<div *ngIf="!community.logoUrl || community.logoUrl.length == 0 || showCommunityName"
|
27 |
|
|
class="uk-margin-left uk-text-large">
|
28 |
|
|
{{community.name}} </div>
|
29 |
|
|
</a>
|
30 |
|
|
<a *ngIf="community && homeurl" class="uk-navbar-item uk-logo" routerLinkActive="uk-link" routerLink="/">
|
31 |
|
|
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"
|
32 |
|
|
[alt]=community.name class="uk-responsive-height">
|
33 |
|
|
<div *ngIf="!community.logoUrl || community.logoUrl.length == 0 || showCommunityName"
|
34 |
|
|
class="uk-margin-left uk-text-large">
|
35 |
|
|
{{community.name}} </div>
|
36 |
|
|
</a>
|
37 |
|
|
<div *ngIf="enableSearch && isEnabled([searchRoute], showPage)"
|
38 |
|
|
class=" uk-width-large ">
|
39 |
|
|
<search-bar [searchPlaceHolder]="searchPlaceHolder"
|
40 |
58552
|
argiro.kok
|
[searchRoute]="searchRoute" [properties]="properties" [communityId]="communityId"></search-bar>
|
41 |
59007
|
k.triantaf
|
</div>
|
42 |
|
|
</div>
|
43 |
50169
|
argiro.kok
|
<div class="uk-navbar-center">
|
44 |
59007
|
k.triantaf
|
<a *ngIf="!community" class="uk-navbar-item uk-logo"
|
45 |
|
|
routerLinkActive="uk-link" routerLink="/">
|
46 |
|
|
<img src="{{logoPath}}logo-small-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
|
47 |
|
|
</a>
|
48 |
50169
|
argiro.kok
|
</div>
|
49 |
|
|
<!--div class="uk-navbar-right uk-margin-xlarge-top">
|
50 |
|
|
<user-mini></user-mini>
|
51 |
|
|
</div-->
|
52 |
59007
|
k.triantaf
|
</nav>
|
53 |
|
|
<!-- uk-offcanvas="flip: true"--> <!-- if we want to revert the menu - put it on the right -->
|
54 |
|
|
<div id="tm-mobile" uk-offcanvas="" mode="slide" overlay="" class="uk-offcanvas uk-hidden@m" style="z-index:10000;">
|
55 |
50169
|
argiro.kok
|
<div class="uk-offcanvas-bar">
|
56 |
59007
|
k.triantaf
|
<button class="uk-offcanvas-close uk-close uk-icon" type="button" uk-close=""></button>
|
57 |
|
|
<div class="uk-child-width-1-1 uk-grid" uk-grid="">
|
58 |
|
|
<div>
|
59 |
|
|
<div class="uk-panel" id="module-0">
|
60 |
|
|
<ul class="uk-nav uk-nav-default">
|
61 |
|
|
<li *ngIf="portal != 'usage-statistics' && !stakeholder" class="uk-nav-header uk-parent">
|
62 |
|
|
Dashboards
|
63 |
|
|
<ul class="uk-nav-sub">
|
64 |
|
|
<li *ngIf="portal!='explore'"><a
|
65 |
|
|
[href]="'https://'+(properties.environment =='beta' || properties.environment =='development' ?'beta.':'')+'explore.openaire.eu'"
|
66 |
|
|
target="_blank" class="uk-heading-bullet explore-heading-bullet">EXPLORE</a></li>
|
67 |
|
|
<li *ngIf="portal!='provide'"><a
|
68 |
|
|
[href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.':'')+'provide.openaire.eu'"
|
69 |
|
|
target="_blank" class="uk-heading-bullet provide-heading-bullet">PROVIDE</a></li>
|
70 |
|
|
<li *ngIf="portal!='connect'"><a
|
71 |
|
|
[href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.':'')+'connect.openaire.eu'"
|
72 |
|
|
target="_blank" class="uk-heading-bullet connect-heading-bullet">CONNECT</a></li>
|
73 |
|
|
<li *ngIf="portal!='monitor'"><a [href]="'https://'+(properties.environment =='beta' ||
|
74 |
|
|
properties.environment =='development'?'beta.':'')+'monitor.openaire.eu'" target="_blank"
|
75 |
|
|
class="uk-heading-bullet monitor-heading-bullet">MONITOR</a></li>
|
76 |
|
|
<li *ngIf="portal!='develop'"><a href="https://develop.openaire.eu" target="_blank"
|
77 |
|
|
class="uk-heading-bullet develop-heading-bullet">DEVELOP</a></li>
|
78 |
|
|
</ul>
|
79 |
|
|
</li>
|
80 |
|
|
<ng-container *ngIf="!onlyTop">
|
81 |
|
|
<ng-container *ngFor="let menu of menuItems">
|
82 |
|
|
<li class="uk-nav-header uk-parent " *ngIf="showHomeMenuItem && getCurrentRoute()!='/'">
|
83 |
|
|
<a routerLinkActive="uk-link" routerLink="/">Home</a>
|
84 |
53379
|
argiro.kok
|
</li>
|
85 |
59007
|
k.triantaf
|
<li class="uk-nav-header uk-parent"
|
86 |
|
|
*ngIf="isAtleastOneEnabled(menu.rootItem.entitiesRequired,showEntity) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage)">
|
87 |
|
|
<!--a routerLinkActive="uk-link" routerLink="{{menu.rootItem.route}}" [queryParams]=menu.rootItem.params class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a-->
|
88 |
|
|
<a *ngIf="menu.rootItem.route.length > 0 && isEnabled([menu.rootItem.route], showPage) || !menu.rootItem.routeRequired "
|
89 |
|
|
routerLinkActive="uk-link" routerLink="{{menu.rootItem.route}}"
|
90 |
|
|
[queryParams]=menu.rootItem.params
|
91 |
|
|
class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a>
|
92 |
|
|
<a *ngIf="menu.rootItem.route.length == 0 && menu.rootItem.url.length > 0"
|
93 |
|
|
routerLinkActive="uk-link" href="{{menu.rootItem.url}}" target="_blank"
|
94 |
|
|
class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a>
|
95 |
|
|
<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))"
|
96 |
|
|
class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a>
|
97 |
54623
|
argiro.kok
|
|
98 |
59007
|
k.triantaf
|
<ul class="uk-nav-sub">
|
99 |
|
|
<ng-container *ngFor="let submenu of menu.items">
|
100 |
|
|
<li *ngIf="isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage) && (submenu.route.length > 0 || submenu.url.length > 0)">
|
101 |
|
|
<a *ngIf="submenu.route.length > 0" routerLinkActive="uk-link"
|
102 |
|
|
routerLink="{{submenu.route}}" [queryParams]=submenu.params
|
103 |
|
|
class="uk-offcanvas-close custom-offcanvas-close">{{submenu.title}}</a>
|
104 |
|
|
<a *ngIf="submenu.route.length == 0 && submenu.url.length > 0" routerLinkActive="uk-link"
|
105 |
|
|
href="{{submenu.url}}" target="_blank"
|
106 |
|
|
class="uk-offcanvas-close custom-offcanvas-close">{{submenu.title}}</a>
|
107 |
53967
|
argiro.kok
|
|
108 |
59007
|
k.triantaf
|
</li>
|
109 |
|
|
<li *ngIf="submenu.route.length == 0 && submenu.url.length == 0 && isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage)"
|
110 |
|
|
class="uk-nav-header">{{submenu.title}}</li>
|
111 |
|
|
</ng-container>
|
112 |
50586
|
argiro.kok
|
|
113 |
59007
|
k.triantaf
|
</ul>
|
114 |
|
|
</li>
|
115 |
50322
|
argiro.kok
|
</ng-container>
|
116 |
59007
|
k.triantaf
|
</ng-container>
|
117 |
|
|
<ng-container *ngIf="userMenu">
|
118 |
|
|
<user-mini [user]="user" mobileView=true
|
119 |
|
|
[redirectUrl]="(communityId && communityId !== 'connect')?null:properties.afterLoginRedirectLink"
|
120 |
|
|
[userMenuItems]=userMenuItems [logInUrl]=properties.loginUrl
|
121 |
|
|
[logOutUrl]=properties.logoutUrl [cookieDomain]=properties.cookieDomain></user-mini>
|
122 |
|
|
</ng-container>
|
123 |
|
|
</ul>
|
124 |
50169
|
argiro.kok
|
</div>
|
125 |
59007
|
k.triantaf
|
</div>
|
126 |
50169
|
argiro.kok
|
|
127 |
59007
|
k.triantaf
|
</div>
|
128 |
50169
|
argiro.kok
|
</div>
|
129 |
59007
|
k.triantaf
|
</div>
|
130 |
|
|
</div>
|
131 |
|
|
<div *ngIf="specialAnnouncementContent" class="uk-hidden@m" [innerHTML]="specialAnnouncementContent">
|
132 |
50169
|
argiro.kok
|
|
133 |
59007
|
k.triantaf
|
</div>
|
134 |
|
|
<div *ngIf="!community && !stakeholder && portal != 'connect-admin' && portal != 'usage-statistics'"
|
135 |
|
|
class="tm-toolbar custom-{{portal}}-toolbar uk-visible@m">
|
136 |
|
|
<div class="uk-container uk-flex uk-flex-middle uk-container-expand">
|
137 |
50169
|
argiro.kok
|
<div class="uk-margin-auto-left">
|
138 |
59007
|
k.triantaf
|
<div class="uk-grid-medium uk-child-width-auto uk-flex-middle uk-grid uk-grid-stack"
|
139 |
|
|
uk-grid="margin: uk-margin-small-top">
|
140 |
|
|
<div class="uk-first-column">
|
141 |
|
|
<div class="uk-panel inner" id="module-119">
|
142 |
|
|
<ul class="uk-subnav uk-subnav-line">
|
143 |
|
|
<li><a [href]="'https://'+(properties.environment =='beta'?'beta':'www')+'.openaire.eu'" target="_blank"
|
144 |
|
|
class="home-icon"><span class="uk-responsive-height">
|
145 |
|
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
146 |
|
|
enable-background="new 0 0 20 20" height="20px" id="Layer_1" version="1.1"
|
147 |
|
|
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>
|
148 |
50169
|
argiro.kok
|
</span></a></li>
|
149 |
59007
|
k.triantaf
|
<li [class]="(portal=='explore')?'custom-'+portal+'-li':''"><a
|
150 |
|
|
[href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.':'')+'explore.openaire.eu'"
|
151 |
|
|
title="Search in OA. Link your research">Explore</a></li>
|
152 |
|
|
<li [class]="(portal=='provide')?'custom-'+portal+'-li':''"><a
|
153 |
|
|
[href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.':'')+'provide.openaire.eu'"
|
154 |
|
|
target="_blank" title="Content Provider Dashboard">Provide</a></li>
|
155 |
|
|
<li [class]="(portal=='connect'||portal=='connect-admin')?'custom-'+portal+'-li':''"><a
|
156 |
|
|
[href]="'https://'+(properties.environment =='beta' || properties.environment =='development' ?'beta.':'')+'connect.openaire.eu'"
|
157 |
|
|
target="_blank" title="Research Community Dashboard">Connect</a></li>
|
158 |
|
|
<li [class]="(portal=='monitor')?'custom-'+portal+'-li':''"><a
|
159 |
|
|
[href]="'https://'+(properties.environment =='beta' || properties.environment =='development'?'beta.':'')+'monitor.openaire.eu'"
|
160 |
|
|
target="_blank" title="Monitoring Dashboard">Monitor</a></li>
|
161 |
|
|
<li [class]="(portal=='develop')?'custom-'+portal+'-li':''"><a href="https://develop.openaire.eu"
|
162 |
|
|
target="_blank" title="APIs">Develop</a>
|
163 |
|
|
</li>
|
164 |
|
|
</ul>
|
165 |
50169
|
argiro.kok
|
</div>
|
166 |
59007
|
k.triantaf
|
</div>
|
167 |
|
|
</div>
|
168 |
50169
|
argiro.kok
|
</div>
|
169 |
59007
|
k.triantaf
|
</div>
|
170 |
|
|
</div>
|
171 |
|
|
<div *ngIf="specialAnnouncementContent" class="uk-visible@m" [innerHTML]="specialAnnouncementContent">
|
172 |
50169
|
argiro.kok
|
|
173 |
59007
|
k.triantaf
|
</div>
|
174 |
|
|
<div class="tm-header uk-visible@m tm-header-transparent" uk-header="">
|
175 |
|
|
<div id="stickyNavbar" [class]="'uk-navbar-container uk-sticky uk-navbar-transparent '+portal+'-menu'" uk-sticky=""
|
176 |
|
|
media="768" cls-active="uk-active uk-navbar-sticky" animation="uk-animation-slide-top"
|
177 |
|
|
top=".tm-header + [class*="uk-section"]" cls-inactive="uk-navbar-transparent" style="">
|
178 |
|
|
<div *ngIf="properties.environment =='beta' || properties.environment =='development'">
|
179 |
|
|
<img class="beta-indication-sticky"
|
180 |
|
|
[src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
|
181 |
|
|
alt="BETA">
|
182 |
|
|
</div>
|
183 |
50169
|
argiro.kok
|
<div class="uk-container uk-container-expand">
|
184 |
59007
|
k.triantaf
|
<nav class="uk-navbar" uk-navbar="{"align":"left"}">
|
185 |
|
|
<div *ngIf="showLogo" class="uk-navbar-left uk-visible@l">
|
186 |
|
|
<a *ngIf="!community" routerLinkActive="uk-link" routerLink="/"
|
187 |
|
|
class="uk-logo uk-navbar-item">
|
188 |
|
|
<img src="{{logoPath}}logo-large-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
|
189 |
|
|
</a>
|
190 |
|
|
<a *ngIf="community && homeurl" routerLinkActive="uk-link" routerLink="/" class="uk-logo uk-navbar-item">
|
191 |
50586
|
argiro.kok
|
|
192 |
59007
|
k.triantaf
|
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"
|
193 |
|
|
[alt]=community.name class="uk-responsive-height">
|
194 |
|
|
<div *ngIf="!community.logoUrl || community.logoUrl.length == 0 || showCommunityName"
|
195 |
|
|
class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
196 |
|
|
</a>
|
197 |
|
|
<a *ngIf="community && !homeurl"
|
198 |
|
|
[href]="'https://'+(properties.environment =='beta'?'beta.':'')+community.id+'.openaire.eu'"
|
199 |
|
|
target="_blank" class="uk-logo uk-navbar-item">
|
200 |
54207
|
argiro.kok
|
|
201 |
59007
|
k.triantaf
|
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"
|
202 |
|
|
[alt]=community.name class="uk-responsive-height">
|
203 |
|
|
<div *ngIf="!community.logoUrl || community.logoUrl.length == 0 || showCommunityName"
|
204 |
|
|
class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
205 |
|
|
</a>
|
206 |
|
|
<span *ngIf="stakeholder" class="uk-navbar-item uk-flex uk-flex-middle">
|
207 |
|
|
<div *ngIf="stakeholder.logoUrl">
|
208 |
|
|
<img [src]="stakeholder.logoUrl" alt="OpenAIRE" style="max-height: 40px">
|
209 |
56137
|
argiro.kok
|
</div>
|
210 |
59007
|
k.triantaf
|
<div class="uk-margin-left uk-text-large">
|
211 |
|
|
{{stakeholder.name}}
|
212 |
|
|
</div>
|
213 |
|
|
</span>
|
214 |
|
|
<div *ngIf="enableSearch && isEnabled([searchRoute], showPage)"
|
215 |
|
|
class=" uk-margin-left uk-width-xlarge ">
|
216 |
|
|
<search-bar [searchPlaceHolder]="searchPlaceHolder"
|
217 |
|
|
[searchRoute]="searchRoute" [properties]="properties"
|
218 |
|
|
[communityId]="communityId"></search-bar>
|
219 |
50169
|
argiro.kok
|
</div>
|
220 |
59007
|
k.triantaf
|
</div>
|
221 |
|
|
<div *ngIf="showLogo" class="uk-navbar-left uk-visible@m uk-hidden@l">
|
222 |
|
|
<a *ngIf="!community" routerLinkActive="uk-link" routerLink="/"
|
223 |
|
|
class="uk-logo uk-navbar-item">
|
224 |
|
|
<img src="{{logoPath}}logo-large-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
|
225 |
|
|
</a>
|
226 |
|
|
<span *ngIf="stakeholder" class="uk-navbar-item uk-flex uk-flex-middle" style="max-width: 50vw">
|
227 |
|
|
<div *ngIf="stakeholder.logoUrl">
|
228 |
|
|
<img [src]="stakeholder.logoUrl" alt="OpenAIRE" style="max-height: 40px">
|
229 |
58517
|
argiro.kok
|
</div>
|
230 |
59007
|
k.triantaf
|
<div class="uk-margin-left uk-text-large">
|
231 |
|
|
{{stakeholder.name}}
|
232 |
|
|
</div>
|
233 |
|
|
</span>
|
234 |
|
|
<a *ngIf="community && homeurl" routerLinkActive="uk-link" routerLink="/" class="uk-logo uk-navbar-item">
|
235 |
|
|
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"
|
236 |
|
|
[alt]=community.name class="uk-responsive-height">
|
237 |
|
|
<div *ngIf="!community.logoUrl || community.logoUrl.length == 0 || showCommunityName"
|
238 |
|
|
class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
239 |
|
|
</a>
|
240 |
|
|
<a *ngIf="community && !homeurl"
|
241 |
|
|
[href]="'https://'+(properties.environment =='beta'?'beta.':'')+community.id+'.openaire.eu'"
|
242 |
|
|
target="_blank" class="uk-logo uk-navbar-item">
|
243 |
|
|
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}"
|
244 |
|
|
[alt]=community.name class="uk-responsive-height">
|
245 |
|
|
<div *ngIf="!community.logoUrl || community.logoUrl.length == 0 || showCommunityName"
|
246 |
|
|
class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
247 |
|
|
</a>
|
248 |
|
|
<div *ngIf="enableSearch && isEnabled([searchRoute], showPage)"
|
249 |
|
|
class="uk-width-large ">
|
250 |
|
|
<search-bar [searchPlaceHolder]="searchPlaceHolder"
|
251 |
|
|
[searchRoute]="searchRoute" [properties]="properties"
|
252 |
|
|
[communityId]="communityId"></search-bar>
|
253 |
50169
|
argiro.kok
|
</div>
|
254 |
59007
|
k.triantaf
|
</div>
|
255 |
|
|
<!-- <div *ngIf="!onlyTop" class="uk-navbar-center"> -->
|
256 |
|
|
<div *ngIf="!onlyTop" class="uk-navbar-right uk-position-top-right">
|
257 |
|
|
<ul [class]="'uk-navbar-nav'+(!userMenu?' uk-margin-right':'')">
|
258 |
|
|
<li class="uk-parent" *ngIf="showHomeMenuItem && getCurrentRoute()!='/'">
|
259 |
|
|
<a routerLinkActive="uk-link" routerLink="/">Home</a>
|
260 |
|
|
</li>
|
261 |
|
|
<ng-container *ngFor="let menu of menuItems">
|
262 |
|
|
<li [class]="(isTheActiveMenu(menu)?'uk-active':'')+' uk-parent'"
|
263 |
|
|
*ngIf="isAtleastOneEnabled(menu.rootItem.entitiesRequired,showEntity) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage)">
|
264 |
|
|
<!--a routerLinkActive="uk-link" routerLink="{{menu.rootItem.route}}" [queryParams]=menu.rootItem.params class="" aria-expanded="false">{{menu.rootItem.title}}</a-->
|
265 |
|
|
<a *ngIf="menu.rootItem.route.length > 0 && (isEnabled([menu.rootItem.route], showPage) || !menu.rootItem.routeRequired )"
|
266 |
|
|
routerLinkActive="uk-link" routerLink="{{menu.rootItem.route}}"
|
267 |
|
|
[queryParams]=menu.rootItem.params> {{menu.rootItem.title}}</a>
|
268 |
|
|
<a *ngIf="menu.rootItem.route.length == 0 && menu.rootItem.url.length > 0" routerLinkActive="uk-link"
|
269 |
|
|
href="{{menu.rootItem.url}}" target="_blank" aria-expanded="false">{{menu.rootItem.title}}</a>
|
270 |
|
|
<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)) "
|
271 |
|
|
class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a>
|
272 |
56137
|
argiro.kok
|
|
273 |
54206
|
argiro.kok
|
|
274 |
59007
|
k.triantaf
|
<div *ngIf="menu.items.length > 0" class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left"
|
275 |
|
|
style="top: 80px; left: 0px;" id="{{menu.rootItem.id}}" (click)="onClick(menu.rootItem.id)">
|
276 |
|
|
<div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid="">
|
277 |
|
|
<div class="uk-first-column uk-height-max-medium uk-overflow-auto">
|
278 |
|
|
<ul class="uk-nav uk-navbar-dropdown-nav">
|
279 |
|
|
<ng-container *ngFor="let submenu of menu.items">
|
280 |
|
|
<li *ngIf="isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage) && (submenu.route.length > 0 || submenu.url.length > 0)">
|
281 |
|
|
<a *ngIf="submenu.route.length > 0" routerLinkActive="uk-link"
|
282 |
|
|
routerLink="{{submenu.route}}" [queryParams]=submenu.params>{{submenu.title}}</a>
|
283 |
|
|
<a *ngIf="submenu.route.length == 0 && submenu.url.length > 0" routerLinkActive="uk-link"
|
284 |
|
|
href="{{submenu.url}}" target="_blank">{{submenu.title}}</a>
|
285 |
|
|
</li>
|
286 |
|
|
<li *ngIf="submenu.route.length == 0 && submenu.url.length == 0 && isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage)"
|
287 |
|
|
class="uk-nav-header">{{submenu.title}}</li>
|
288 |
|
|
</ng-container>
|
289 |
|
|
</ul>
|
290 |
50586
|
argiro.kok
|
</div>
|
291 |
59007
|
k.triantaf
|
</div>
|
292 |
|
|
</div>
|
293 |
50286
|
argiro.kok
|
|
294 |
59007
|
k.triantaf
|
</li>
|
295 |
|
|
</ng-container>
|
296 |
53353
|
argiro.kok
|
|
297 |
59007
|
k.triantaf
|
</ul>
|
298 |
53379
|
argiro.kok
|
<!-- </div> -->
|
299 |
|
|
<!-- <div *ngIf="userMenu" class="uk-navbar-right"> -->
|
300 |
|
|
<!-- <div *ngIf="userMenu" class="uk-navbar-right"> -->
|
301 |
59007
|
k.triantaf
|
<user-mini *ngIf="userMenu" [user]="user"
|
302 |
|
|
[redirectUrl]="(communityId && communityId !== 'connect')?null:properties.afterLoginRedirectLink"
|
303 |
|
|
[userMenuItems]=userMenuItems [logInUrl]=properties.loginUrl [logOutUrl]=properties.logoutUrl
|
304 |
|
|
[cookieDomain]=properties.cookieDomain></user-mini>
|
305 |
50277
|
argiro.kok
|
|
306 |
59007
|
k.triantaf
|
</div>
|
307 |
|
|
</nav>
|
308 |
50169
|
argiro.kok
|
</div>
|
309 |
59007
|
k.triantaf
|
</div>
|
310 |
50277
|
argiro.kok
|
|
311 |
59007
|
k.triantaf
|
</div>
|
312 |
|
|
<div class="first_page_section uk-section-default uk-section uk-padding-remove-vertical">
|
313 |
|
|
<div
|
314 |
|
|
class="first_page_banner_headline uk-grid-collapse uk-flex-middle uk-margin-remove-vertical uk-grid uk-grid-stack"
|
315 |
|
|
uk-grid="">
|
316 |
|
|
</div>
|
317 |
|
|
</div>
|
318 |
50169
|
argiro.kok
|
</div>
|