source: trip-planner-front/src/app/location/location.component.html@ 6fe77af

Last change on this file since 6fe77af was b738035, checked in by Ema <ema_spirova@…>, 2 years ago

signup/login server errors on front and remove location from planner

  • Property mode set to 100644
File size: 1.2 KB
Line 
1<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
2 integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
3
4<p-toast></p-toast>
5<h3>Here are all locations</h3>
6<button pButton pRipple type="button" icon="pi pi-bell" class="p-button-rounded p-button-warning" label="Back to my Planners" (click)="onClickBackToMyPlanners()"></button>
7<table class="table">
8 <thead>
9 <tr>
10 <th scope="col">#</th>
11 <th scope="col">Photo</th>
12 <th scope="col">Location name</th>
13 <th scope="col"> Add to my planner</th>
14 <th scope="col">See details </th>
15 </tr>
16 </thead>
17 <tbody>
18 <tr *ngFor="let location of listLocations">
19 <td>{{location.id}}</td>
20 <td><img src="data:image/png;base64,{{location.photo}}" /></td>
21 <td>{{location.name}}</td>
22 <td><button type="button" (click)="show(location)" pButton icon="pi pi-info-circle"
23 label="Add to my planner"></button></td>
24 <td><button type="button" color="primary" pButton icon="pi pi-info-circle"
25 (click)="onClickSeeDetails(location.id)" label="See details"></button>
26 </td>
27 </tr>
28 </tbody>
29</table>
30
Note: See TracBrowser for help on using the repository browser.