11< mat-toolbar color ="primary ">
22 < div class ="container ">
33 < div class ="menu ">
4- < button mat-icon-button class ="navigation-options ">
5- < mat-icon > more_vert</ mat-icon >
6- </ button >
7-
84 < button mat-icon-button *ngIf ="state === 'map' " (click) ="toggleFeed() ">
95 < mat-icon > menu</ mat-icon >
106 </ button >
11-
12- < span class ="title "> Mage</ span >
137 </ div >
148
15- < div >
9+ < div class =" event-title " >
1610 < span class ="filter-event "> {{filteredEvent.name}}</ span >
1711 < span *ngIf ="filteredTeams " class ="filter-teams "> < span > > {{filteredTeams}}</ span > </ span >
1812 < span *ngIf ="filteredInterval " class ="filter-interval "> {{filteredInterval}}</ span >
1913 </ div >
2014
21- < div >
15+ < div class =" collapsed-menu " >
2216 < button mat-button (click) ="togglePreferences() ">
2317 < mat-icon > tune</ mat-icon >
2418 </ button >
25-
26- < a [routerLink] ="['/profile'] " mat-button >
27- < mat-icon > account_circle</ mat-icon >
28- </ a >
29-
30- < a [routerLink] ="['/about'] " mat-button >
31- < mat-icon > info</ mat-icon >
32- </ a >
33-
34- < a *ngIf ="isAdmin " mat-button href ="admin/#/admin/ ">
35- < mat-icon > admin_panel_settings</ mat-icon >
36- </ a >
37-
38- < a mat-button (click) ="onLogout() ">
39- < mat-icon > logout</ mat-icon >
40- </ a >
19+ < button mat-icon-button class ="navigation-options " [matMenuTriggerFor] ="menu ">
20+ < mat-icon > more_vert</ mat-icon >
21+ </ button >
22+ < mat-menu #menu >
23+ < a mat-menu-item [routerLink] ="['/profile'] ">
24+ < mat-icon > account_circle</ mat-icon >
25+ < span > Profile</ span >
26+ </ a >
27+ < a mat-menu-item [routerLink] ="['/about'] ">
28+ < mat-icon > info</ mat-icon >
29+ < span > About</ span >
30+ </ a >
31+ < a mat-menu-item *ngIf ="isAdmin " href ="admin/#/admin/ ">
32+ < mat-icon > admin_panel_settings</ mat-icon >
33+ < span > Admin</ span >
34+ </ a >
35+ < a mat-menu-item (click) ="onLogout() ">
36+ < mat-icon > logout</ mat-icon >
37+ < span > Logout</ span >
38+ </ a >
39+ </ mat-menu >
40+
41+ < div class ="actions ">
42+ < a [routerLink] ="['/profile'] " mat-button >
43+ < mat-icon > account_circle</ mat-icon >
44+ </ a >
45+
46+ < a [routerLink] ="['/about'] " mat-button >
47+ < mat-icon > info</ mat-icon >
48+ </ a >
49+
50+ < a *ngIf ="isAdmin " mat-button href ="admin/#/admin/ ">
51+ < mat-icon > admin_panel_settings</ mat-icon >
52+ </ a >
53+
54+ < a mat-button (click) ="onLogout() ">
55+ < mat-icon > logout</ mat-icon >
56+ </ a >
57+ </ div >
4158 </ div >
4259 </ div >
4360</ mat-toolbar >
0 commit comments