-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathheader.component.html
More file actions
45 lines (43 loc) · 1.6 KB
/
header.component.html
File metadata and controls
45 lines (43 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<header>
<nav>
<div fxFlex fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center center">
<div fxFlex="50" fxLayout.xs="row" fxLayoutAlign="left right">
<a mat-raised-button *ngFor="let item of menuItems" routerLink="{{item.link}}">
{{item.name | uppercase}}
</a>
</div>
<div fxFlex="10" id="today">
<span ng-show="title || false" class="title">{{ title }}</span>
</div>
<div fxFlex="40" class="text-right">
<!-- Place this tag where you want the button to render. -->
<!-- Place this tag where you want the button to render. -->
<!-- Place this tag where you want the button to render. -->
<button mat-icon-button [matMenuTriggerFor]="matmenu">
<mat-icon>public</mat-icon>
</button>
<mat-menu #matmenu="matMenu">
<button mat-menu-item (click)="changeLanguage('en')">
<mat-icon>flag</mat-icon>
<span>
English
</span>
</button>
<button mat-menu-item (click)="changeLanguage('de')">
<mat-icon>flag</mat-icon>
<span>
Deutsch
</span>
</button>
</mat-menu>
<a class="image-icon" href="{{appConfig.repositoryURL}}" target="_blank">
<img src="assets/images/github-circle-white-transparent.svg">
</a>
</div>
</div>
</nav>
<section class="progress-bar">
<mat-progress-bar [color]="'primary'" [mode]="progressBarMode">
</mat-progress-bar>
</section>
</header>