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

Last change on this file since db484c9 was 8e74e2f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Fix bugs, add some more.

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[30a465f]1<header>
[46c298d]2 <nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
[30a465f]3 <div class="container">
[ec6ac45]4 <a class="navbar-brand" [routerLink]="['/']"><img src="../../assets/logo.png"></a>
[46c298d]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()">
[30a465f]12 <span class="navbar-toggler-icon"></span>
13 </button>
[46c298d]14 <div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse"
15 [ngClass]="{ show: isExpanded }">
[30a465f]16 <ul class="navbar-nav flex-grow">
[46c298d]17 <li class="nav-item"
18 [routerLinkActive]="['link-active']"
19 [routerLinkActiveOptions]="{ exact: true }">
[ec6ac45]20 <a class="nav-link text-dark" [routerLink]="['/']">Побарај лек</a>
[30a465f]21 </li>
22 <li class="nav-item" [routerLinkActive]="['link-active']">
[785b8bd]23 <a class="nav-link text-dark" [routerLink]="['/mapa']">Мапа</a>
[46c298d]24 </li>
[30a465f]25 <li class="nav-item" [routerLinkActive]="['link-active']">
[46c298d]26 <a class="nav-link text-dark" [routerLink]="['/koronavirus']">Коронавирус</a>
[30a465f]27 </li>
[8e74e2f]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>
[30a465f]35 </ul>
36 </div>
37 </div>
38 </nav>
39</header>
Note: See TracBrowser for help on using the repository browser.