Last change
on this file since f554983 was de9d697, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago |
Patch bugs, minor changes
|
-
Property mode
set to
100644
|
File size:
2.0 KB
|
Rev | Line | |
---|
[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']">
|
---|
[de9d697] | 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>
|
---|
[28d7d35] | 35 | <li *ngIf="!loggedIn">
|
---|
| 36 | <button mat-raised-button color="primary" [routerLink]="['/login']"><mat-icon>account_circle</mat-icon> Најава</button>
|
---|
| 37 | </li>
|
---|
[30a465f] | 38 | </ul>
|
---|
| 39 | </div>
|
---|
| 40 | </div>
|
---|
| 41 | </nav>
|
---|
| 42 | </header>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.