Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<style>
.form-field-stretch {
padding-top: 20px;
width: 100%;
}
</style>
<mat-toolbar color="primary" class="dialog-toolbar">
<span class="dialog-toolbar-title">Modify Plan</span>
<button mat-button mat-dialog-close class="close-btn">
<i class="material-icons">clear</i>
</button>
</mat-toolbar>
<mat-dialog-content class="mat-typography dialog-with-toolbar">
<div class="create-plan-content" *ngIf="true">
<mat-dialog-content [formGroup]="form">
<mat-form-field class="form-field-stretch">
<input matInput placeholder="Name" formControlName="planName">
</mat-form-field>
</mat-dialog-content>
</div>
<div class="rename-plan-content" *ngIf="false">
<mat-dialog-content [formGroup]="form">
<mat-form-field class="form-field-stretch">
<input matInput placeholder="Name" formControlName="planName">
</mat-form-field>
</mat-dialog-content>
</div>
<div class="delete-plan-content" *ngIf="false">
<mat-dialog-content [formGroup]="form">
<mat-form-field>
<input matInput placeholder="Name" formControlName="planName">
</mat-form-field>
</mat-dialog-content>
</div>
<div class="make-plan-primary-content" *ngIf="false">
<mat-dialog-content [formGroup]="form">
<mat-form-field>
<input matInput placeholder="Name" formControlName="planName">
</mat-form-field>
</mat-dialog-content>
</div>
<mat-dialog-actions align="end">
<button mat-button class="btn-secondary" mat-dialog-close aria-label="Close note dialog"> Cancel </button>
<button mat-raised-button class="btn-primary mat-button" (click)="createPlanSave()" *ngIf="false">Save</button>
<button mat-raised-button class="btn-primary mat-button" (click)="renamePlanSave()">Save</button>
</mat-dialog-actions>
</mat-dialog-content>