2019-11-01 19:30:11 +01:00
|
|
|
<!--disable_transitions -->
|
2020-07-06 11:19:01 +02:00
|
|
|
<div class="sidebar_main_swipe" [class.sidebar_main_active]="open && hasSidebar"
|
|
|
|
[class.sidebar_mini]="!open && hasMiniMenu && hasSidebar" [class.stakeholderPage]="isFrontPage">
|
|
|
|
<div *ngIf="hasHeader" id="header_main" [class.light_header]="isFrontPage" [class.header_full]="!hasSidebar">
|
|
|
|
<img
|
2020-07-10 10:38:52 +02:00
|
|
|
*ngIf="((!open && !hasMiniMenu) || !hasSidebar) && (properties.environment === 'beta' || properties.environment === 'development')"
|
2020-07-06 11:19:01 +02:00
|
|
|
class="badge"
|
|
|
|
[src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
|
|
|
|
[alt]="properties.environment">
|
|
|
|
<nav class="uk-navbar" [class.uk-light]="!isFrontPage">
|
2020-08-04 09:57:51 +02:00
|
|
|
<div *ngIf="stakeholder" class="uk-navbar-center">
|
2020-06-26 12:52:58 +02:00
|
|
|
<ul class="uk-navbar-nav user_actions uk-padding uk-padding-remove-vertical uk-padding-remove-right">
|
2020-08-04 09:57:51 +02:00
|
|
|
<!--<li>
|
2020-07-06 11:19:01 +02:00
|
|
|
<a class="uk-logo uk-navbar-item uk-link uk-margin-left "
|
|
|
|
[routerLink]="'/'+stakeholder.alias">
|
|
|
|
<img *ngIf="stakeholder.logoUrl" [src]="stakeholder.logoUrl" class=" logo uk-responsive-height">
|
|
|
|
</a>
|
2020-08-04 09:57:51 +02:00
|
|
|
</li>-->
|
2020-07-06 11:19:01 +02:00
|
|
|
<li>
|
2020-08-04 09:57:51 +02:00
|
|
|
<a class="uk-logo uk-navbar-item uk-link "
|
|
|
|
[routerLink]="'/'+stakeholder.alias">
|
|
|
|
<div class="uk-text-capitalize uk-h4 uk-text-bold uk-margin-remove">
|
|
|
|
<span> {{stakeholder.name}}</span>
|
|
|
|
</div>
|
|
|
|
</a>
|
2020-06-26 12:52:58 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2020-01-09 15:31:55 +01:00
|
|
|
<div class="uk-navbar-right">
|
|
|
|
<ul class="uk-navbar-nav user_actions">
|
2020-07-06 11:19:01 +02:00
|
|
|
<li *ngIf="isFrontPage" title="It is comming soon. Stay tuned!">
|
2020-08-03 12:59:56 +02:00
|
|
|
<a [routerLink]="(isAdmin()?['/admin']:null)">
|
2020-07-06 11:19:01 +02:00
|
|
|
Manage
|
|
|
|
</a>
|
|
|
|
</li>
|
2020-01-09 15:31:55 +01:00
|
|
|
<li>
|
|
|
|
<user-mini *ngIf="properties"
|
2020-01-14 20:48:13 +01:00
|
|
|
[user]="user" [dashboard]="true"
|
2020-01-09 15:31:55 +01:00
|
|
|
[redirectUrl]="properties.afterLoginRedirectLink"
|
|
|
|
[logInUrl]=properties.loginUrl [logOutUrl]=properties.logoutUrl
|
|
|
|
[cookieDomain]=properties.cookieDomain
|
|
|
|
[userMenuItems]=userMenuItems>
|
|
|
|
</user-mini>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2019-11-01 19:30:11 +01:00
|
|
|
</div>
|
2020-07-06 11:19:01 +02:00
|
|
|
<dashboard-sidebar *ngIf="stakeholder && isFrontPage" [items]="sideBarItems"
|
|
|
|
[activeItem]="activeTopic?activeTopic.alias:null" [showHeader]=true
|
2020-07-13 11:23:04 +02:00
|
|
|
[searchLink]="(properties.showContent)?properties.searchLinkToResults:null"
|
|
|
|
[searchParams]="createSearchParameters()"
|
2020-08-06 09:34:41 +02:00
|
|
|
[headerUrl]="properties.baseLink" queryParamsHandling="preserve"
|
2020-07-06 11:19:01 +02:00
|
|
|
></dashboard-sidebar>
|
2020-06-04 13:30:26 +02:00
|
|
|
<dashboard-sidebar *ngIf="hasAdminMenu" [items]="adminMenuItems" headerName="Monitor"
|
2020-06-29 15:31:38 +02:00
|
|
|
headerDashboard="Administration Panel" [headerUrl]="properties.baseLink"
|
2019-12-20 12:48:35 +01:00
|
|
|
></dashboard-sidebar>
|
2019-12-24 15:48:27 +01:00
|
|
|
<div *ngIf="hasSidebar" id="hide_controls">
|
2020-08-04 09:57:51 +02:00
|
|
|
<div id="toggle" [class.sidebar_main_open]="open" (click)="toggleOpen($event)" class="uk-margin-auto">
|
2020-07-06 11:19:01 +02:00
|
|
|
<i class="material-icons">play_circle_filled</i>
|
|
|
|
<span *ngIf="open" class="uk-margin-small-left">Hide Controls</span>
|
2019-12-24 15:48:27 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-01 19:30:11 +01:00
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|