Last change
on this file was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago |
split group project and individual project into two separate folders
|
-
Property mode
set to
100644
|
File size:
865 bytes
|
Line | |
---|
1 | <div class="w-full flex justify-center items-center h-[100px] bg-gray-300">
|
---|
2 | <div class="w-4/5 flex justify-between">
|
---|
3 | <div class="flex gap-4">
|
---|
4 | <a [routerLink]="['tickets']">Tickets</a>
|
---|
5 | <a [routerLink]="['route-instances', 'start']">Start Route</a>
|
---|
6 | <a [routerLink]="['commutes', 'start']">Commute</a>
|
---|
7 | <a [routerLink]="['controls']">Controls</a>
|
---|
8 | <a [routerLink]="['admin']">Admin Panel</a>
|
---|
9 | </div>
|
---|
10 | <div>
|
---|
11 | @if (user) {
|
---|
12 | <button mat-button [matMenuTriggerFor]="menu">{{user.email}}</button>
|
---|
13 | <mat-menu #menu="matMenu">
|
---|
14 | <button (click)="signOut()" mat-menu-item>Sign out</button>
|
---|
15 | <button mat-menu-item>Item 2</button>
|
---|
16 | </mat-menu>
|
---|
17 | } @else {
|
---|
18 | <a [routerLink]="['login']">
|
---|
19 | <button mat-flat-button>Log in</button>
|
---|
20 | </a>
|
---|
21 | }
|
---|
22 | </div>
|
---|
23 | </div>
|
---|
24 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.