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

Last change on this file since ceaed42 was ceaed42, checked in by Ema <ema_spirova@…>, 3 years ago

add location to planner

  • Property mode set to 100644
File size: 819 bytes
RevLine 
[ceaed42]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">
[6a3a178]3
[6c1585f]4<h3>Here are all locations</h3>
[6a3a178]5
[ceaed42]6<table class="table" >
7 <thead>
8 <tr>
9 <th scope="col">#</th>
10 <th scope="col">Location name</th>
11 <th scope="col"> Add to my planner</th>
12 <th scope="col">See details </th>
13 </tr>
14 </thead>
15 <tbody>
16 <tr *ngFor="let location of listLocations">
17 <td>{{location.id}}</td>
18 <td>{{location.name}}</td>
19 <td><button mat-raised-button color="primary" (click)="openDialogSave(location.id)">Add to my planner</button></td>
20 <td><button mat-raised-button color="primary">See details</button></td>
21 </tr>
22 </tbody>
23</table>
Note: See TracBrowser for help on using the repository browser.