2018-04-06 17:11:24 +09:00
|
|
|
<div *ngIf="isAuthRouteActivated();else layout">
|
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|
|
|
|
<ng-template #layout>
|
|
|
|
<div class="layout-wrapper" [ngClass]="{'layout-compact':layoutCompact}" (click)="onLayoutClick()">
|
2018-04-06 15:59:49 +09:00
|
|
|
|
2018-04-06 17:11:24 +09:00
|
|
|
<div #layoutContainer class="layout-container" [ngClass]="{'menu-layout-static': !isOverlay(),
|
2018-04-06 15:59:49 +09:00
|
|
|
'menu-layout-overlay': isOverlay(),
|
|
|
|
'layout-menu-overlay-active': overlayMenuActive,
|
|
|
|
'menu-layout-horizontal': isHorizontal(),
|
|
|
|
'menu-layout-slim': isSlim(),
|
|
|
|
'layout-menu-static-inactive': staticMenuDesktopInactive,
|
|
|
|
'layout-menu-static-active': staticMenuMobileActive}">
|
|
|
|
|
2018-04-06 17:11:24 +09:00
|
|
|
<of-topbar></of-topbar>
|
2018-04-06 15:59:49 +09:00
|
|
|
|
2018-04-06 17:11:24 +09:00
|
|
|
<div class="layout-menu" [ngClass]="{'layout-menu-dark':darkMenu}" (click)="onMenuClick($event)">
|
|
|
|
<p-scrollPanel #scrollPanel [style]="{height: '100%'}">
|
|
|
|
<of-inline-profile *ngIf="profileMode=='inline'&&!isHorizontal()"></of-inline-profile>
|
|
|
|
<of-menu [reset]="resetMenu"></of-menu>
|
|
|
|
</p-scrollPanel>
|
|
|
|
</div>
|
2018-04-06 15:59:49 +09:00
|
|
|
|
2018-04-06 17:11:24 +09:00
|
|
|
<div class="layout-main">
|
|
|
|
<of-breadcrumb></of-breadcrumb>
|
2018-04-06 15:59:49 +09:00
|
|
|
|
2018-04-06 17:11:24 +09:00
|
|
|
<div class="layout-content">
|
|
|
|
<router-outlet></router-outlet>
|
2018-04-06 15:59:49 +09:00
|
|
|
|
2018-04-06 17:11:24 +09:00
|
|
|
<of-footer></of-footer>
|
|
|
|
</div>
|
2018-04-06 15:59:49 +09:00
|
|
|
</div>
|
|
|
|
|
2018-04-06 17:11:24 +09:00
|
|
|
<of-rightpanel></of-rightpanel>
|
2018-04-06 15:59:49 +09:00
|
|
|
|
2018-04-06 17:11:24 +09:00
|
|
|
<div class="layout-mask"></div>
|
|
|
|
</div>
|
2018-04-06 15:59:49 +09:00
|
|
|
</div>
|
2018-04-06 17:11:24 +09:00
|
|
|
</ng-template>
|