source: WineTrackerFinal/WineTrackerUI/WineTracker/src/app/VehicleEntity/vehicle/vehicle.component.html@ 04008ae

main
Last change on this file since 04008ae was 04008ae, checked in by Nikola Mishevski <Nikola.Mishevski@…>, 6 days ago

WineTracker UI Added to Git

  • Property mode set to 100644
File size: 1.3 KB
Line 
1<div class="content-container">
2 <h2>Vehicles</h2>
3 <br>
4 <button routerLink="create" class="btn btn-secondary">Add Vehicle</button>
5 <br>
6 <br>
7 <table class="table table-hover">
8 <thead>
9 <tr>
10 <th *ngFor="let tableRow of tableRows" scope="col">{{tableRow}}</th>
11 </tr>
12 </thead>
13 <tbody>
14 <tr *ngFor="let vehicle of vehicles;let i = index">
15 <th scope="row">{{i+1}}</th>
16 <td>{{vehicle.registration}}</td>
17 <td>{{vehicle.details}}</td>
18 <td>
19 <a class="ms-3" routerLink="edit/{{vehicle.vehicleId}}">Edit</a>
20 <a class="ms-3 cursor-pointer" (click)="deleteVehicle(vehicle.vehicleId)">Delete</a>
21 </td>
22 </tr>
23 </tbody>
24 </table>
25
26 <!-- <nav aria-label="Page navigation example">
27 <ul class="pagination">
28 <li class="page-item"><a class="page-link" href="#">Previous</a></li>
29 <li class="page-item"><a class="page-link" href="#">1</a></li>
30 <li class="page-item"><a class="page-link" href="#">2</a></li>
31 <li class="page-item"><a class="page-link" href="#">3</a></li>
32 <li class="page-item"><a class="page-link" href="#">Next</a></li>
33 </ul>
34 </nav> -->
35</div>
Note: See TracBrowser for help on using the repository browser.