18 lines
745 B
HTML
18 lines
745 B
HTML
<div class="wrapper" *ngIf="isAuthenticated()">
|
|
<app-navbar (sidebarToggled)="sidenav.toggle(); toggleNavbar($event);"></app-navbar>
|
|
<mat-sidenav-container fullscreen class="main-container">
|
|
<mat-sidenav #sidenav mode="side" opened class="sidenav" [fixedInViewport]="true" [fixedTopGap]="80">
|
|
<app-sidebar></app-sidebar>
|
|
</mat-sidenav>
|
|
<mat-sidenav-content>
|
|
<div>
|
|
<router-outlet (activate)='onActivate($event)' (deactivate)='onDeactivate($event)'></router-outlet>
|
|
</div>
|
|
</mat-sidenav-content>
|
|
</mat-sidenav-container>
|
|
</div>
|
|
<div class="wrapper" *ngIf="!isAuthenticated()">
|
|
<router-outlet (activate)='onActivate($event)' (deactivate)='onDeactivate($event)'></router-outlet>
|
|
</div>
|
|
<app-notification></app-notification>
|