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:
1.9 KB
|
Rev | Line | |
---|
[6a80231] | 1 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
|
---|
| 2 |
|
---|
| 3 | <h3>Here you can edit your planner</h3>
|
---|
| 4 |
|
---|
[6c1585f] | 5 | <form [formGroup] = "form" (ngSubmit)="onSubmit()">
|
---|
[6a80231] | 6 | <div class="form-gorup">
|
---|
| 7 | <p>Planner name</p>
|
---|
| 8 | <mat-form-field appearance="fill">
|
---|
[6c1585f] | 9 | <input matInput required type="text" formControlName="name" placeholder="Planner name">
|
---|
[6a80231] | 10 | </mat-form-field>
|
---|
| 11 | <p>Planner description</p>
|
---|
| 12 | <mat-form-field appearance="fill">
|
---|
[6c1585f] | 13 | <textarea matInput required formControlName="description" type="text" placeholder="Planner description"></textarea>
|
---|
[6a80231] | 14 | </mat-form-field>
|
---|
| 15 | </div>
|
---|
| 16 | <div class="container mb-4" >
|
---|
| 17 | <div class="row">
|
---|
| 18 | <div class="col-12">
|
---|
| 19 | <div class="table-responsive">
|
---|
| 20 | <table class="table table-striped">
|
---|
| 21 | <thead>
|
---|
| 22 | <tr>
|
---|
| 23 | <th scope="col">Location name</th>
|
---|
| 24 | </tr>
|
---|
| 25 | </thead>
|
---|
| 26 | <tbody>
|
---|
[6c1585f] | 27 | <tr>
|
---|
[6a80231] | 28 | <td> <button mat-raised-button color="primary" (click)="onClickAddLocation()">
|
---|
| 29 | Add locations
|
---|
[ceaed42] | 30 | </button>
|
---|
| 31 | </td>
|
---|
| 32 | </tr>
|
---|
| 33 | <tr *ngFor ="let location of locations">
|
---|
| 34 | <td>
|
---|
| 35 | {{location.name}}
|
---|
[6a80231] | 36 | </td>
|
---|
| 37 | </tr>
|
---|
| 38 | </tbody>
|
---|
| 39 | </table>
|
---|
| 40 | </div>
|
---|
| 41 | </div>
|
---|
| 42 | </div>
|
---|
| 43 | </div>
|
---|
[6c1585f] | 44 | <button mat-raised-button color="primary" >
|
---|
[6a80231] | 45 | <mat-icon>edit</mat-icon> Save
|
---|
| 46 | </button>
|
---|
| 47 | </form>
|
---|
| 48 |
|
---|
| 49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.