Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/src/app/location/location.component.html

    r59329aa re29cc2e  
    11<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
    22  integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
    3 
     3  <p-toast></p-toast>
    44<h3>Here are all locations</h3>
    5 
    6 <table class="table" >
     5<button pButton pRipple type="button" icon="pi pi-bell" class="p-button-rounded p-button-warning" label="Back to my Planners" (click)="onClickBackToMyPlanners()"></button>
     6<table class="table">
    77  <thead>
    88    <tr>
     
    1717      <td>{{location.id}}</td>
    1818      <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" (click)="onClickSeeDetails(location.id)">See details</button></td>
    21     </tr> 
     19      <td><button type="button" (click)="show(location)" pButton icon="pi pi-info-circle"
     20          label="Add to my planner"></button></td>
     21      <td><button type="button" color="primary" pButton icon="pi pi-info-circle"
     22          (click)="onClickSeeDetails(location.id)" label="See details"></button></td>
     23    </tr>
    2224  </tbody>
    2325</table>
     26
Note: See TracChangeset for help on using the changeset viewer.