Skip to content

Commit e6ee5d6

Browse files
change in design
1 parent cf5b03b commit e6ee5d6

22 files changed

+147
-60
lines changed

projects/saas-ui/src/app/main/components/add-plan/add-plan.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ <h2>{{ isEditMode ? 'Edit Plan' : 'Add New Plan' }}</h2>
123123
</div>
124124
</div>
125125
<!-- signup button -->
126-
<div class="btn regbtn">
126+
<div class="regbtn">
127127
<button
128128
nbButton
129129
shape="round"
130130
size="medium"
131-
status="basic"
131+
status="danger"
132132
[disabled]="!addPlanForm.valid"
133133
(click)="isEditMode ? editPlan() : addPlan()"
134134
>

projects/saas-ui/src/app/main/components/add-plan/add-plan.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use '../../../../styles.scss' as *;
2+
@use '../../styles/grid-styles.scss' as *;
13
.input-wrapper {
24
display: flex;
35
gap: 10px;
@@ -41,7 +43,10 @@
4143
}
4244
.regbtn {
4345
text-align: right;
46+
margin: 10px;
47+
padding: 10px;
4448
}
49+
4550
input.ng-invalid.ng-touched {
4651
border: 1px solid red;
4752
}

projects/saas-ui/src/app/main/components/add-plan/add-plan.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class AddPlanComponent implements OnInit {
3636
this.addPlanForm = this.fb.group({
3737
name: ['', Validators.required],
3838
description: ['', Validators.required],
39-
price: ['', Validators.pattern('[0-9]')],
39+
price: [''],
4040
currencyId: ['', Validators.required],
4141
billingCycleId: [null, Validators.required],
4242
tier: [null, Validators.required],
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<div>
2-
<nb-card accent="danger">
2+
<nb-card accent="danger" class="card-style">
33
<nb-card-body>
4-
<h2>Billing Details</h2>
4+
<h2 class="heading">Billing Details</h2>
55
<!-- ag-grid -->
6-
<ag-grid-angular
7-
style="width: 1200px; height: 700px"
8-
class="ag-theme-quartz"
9-
[rowData]="rowData"
10-
[columnDefs]="colDefs"
11-
>
12-
</ag-grid-angular>
6+
<div class="grid">
7+
<ag-grid-angular
8+
class="ag-theme-quartz"
9+
[rowData]="rowData"
10+
[columnDefs]="colDefs"
11+
>
12+
</ag-grid-angular>
13+
</div>
1314
</nb-card-body>
1415
</nb-card>
1516
</div>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@use '../../styles/grid-styles.scss' as *;

projects/saas-ui/src/app/main/components/button-renderer/button-renderer.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<div class="btns">
22
<nb-icon
3+
class="edit-icon"
34
icon="edit-outline"
45
pack="eva"
56
status="success"
67
size="large"
78
(click)="editPlan($event)"
89
></nb-icon>
910
<nb-icon
11+
class="delete-icon"
1012
icon="trash-2-outline"
1113
pack="eva"
1214
status="success"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.edit-icon {
2+
color: #ff3d71;
3+
margin-right: 13px;
4+
}
5+
.delete-icon {
6+
color: #ff3d71;
7+
}
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<div>
2-
<nb-card accent="danger">
2+
<nb-card accent="danger" class="card-style">
33
<nb-card-body>
4-
<h2>Lead Listing</h2>
5-
<!-- ag-grid -->
6-
<ag-grid-angular
7-
style="width: 1200px; height: 700px"
8-
class="ag-theme-quartz"
9-
[rowData]="rowData"
10-
[columnDefs]="colDefs"
11-
>
12-
</ag-grid-angular>
4+
<h2 class="heading">Lead List</h2>
5+
<div class="grid">
6+
<!-- ag-grid -->
7+
<ag-grid-angular
8+
class="ag-theme-quartz"
9+
[rowData]="rowData"
10+
[columnDefs]="colDefs"
11+
>
12+
</ag-grid-angular>
13+
</div>
1314
</nb-card-body>
1415
</nb-card>
1516
</div>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@use '../../styles/grid-styles.scss' as *;

projects/saas-ui/src/app/main/components/lead-list/lead-list.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export class LeadListComponent
1919
{
2020
// defining column names here
2121
colDefs: ColDef[] = [
22-
{field: 'firstName', width: 200, minWidth: 20},
23-
{field: 'lastName', width: 200, minWidth: 20},
24-
{field: 'companyName', width: 200, minWidth: 20},
22+
{field: 'firstName', width: 250, minWidth: 20},
23+
{field: 'lastName', width: 250, minWidth: 20},
24+
{field: 'companyName', width: 250, minWidth: 20},
2525
{field: 'email', width: 300, minWidth: 20},
26-
{field: 'country', width: 200, minWidth: 20},
26+
{field: 'country', width: 250, minWidth: 20},
2727
];
2828

2929
rowData = [];

0 commit comments

Comments
 (0)