Merge pull request #2773 from AnvayKharb/WEB-408-improve-ui-of-configuration-wizard
WEB-408: Improve Configuration Wizard popup UI
This commit is contained in:
@@ -1,48 +1,39 @@
|
||||
<h1 mat-dialog-title>{{ 'labels.heading.Welcome to Mifos' | translate }}</h1>
|
||||
<div class="config-wizard-container">
|
||||
<h1 mat-dialog-title>{{ 'labels.heading.Welcome to Mifos' | translate }}</h1>
|
||||
|
||||
<mat-dialog-content>
|
||||
<h3 class="mw600">{{ 'labels.heading.Configure Mifos Organization Needs' | translate }}</h3>
|
||||
<mat-dialog-content class="config-wizard-content">
|
||||
<p class="description">{{ 'labels.heading.Configure Mifos Organization Needs' | translate }}</p>
|
||||
|
||||
<mat-grid-list cols="3" rowHeight="50px">
|
||||
<mat-grid-tile>
|
||||
<div class="buttons-grid">
|
||||
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 1 }">
|
||||
{{ 'labels.buttons.Home Screen Tour' | translate }}
|
||||
</button>
|
||||
</mat-grid-tile>
|
||||
<mat-grid-tile>
|
||||
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 2 }">
|
||||
{{ 'labels.buttons.Setup Organization' | translate }}
|
||||
</button>
|
||||
</mat-grid-tile>
|
||||
<mat-grid-tile>
|
||||
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 3 }">
|
||||
{{ 'labels.buttons.Setup System' | translate }}
|
||||
</button>
|
||||
</mat-grid-tile>
|
||||
<mat-grid-tile>
|
||||
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 4 }">
|
||||
{{ 'labels.buttons.Setup Accounting' | translate }}
|
||||
</button>
|
||||
</mat-grid-tile>
|
||||
<mat-grid-tile>
|
||||
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 5 }">
|
||||
{{ 'labels.buttons.Setup Products' | translate }}
|
||||
</button>
|
||||
</mat-grid-tile>
|
||||
<mat-grid-tile>
|
||||
<button mat-raised-button color="primary" [mat-dialog-close]="{ show: 6 }">
|
||||
{{ 'labels.buttons.Setup Funds and Reports' | translate }}
|
||||
</button>
|
||||
</mat-grid-tile>
|
||||
</mat-grid-list>
|
||||
</div>
|
||||
|
||||
<h3>{{ 'labels.heading.Progress Bar' | translate }} : 0%</h3>
|
||||
<div class="progress-section">
|
||||
<h3 class="progress-label">{{ 'labels.heading.Progress Bar' | translate }}: 0%</h3>
|
||||
<mat-progress-bar mode="determinate" value="0"></mat-progress-bar>
|
||||
</div>
|
||||
</mat-dialog-content>
|
||||
|
||||
<mat-progress-bar mode="determinate" value="0"></mat-progress-bar>
|
||||
</mat-dialog-content>
|
||||
|
||||
<mat-dialog-actions>
|
||||
<button mat-raised-button color="warn" [mat-dialog-close]="{ show: 0 }">
|
||||
{{ 'labels.buttons.Close Config. Wizard' | translate }}
|
||||
</button>
|
||||
</mat-dialog-actions>
|
||||
<mat-dialog-actions class="config-wizard-actions">
|
||||
<button mat-raised-button color="warn" [mat-dialog-close]="{ show: 0 }">
|
||||
{{ 'labels.buttons.Close Config. Wizard' | translate }}
|
||||
</button>
|
||||
</mat-dialog-actions>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
.config-wizard-container {
|
||||
padding: 24px;
|
||||
max-width: 800px;
|
||||
|
||||
h1 {
|
||||
margin: 0 0 24px;
|
||||
text-align: center;
|
||||
font-size: 28px;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.config-wizard-actions {
|
||||
padding: 16px 0 0 !important;
|
||||
margin: 0 !important;
|
||||
justify-content: center;
|
||||
border-top: 1px solid #e0e0e0;
|
||||
|
||||
button {
|
||||
min-width: 180px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.config-wizard-content {
|
||||
padding: 0 !important;
|
||||
margin-bottom: 24px;
|
||||
|
||||
.description {
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
margin: 0 0 32px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.buttons-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
margin-bottom: 32px;
|
||||
|
||||
button {
|
||||
flex: 1 1 calc(33.333% - 11px);
|
||||
min-width: 180px;
|
||||
height: 48px;
|
||||
text-transform: none;
|
||||
|
||||
@media (width < 768px) {
|
||||
flex: 1 1 calc(50% - 8px);
|
||||
}
|
||||
|
||||
@media (width < 480px) {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-section {
|
||||
margin-top: 32px;
|
||||
|
||||
.progress-label {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
margin: 0 0 12px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
mat-progress-bar {
|
||||
height: 8px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user