2cc9188962
replace font-awesome icons with material icons
28 lines
813 B
HTML
28 lines
813 B
HTML
<mat-toolbar color='primary'>
|
|
<button *ngIf="plusButton" class='head-button on-transition-fade' (click)=clickPlusButton()
|
|
mat-fab>
|
|
<mat-icon>add</mat-icon>
|
|
</button>
|
|
|
|
<span class='app-name on-transition-fade'>
|
|
{{ appName | translate }}
|
|
</span>
|
|
|
|
<span class='spacer'></span>
|
|
|
|
<button *ngIf="menuList" class='on-transition-fade' [matMenuTriggerFor]="ellipsisMenu" mat-icon-button>
|
|
<mat-icon>more_vert</mat-icon>
|
|
</button>
|
|
</mat-toolbar>
|
|
|
|
<mat-menu #ellipsisMenu="matMenu">
|
|
|
|
<ng-container *ngFor="let item of menuList">
|
|
|
|
<button mat-menu-item *osPerms="item.perm" (click)=clickMenu(item)>
|
|
<mat-icon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
{{item.text | translate}}
|
|
</button>
|
|
</ng-container>
|
|
</mat-menu>
|