1- < mat-toolbar color ="primary " [ngClass] ="envToolbarClass ">
2- <!-- left aligned-->
3- < button mat-button routerLink ="/datapipe ">
4- Search
5- </ button >
61
7- < span class ="fill-space "> </ span >
8- < span > datapipeUI</ span >
2+ < mat-sidenav-container fullscreen >
3+
4+ <!-- sidenav menu -->
5+ < mat-sidenav #sidenav >
6+ < mat-nav-list (click) ="sidenav.close() ">
7+
8+ < a mat-list-item routerLink ="/datapipe ">
9+ < mat-icon matListItemIcon > search</ mat-icon >
10+ < span matListItemTitle > Search</ span >
11+ </ a >
912
10- <!-- right aligned -->
11- < span class ="fill-space "> </ span >
13+ < a mat-list-item routerLink ="/auth/login " *ngIf ="!(isLoggedIn$ | async) ">
14+ < mat-icon matListItemIcon > login</ mat-icon >
15+ < span matListItemTitle > Login</ span >
16+ </ a >
1217
13- < button mat-button routerLink ="/auth/login " *ngIf ="!(isLoggedIn$ | async) ">
14- login
15- </ button >
16- < button mat-button routerLink ="/auth/logout " *ngIf ="(isLoggedIn$ | async) ">
17- logout
18- </ button >
18+ < a mat-list-item routerLink ="/auth/logout " *ngIf ="(isLoggedIn$ | async) ">
19+ < mat-icon matListItemIcon > logout</ mat-icon >
20+ < span matListItemTitle > Logout</ span >
21+ </ a >
1922
20- < span style ='margin-right:20px; ' [matTooltip] ="envTooltip ">
21- {{ envDescription }}
22- </ span >
23- </ mat-toolbar >
23+ </ mat-nav-list >
24+ </ mat-sidenav >
2425
25- < app-alert-display > </ app-alert-display >
26+ <!-- main -->
27+ < mat-sidenav-content >
28+ < mat-toolbar color ="primary " [ngClass] ="envToolbarClass ">
2629
27- < div class ="main-content ">
28- < router-outlet > </ router-outlet >
29- </ div >
30-
31- < div class ="footer ">
32- < div >
33- < p align ="center ">
34- < span [matTooltip] ="info.srcTooltip ">
35- {{ info.name }} v{{ info.version }} #{{ info.srcVersion }}
30+ <!-- left aligned-->
31+ < button class ="menu-button " mat-icon-button (click) ="sidenav.open('mouse') ">
32+ < mat-icon > menu</ mat-icon >
33+ </ button >
34+
35+ < span class ="fill-space "> </ span >
36+ < span > datapipeUI</ span >
37+
38+ <!-- right aligned -->
39+ < span class ="fill-space "> </ span >
40+
41+ < span style ='margin-right:20px; ' [matTooltip] ="envTooltip ">
42+ {{ envDescription }}
3643 </ span >
37- </ p >
38- </ div >
39- </ div >
44+ </ mat-toolbar >
45+
46+ < app-alert-display > </ app-alert-display >
47+
48+ < div class ="main-content ">
49+ < router-outlet > </ router-outlet >
50+ </ div >
51+
52+ < div class ="footer ">
53+ < div >
54+ < p align ="center ">
55+ < span [matTooltip] ="info.srcTooltip ">
56+ {{ info.name }} v{{ info.version }} #{{ info.srcVersion }}
57+ </ span >
58+ </ p >
59+ </ div >
60+ </ div >
61+
62+ </ mat-sidenav-content >
63+ </ mat-sidenav-container >
0 commit comments