Skip to content

Commit a254193

Browse files
committed
fix(arc-saas): review design changes
review design changes GH-63
1 parent 6169a5d commit a254193

File tree

9 files changed

+404
-118
lines changed

9 files changed

+404
-118
lines changed

projects/saas-ui/src/app/main/components/onboarding-tenant-list/onboarding-tenant-list.component.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ <h2 class="heading">Onboarded Tenant List</h2>
1616
</div>
1717
</div>
1818

19+
<!-- loader -->
20+
<!-- <div *ngIf="loading" class="loader-overlay">
21+
<div class="loader"></div>
22+
</div> -->
23+
1924
<!-- ag-grid -->
2025
<div class="grid">
2126
<ag-grid-angular

projects/saas-ui/src/app/main/components/onboarding-tenant-list/onboarding-tenant-list.component.scss

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,38 @@
1414
.a {
1515
text-decoration: none;
1616
color: #19a5ff;
17-
}
17+
}
18+
19+
// for test
20+
.loader-overlay {
21+
position: fixed;
22+
top: 0;
23+
left: 0;
24+
width: 100%;
25+
height: 100%;
26+
background: rgba(255, 255, 255, 0.8);
27+
display: flex;
28+
justify-content: center;
29+
align-items: center;
30+
z-index: 1000;
31+
}
32+
33+
.loader {
34+
border: 8px solid #f3f3f3;
35+
border-top: 8px solid #3498db;
36+
border-radius: 50%;
37+
width: 60px;
38+
height: 60px;
39+
-webkit-animation: spin 2s linear infinite;
40+
animation: spin 2s linear infinite;
41+
}
42+
43+
@-webkit-keyframes spin {
44+
0% { transform: rotate(0deg); }
45+
100% { transform: rotate(360deg); }
46+
}
47+
48+
@keyframes spin {
49+
0% { transform: rotate(0deg); }
50+
100% { transform: rotate(360deg); }
51+
}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
3535
floatingFilter: true,
3636
resizable: true,
3737
};
38+
3839
constructor(
3940
protected override readonly location: Location,
4041
private readonly router: Router,
@@ -107,6 +108,7 @@ export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
107108
combineLatest([paginatedLeads, totalLead]).subscribe(
108109
([data, count]) => {
109110
params.successCallback(data, count.count);
111+
// for test
110112
},
111113

112114
err => {
@@ -127,7 +129,8 @@ export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
127129
return this.tenantFacade.getTenantList(filter).pipe(
128130
map(res => {
129131
return res.map(item => {
130-
const addressString = `${item.address.city}, ${item.address.state}, ${item.address.zip}, ${item.address.country}`;
132+
const addressString = ` ${item.address.zip}, ${item.address.country}`;
133+
// ${item.address.city}, ${item.address.state},
131134
return {
132135
name: item.name,
133136
key: item.key,

projects/saas-ui/src/app/main/components/tenant-registration/tenant-registration.component.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,6 @@ <h5>{{ plan.name }}</h5>
265265
</div>
266266
</div>
267267

268-
<!-- testing plan design cancel -->
269-
270268
<!-- signup button -->
271269
<div class="btn-wrapper">
272270
<div class="btn regbtn">

projects/saas-ui/src/app/main/components/tenant-registration/tenant-registration.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
.info-icon {
2222
margin-left: 8px;
2323
cursor: pointer;
24-
color: #007bff; /* Adjust color as needed */
24+
color: #007bff;
2525
}
2626

2727
.required {
@@ -234,7 +234,7 @@ input.ng-invalid.ng-touched {
234234
font-size: 1.25em;
235235
margin: 0;
236236
}
237-
}
237+
}s
238238

239239
.plan-card-body {
240240
padding: 15px;

0 commit comments

Comments
 (0)