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.5 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 | @if (isDriverFree) {
|
---|
| 6 | <form class="flex flex-col">
|
---|
| 7 |
|
---|
| 8 | <mat-form-field [appearance]="'outline'">
|
---|
| 9 | <mat-label>Select bus</mat-label>
|
---|
| 10 | <mat-select (selectionChange)="onBusPick($event)">
|
---|
| 11 | @for (bus of buses; track bus.id) {
|
---|
| 12 | <mat-option [value]="bus.id">{{ bus.registracija }}</mat-option>
|
---|
| 13 | }
|
---|
| 14 | </mat-select>
|
---|
| 15 | </mat-form-field>
|
---|
| 16 |
|
---|
| 17 |
|
---|
| 18 | @if (bus) {
|
---|
| 19 | <mat-form-field [appearance]="'outline'">
|
---|
| 20 | <mat-label>Select line</mat-label>
|
---|
| 21 | <mat-select (selectionChange)="onLinePick($event)">
|
---|
| 22 | @for (line of lines; track line.id) {
|
---|
| 23 | <mat-option [value]="line.id">{{ line.ime }}</mat-option>
|
---|
| 24 | }
|
---|
| 25 | </mat-select>
|
---|
| 26 | </mat-form-field>
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | @if (line) {
|
---|
| 30 | <mat-form-field [appearance]="'outline'">
|
---|
| 31 | <mat-label>Select direction</mat-label>
|
---|
| 32 | <mat-select (selectionChange)="onDirectionPick($event)">
|
---|
| 33 | @for (direction of directions; track direction.id) {
|
---|
| 34 | <mat-option [value]="direction.id">{{ direction.pravec }}</mat-option>
|
---|
| 35 | }
|
---|
| 36 | </mat-select>
|
---|
| 37 | </mat-form-field>
|
---|
| 38 | }
|
---|
| 39 |
|
---|
| 40 | <button (click)="onSubmit()" type="button" mat-flat-button>
|
---|
| 41 | Start
|
---|
| 42 | </button>
|
---|
| 43 | </form>
|
---|
| 44 | } @else {
|
---|
| 45 | <div>
|
---|
| 46 | Currently logged in driver is busy!
|
---|
| 47 | </div>
|
---|
| 48 |
|
---|
| 49 | }
|
---|
| 50 | </div>
|
---|
| 51 |
|
---|
| 52 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.