Changeset 571e0df for trip-planner-front/src/app
- Timestamp:
- 02/06/22 18:19:53 (3 years ago)
- Branches:
- master
- Parents:
- 6fe77af
- 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"> 17 5 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 12 12 <td> 13 13 <button pButton pRipple type="button" icon="pi pi-heart" class="p-button-rounded p-button-help" 14 (click)="selectPlanner(planner)" 14 (click)="selectPlanner(planner)"></button> 15 15 </td> 16 16 </tr> 17 17 </ng-template> 18 18 </p-table> 19 -
trip-planner-front/src/app/location/add-location/add-location.component.ts
r6fe77af r571e0df 114 114 if(this.name !== null && this.desc !== null && this.address !== null 115 115 && this.trivia != null && this.priority !== null && this.cityId !== 0 && this.regionId !== 0){ 116 this.isCompleted = true; 117 116 this.isCompleted = true; 118 117 this.locationService.save(this.locationDto).subscribe( 119 118 data => { -
trip-planner-front/src/app/location/location.component.html
r6fe77af r571e0df 4 4 <p-toast></p-toast> 5 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> 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> 7 8 <table class="table"> 8 9 <thead> … … 28 29 </tbody> 29 30 </table> 30 -
trip-planner-front/src/app/locations-form/locations-form.component.ts
r6fe77af r571e0df 130 130 131 131 132 133 132 createMyPlanner() { 134 133 this.categoryIds = this.chipsSeletion.join(',');
Note:
See TracChangeset
for help on using the changeset viewer.