source: Farmatiko/ClientApp/src/app/nav-menu/nav-menu.component.html@ de9d697

Last change on this file since de9d697 was de9d697, checked in by Mile Jankuloski <mile.jankuloski@…>, 20 months ago

Patch bugs, minor changes

  • Property mode set to 100644
File size: 2.0 KB
Line 
1<header>
2 <nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
3 <div class="container">
4 <a class="navbar-brand" [routerLink]="['/']"><img src="../../assets/logo.png"></a>
5 <button class="navbar-toggler"
6 type="button"
7 data-toggle="collapse"
8 data-target=".navbar-collapse"
9 aria-label="Toggle navigation"
10 [attr.aria-expanded]="isExpanded"
11 (click)="toggle()">
12 <span class="navbar-toggler-icon"></span>
13 </button>
14 <div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse"
15 [ngClass]="{ show: isExpanded }">
16 <ul class="navbar-nav flex-grow">
17 <li class="nav-item"
18 [routerLinkActive]="['link-active']"
19 [routerLinkActiveOptions]="{ exact: true }">
20 <a class="nav-link text-dark" [routerLink]="['/']">Побарај лек</a>
21 </li>
22 <li class="nav-item" [routerLinkActive]="['link-active']">
23 <a class="nav-link text-dark" [routerLink]="['/mapa']">Мапа</a>
24 </li>
25 <li class="nav-item" [routerLinkActive]="['link-active']">
26 <a class="nav-link text-dark" [routerLink]="['/koronavirus']">Пандемии</a>
27 </li>
28 <li *ngIf="loggedIn">
29 <button mat-button [matMenuTriggerFor]="menu"><mat-icon>more_vert</mat-icon></button>
30 <mat-menu #menu="matMenu">
31 <button mat-menu-item [routerLink]="['/dashboard']"><mat-icon>dashboard</mat-icon>Контролна табла</button>
32 <button mat-menu-item (click)="logout()"><mat-icon>exit_to_app</mat-icon>Одјави се</button>
33 </mat-menu>
34 </li>
35 <li *ngIf="!loggedIn">
36 <button mat-raised-button color="primary" [routerLink]="['/login']"><mat-icon>account_circle</mat-icon> Најава</button>
37 </li>
38 </ul>
39 </div>
40 </div>
41 </nav>
42</header>
Note: See TracBrowser for help on using the repository browser.