Changeset 28d7d35 for Farmatiko/ClientApp/src/app/home/home.component.html
- Timestamp:
- 01/31/21 06:27:26 (4 years ago)
- Branches:
- master
- Children:
- de9d697
- Parents:
- 7520f88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/home/home.component.html
r7520f88 r28d7d35 14 14 <tr> 15 15 <th>Име</th> 16 <th>Јачина</th>17 16 <th>Форма</th> 18 <th>Начин на издавање</th>19 <th>Производител</th>20 17 <th>Цена</th> 21 <th>Пакување</th>22 18 </tr> 23 19 </thead> 24 20 <tbody> 25 <tr *ngFor="let medicine of filteredMedicines"> 26 <td><a (click)="openMedicineDialog(medicine)">{{ medicine.name }}</a></td> 27 <td>{{ medicine.strength }}</td> 21 <tr *ngFor="let medicine of filteredMedicines" (click)="openMedicineDialog(medicine)" class="tableRow"> 22 <td>{{ medicine.name }}</td> 28 23 <td>{{ medicine.form }}</td> 29 <td>{{ medicine.wayOfIssuing }}</td>30 <td>{{ medicine.manufacturer }}</td>31 24 <td>{{ medicine.price }}</td> 32 <td>{{ medicine.packaging }}</td>33 25 </tr> 34 26 </tbody> … … 39 31 <div class="wrapper"> 40 32 <div class="header"> 41 <h2>Аптеки</h2> 33 <h2>Аптеки 34 <button mat-icon-button color="primary" (click)="refreshMap()" [disabled]="!showMap"> 35 <mat-icon>refresh</mat-icon>Освежи 36 </button> 37 <button mat-icon-button color="accent" [disabled]="clicked" (click)="toggleMap(); clicked = true"> 38 <mat-icon>map</mat-icon>Активирај 39 </button> 40 </h2> 41 <div class="map-wrapper" *ngIf="showMap"> 42 <div class="map-frame"> 43 <div id="map" style="height: 400px;" leaflet [leafletOptions]="options"></div> 44 </div> 45 </div> 46 42 47 <mat-form-field> 43 48 <input matInput (keyup)="applyFilterPharmacies($event.target.value)" placeholder="Пронајди аптека"> … … 49 54 <th>Име</th> 50 55 <th>Локација</th> 51 <th>Адреса</th>52 56 <th>Работи 27/7?</th> 53 57 </tr> 54 58 </thead> 55 59 <tbody> 56 <tr *ngFor="let pharmacy of filteredPharmacies" >57 <td> <a (click)="openPharmacyDialog(pharmacy)">{{ pharmacy.name }}</a></td>60 <tr *ngFor="let pharmacy of filteredPharmacies" (click)="openPharmacyDialog(pharmacy)" class="tableRow"> 61 <td>{{ pharmacy.name }}</td> 58 62 <td>{{ pharmacy.location }}</td> 59 <td >{{ pharmacy.address }}</td>60 <td >{{ pharmacy.workAllTime }}</td>63 <td *ngIf="pharmacy.workAllTime == true">Да</td> 64 <td *ngIf="pharmacy.workAllTime != true">Не</td> 61 65 </tr> 62 66 </tbody> 63 67 </table> 68 64 69 </div> 65 70 </mat-tab>
Note:
See TracChangeset
for help on using the changeset viewer.