source: Farmatiko/ClientApp/src/app/home/home.component.html@ 1454207

Last change on this file since 1454207 was ee137aa, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago

Added DataService and dialogs, all bindings needed implemented

  • Property mode set to 100644
File size: 2.1 KB
Line 
1<app-nav-menu></app-nav-menu>
2
3<mat-tab-group mat-stretch-tabs>
4 <mat-tab class="tab" label="Лекови">
5 <div class="wrapper">
6 <div class="header">
7 <h2>Лекови</h2>
8 <mat-form-field>
9 <input matInput (keyup)="applyFilterMedicines($event.target.value)" placeholder="Пронајди лек">
10 </mat-form-field>
11 </div>
12 <table class='table table-striped' aria-labelledby="tableLabel" *ngIf="true">
13 <thead>
14 <tr>
15 <th>Име</th>
16 <th>Јачина</th>
17 <th>Форма</th>
18 <th>Начин на издавање</th>
19 <th>Производител</th>
20 <th>Цена</th>
21 <th>Пакување</th>
22 </tr>
23 </thead>
24 <tbody>
25 <tr *ngFor="let medicine of filteredMedicines">
26 <td><a (click)="openMedicineDialog(medicine)">{{ medicine.name }}</a></td>
27 <td>{{ medicine.strength }}</td>
28 <td>{{ medicine.form }}</td>
29 <td>{{ medicine.wayOfIssuing }}</td>
30 <td>{{ medicine.manufacturer }}</td>
31 <td>{{ medicine.price }}</td>
32 <td>{{ medicine.packaging }}</td>
33 </tr>
34 </tbody>
35 </table>
36 </div>
37 </mat-tab>
38 <mat-tab class="tab" label="Аптеки">
39 <div class="wrapper">
40 <div class="header">
41 <h2>Аптеки</h2>
42 <mat-form-field>
43 <input matInput (keyup)="applyFilterPharmacies($event.target.value)" placeholder="Пронајди аптека">
44 </mat-form-field>
45 </div>
46 <table class='table table-striped' aria-labelledby="tableLabel" *ngIf="true">
47 <thead>
48 <tr>
49 <th>Име</th>
50 <th>Локација</th>
51 <th>Адреса</th>
52 <th>Работи 27/7?</th>
53 </tr>
54 </thead>
55 <tbody>
56 <tr *ngFor="let pharmacy of filteredPharmacies">
57 <td><a (click)="openPharmacyDialog(pharmacy)">{{ pharmacy.name }}</a></td>
58 <td>{{ pharmacy.location }}</td>
59 <td>{{ pharmacy.address }}</td>
60 <td>{{ pharmacy.workAllTime }}</td>
61 </tr>
62 </tbody>
63 </table>
64 </div>
65 </mat-tab>
66 </mat-tab-group>
Note: See TracBrowser for help on using the repository browser.