Ignore:
Timestamp:
02/06/22 18:19:53 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Parents:
6fe77af
Message:

final presentation

Location:
trip-planner-front/src/app
Files:
5 edited

Legend:

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

    r6fe77af r571e0df  
    1   <div mat-dialog-content>
    2     <p>Planner name</p>
    3     <mat-form-field appearance="fill">
    4       <input matInput  type="text" [(ngModel)]="plannerDto.name" name="plannerName" placeholder="Planner name">
    5      
    6     </mat-form-field>
    7     <p>Planner description</p>
    8     <mat-form-field appearance="fill">
    9       <textarea matInput  name="description" [(ngModel)]="plannerDto.description" type="text"
    10         placeholder="Planner description"></textarea>
    11     </mat-form-field>
    12   </div>
    13   <div mat-dialog-actions>
    14     <button pButton pRipple type="button" label="Save"
    15       class="p-button-outlined p-button-rounded p-button-help" (click)="onFormSubmitPlanner(plannerDto)"></button>
    16   </div>
     1<div mat-dialog-content>
     2  <p>Planner name</p>
     3  <mat-form-field appearance="fill">
     4    <input matInput type="text" [(ngModel)]="plannerDto.name" name="plannerName" placeholder="Planner name">
    175
    18  
     6  </mat-form-field>
     7  <p>Planner description</p>
     8  <mat-form-field appearance="fill">
     9    <textarea matInput name="description" [(ngModel)]="plannerDto.description" type="text"
     10      placeholder="Planner description"></textarea>
     11  </mat-form-field>
     12</div>
     13<div mat-dialog-actions>
     14  <button pButton pRipple type="button" label="Save" class="p-button-outlined p-button-rounded p-button-help"
     15    (click)="onFormSubmitPlanner(plannerDto)"></button>
     16</div>
  • trip-planner-front/src/app/location/add-location-to-planner-panel/add-location-to-planner-panel.component.html

    r6fe77af r571e0df  
    1212            <td>
    1313                <button pButton pRipple type="button" icon="pi pi-heart" class="p-button-rounded p-button-help"
    14                     (click)="selectPlanner(planner)" ></button>
     14                    (click)="selectPlanner(planner)"></button>
    1515            </td>
    1616        </tr>
    1717    </ng-template>
    1818</p-table>
    19 
  • trip-planner-front/src/app/location/add-location/add-location.component.ts

    r6fe77af r571e0df  
    114114      if(this.name !== null && this.desc !== null && this.address !== null
    115115        && this.trivia != null  && this.priority !== null && this.cityId !== 0 && this.regionId !== 0){
    116           this.isCompleted = true;
    117        
     116          this.isCompleted = true;       
    118117          this.locationService.save(this.locationDto).subscribe(
    119118            data => {
  • trip-planner-front/src/app/location/location.component.html

    r6fe77af r571e0df  
    44<p-toast></p-toast>
    55<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>
     6<button pButton pRipple type="button" icon="pi pi-bell" class="p-button-rounded p-button-warning"
     7  label="Back to my Planners" (click)="onClickBackToMyPlanners()"></button>
    78<table class="table">
    89  <thead>
     
    2829  </tbody>
    2930</table>
    30 
  • trip-planner-front/src/app/locations-form/locations-form.component.ts

    r6fe77af r571e0df  
    130130
    131131
    132 
    133132  createMyPlanner() {
    134133    this.categoryIds = this.chipsSeletion.join(',');
Note: See TracChangeset for help on using the changeset viewer.