Last change
on this file since baf4cc4 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.7 KB
|
Line | |
---|
1 | <div class="w-full h-full flex flex-col justify-center items-center">
|
---|
2 |
|
---|
3 | <div>
|
---|
4 | <div>
|
---|
5 | <mat-form-field (click)="onClick()" [appearance]="'outline'">
|
---|
6 | <mat-label>Select instance</mat-label>
|
---|
7 | <mat-select (selectionChange)="onInstancePick($event)">
|
---|
8 | @for (instance of instances; track instance.id) {
|
---|
9 | <mat-option [value]="instance.id">{{ instance.line.ime }} -> {{instance.direction.pravec}}</mat-option>
|
---|
10 | }
|
---|
11 | </mat-select>
|
---|
12 | </mat-form-field>
|
---|
13 | </div>
|
---|
14 |
|
---|
15 | <button mat-flat-button (click)="onStart()">
|
---|
16 | Start new
|
---|
17 | </button>
|
---|
18 |
|
---|
19 |
|
---|
20 | </div>
|
---|
21 |
|
---|
22 |
|
---|
23 | <div class="relative overflow-x-auto">
|
---|
24 | <table class="w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400">
|
---|
25 | <thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
|
---|
26 | <tr>
|
---|
27 | <th scope="col" class="px-6 py-3">Link</th>
|
---|
28 | <th scope="col" class="px-6 py-3">Conductor</th>
|
---|
29 | <th scope="col" class="px-6 py-3">Route Instance</th>
|
---|
30 | <th scope="col" class="px-6 py-3">Date Created</th>
|
---|
31 |
|
---|
32 | </tr>
|
---|
33 | </thead>
|
---|
34 | <tbody>
|
---|
35 |
|
---|
36 | @for (control of controls; track control.id) {
|
---|
37 | <tr>
|
---|
38 | <td class="px-6 py-4" [routerLink]="[control.id]">
|
---|
39 | <a class="text-blue-700 cursor-pointer">Go to control</a>
|
---|
40 | </td>
|
---|
41 | <td class="px-6 py-4">{{control.kondukter.name}}</td>
|
---|
42 | <td class="px-6 py-4">{{control.instancaNaLinija.line.ime}} - {{control.instancaNaLinija.direction.pravec}} - {{control.instancaNaLinija.driver.name}}</td>
|
---|
43 | <td class="px-6 py-4">{{control.dateCreated}}</td>
|
---|
44 | </tr>
|
---|
45 | }
|
---|
46 | </tbody>
|
---|
47 | </table>
|
---|
48 | </div>
|
---|
49 |
|
---|
50 |
|
---|
51 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.