Last change
on this file was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 5 months ago |
split group project and individual project into two separate folders
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[baf4cc4] | 1 | <div class="w-full h-full flex justify-center items-center">
|
---|
| 2 |
|
---|
| 3 | <div class="flex flex-col">
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 | <form class="flex flex-col">
|
---|
| 7 |
|
---|
| 8 | <mat-form-field [appearance]="'outline'">
|
---|
| 9 | <mat-label>Select ticket</mat-label>
|
---|
| 10 | <mat-select (selectionChange)="onTicketSelect($event)">
|
---|
| 11 | @for (t of tickets; track t.id) {
|
---|
| 12 | <mat-option [value]="t.id">{{ t.tip.ime }}</mat-option>
|
---|
| 13 | }
|
---|
| 14 | </mat-select>
|
---|
| 15 | </mat-form-field>
|
---|
| 16 |
|
---|
| 17 | <mat-form-field [appearance]="'outline'">
|
---|
| 18 | <mat-label>Select station</mat-label>
|
---|
| 19 | <mat-select (selectionChange)="onStationPick($event)">
|
---|
| 20 | @for (s of stations; track s.id) {
|
---|
| 21 | <mat-option [value]="s.id">{{ s.ime }}</mat-option>
|
---|
| 22 | }
|
---|
| 23 | </mat-select>
|
---|
| 24 | </mat-form-field>
|
---|
| 25 |
|
---|
| 26 | <mat-form-field [appearance]="'outline'">
|
---|
| 27 | <mat-label>Select route</mat-label>
|
---|
| 28 | <mat-select (selectionChange)="onInstancePick($event)">
|
---|
| 29 | @for (i of routeInstances; track i.id) {
|
---|
| 30 | <mat-option [value]="i.id">{{ i.line.ime + ' -> ' + i.direction.pravec }}</mat-option>
|
---|
| 31 | }
|
---|
| 32 | </mat-select>
|
---|
| 33 | </mat-form-field>
|
---|
| 34 |
|
---|
| 35 | <button mat-flat-button (click)="startCommute()">Start commute</button>
|
---|
| 36 |
|
---|
| 37 | </form>
|
---|
| 38 |
|
---|
| 39 | </div>
|
---|
| 40 |
|
---|
| 41 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.