Last change
on this file since 63d885e 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
|
Rev | Line | |
---|
[785b8bd] | 1 | <app-nav-menu></app-nav-menu>
|
---|
| 2 |
|
---|
[ef1219a] | 3 | <mat-tab-group mat-stretch-tabs>
|
---|
[d8fafb8] | 4 | <mat-tab class="tab" label="Лекови">
|
---|
[ef1219a] | 5 | <div class="wrapper">
|
---|
| 6 | <div class="header">
|
---|
[ec6ac45] | 7 | <h2>Лекови</h2>
|
---|
[ef1219a] | 8 | <mat-form-field>
|
---|
[ee137aa] | 9 | <input matInput (keyup)="applyFilterMedicines($event.target.value)" placeholder="Пронајди лек">
|
---|
[ef1219a] | 10 | </mat-form-field>
|
---|
| 11 | </div>
|
---|
[ee137aa] | 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>
|
---|
[46c298d] | 36 | </div>
|
---|
[ef1219a] | 37 | </mat-tab>
|
---|
[d8fafb8] | 38 | <mat-tab class="tab" label="Аптеки">
|
---|
[ef1219a] | 39 | <div class="wrapper">
|
---|
| 40 | <div class="header">
|
---|
[ec6ac45] | 41 | <h2>Аптеки</h2>
|
---|
[ef1219a] | 42 | <mat-form-field>
|
---|
[de18858] | 43 | <input matInput (keyup)="applyFilterPharmacies($event.target.value)" placeholder="Пронајди аптека">
|
---|
[ef1219a] | 44 | </mat-form-field>
|
---|
| 45 | </div>
|
---|
[ee137aa] | 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>
|
---|
[ef1219a] | 64 | </div>
|
---|
| 65 | </mat-tab>
|
---|
[d8fafb8] | 66 | </mat-tab-group>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.