Skip to content

Commit 02d3907

Browse files
AnvayKharbJaySoni1
authored andcommitted
WEB-408: Improve Configuration Wizard UI
- Redesigned dialog layout with centered content and improved spacing - Changed button grid to display 3 columns (33.333% each) with responsive breakpoints - Added progress bar section with cleaner styling - Improved button styles to match site standards (removed custom font-weight, changed Close button from stroked-warn to standard raised button) - Enhanced visual hierarchy and professional appearance - Responsive design for tablets and mobile devices
1 parent 921927f commit 02d3907

File tree

2 files changed

+90
-26
lines changed

2 files changed

+90
-26
lines changed
Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,39 @@
1-
<h1 mat-dialog-title>{{ 'labels.heading.Welcome to Mifos' | translate }}</h1>
1+
<div class="config-wizard-container">
2+
<h1 mat-dialog-title>{{ 'labels.heading.Welcome to Mifos' | translate }}</h1>
23

3-
<mat-dialog-content>
4-
<h3 class="mw600">{{ 'labels.heading.Configure Mifos Organization Needs' | translate }}</h3>
4+
<mat-dialog-content class="config-wizard-content">
5+
<p class="description">{{ 'labels.heading.Configure Mifos Organization Needs' | translate }}</p>
56

6-
<mat-grid-list cols="3" rowHeight="50px">
7-
<mat-grid-tile>
7+
<div class="buttons-grid">
88
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 1 }">
99
{{ 'labels.buttons.Home Screen Tour' | translate }}
1010
</button>
11-
</mat-grid-tile>
12-
<mat-grid-tile>
1311
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 2 }">
1412
{{ 'labels.buttons.Setup Organization' | translate }}
1513
</button>
16-
</mat-grid-tile>
17-
<mat-grid-tile>
1814
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 3 }">
1915
{{ 'labels.buttons.Setup System' | translate }}
2016
</button>
21-
</mat-grid-tile>
22-
<mat-grid-tile>
2317
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 4 }">
2418
{{ 'labels.buttons.Setup Accounting' | translate }}
2519
</button>
26-
</mat-grid-tile>
27-
<mat-grid-tile>
2820
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 5 }">
2921
{{ 'labels.buttons.Setup Products' | translate }}
3022
</button>
31-
</mat-grid-tile>
32-
<mat-grid-tile>
3323
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 6 }">
3424
{{ 'labels.buttons.Setup Funds and Reports' | translate }}
3525
</button>
36-
</mat-grid-tile>
37-
</mat-grid-list>
26+
</div>
3827

39-
<h3>{{ 'labels.heading.Progress Bar' | translate }} : 0%</h3>
28+
<div class="progress-section">
29+
<h3 class="progress-label">{{ 'labels.heading.Progress Bar' | translate }}: 0%</h3>
30+
<mat-progress-bar mode="determinate" value="0"></mat-progress-bar>
31+
</div>
32+
</mat-dialog-content>
4033

41-
<mat-progress-bar mode="determinate" value="0"></mat-progress-bar>
42-
</mat-dialog-content>
43-
44-
<mat-dialog-actions>
45-
<button mat-raised-button color="warn" [mat-dialog-close]="{ show: 0 }">
46-
{{ 'labels.buttons.Close Config. Wizard' | translate }}
47-
</button>
48-
</mat-dialog-actions>
34+
<mat-dialog-actions class="config-wizard-actions">
35+
<button mat-raised-button color="warn" [mat-dialog-close]="{ show: 0 }">
36+
{{ 'labels.buttons.Close Config. Wizard' | translate }}
37+
</button>
38+
</mat-dialog-actions>
39+
</div>
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
.config-wizard-container {
2+
padding: 24px;
3+
max-width: 800px;
4+
5+
h1 {
6+
margin: 0 0 24px;
7+
text-align: center;
8+
font-size: 28px;
9+
font-weight: 500;
10+
}
11+
}
12+
13+
.config-wizard-actions {
14+
padding: 16px 0 0 !important;
15+
margin: 0 !important;
16+
justify-content: center;
17+
border-top: 1px solid #e0e0e0;
18+
19+
button {
20+
min-width: 180px;
21+
height: 40px;
22+
}
23+
}
24+
25+
.config-wizard-content {
26+
padding: 0 !important;
27+
margin-bottom: 24px;
28+
29+
.description {
30+
text-align: center;
31+
font-size: 16px;
32+
margin: 0 0 32px;
33+
color: #555;
34+
}
35+
36+
.buttons-grid {
37+
display: flex;
38+
flex-wrap: wrap;
39+
gap: 16px;
40+
margin-bottom: 32px;
41+
42+
button {
43+
flex: 1 1 calc(33.333% - 11px);
44+
min-width: 180px;
45+
height: 48px;
46+
text-transform: none;
47+
48+
@media (width < 768px) {
49+
flex: 1 1 calc(50% - 8px);
50+
}
51+
52+
@media (width < 480px) {
53+
flex: 1 1 100%;
54+
}
55+
}
56+
}
57+
58+
.progress-section {
59+
margin-top: 32px;
60+
61+
.progress-label {
62+
font-size: 14px;
63+
font-weight: 500;
64+
margin: 0 0 12px;
65+
color: #333;
66+
}
67+
68+
mat-progress-bar {
69+
height: 8px;
70+
border-radius: 4px;
71+
}
72+
}
73+
}

0 commit comments

Comments
 (0)