WEB-563 feat(login): modernize login UI with Material Design 3 and production mode (#3061)

improve

improve

improve
This commit is contained in:
Shubham Kumar
2026-01-31 07:17:43 -06:00
committed by GitHub
parent fbee49b464
commit c1cacdfb6d
26 changed files with 383 additions and 283 deletions
+2
View File
@@ -25,3 +25,5 @@ services:
- MIFOS_SESSION_IDLE_TIMEOUT=300000
- MIFOS_PRELOAD_CLIENTS=true
- MIFOS_DEFAULT_CHAR_DELIMITER=,
# Production mode - set to true for minimal hero with only branding
- MIFOS_PRODUCTION_MODE=false
+4
View File
@@ -41,3 +41,7 @@ MIFOS_HTTP_CACHE_ENABLED=true
# Hide client data information (set to true to mask client names)
MIFOS_COMPLIANCE_HIDE_CLIENT_DATA=false
# Production mode - when true, shows minimal hero with only branding at bottom
# Set to true for financial institutions that want a clean, professional look
MIFOS_PRODUCTION_MODE=false
@@ -80,13 +80,6 @@
<mat-spinner [diameter]="20" class="button-spinner"></mat-spinner>
}
</mifosx-m3-button>
<!-- Forgot Password Link -->
<div class="login-actions">
<a href="#" class="forgot-password-link">
{{ 'labels.links.Forgot Password?' | translate }}
</a>
</div>
</form>
</div>
}
@@ -21,7 +21,7 @@
#login-form {
display: flex;
flex-direction: column;
gap: 0.25rem;
gap: 0.5rem;
animation: slide-in 0.4s ease-out;
flex: 1;
}
@@ -71,7 +71,7 @@
}
.mat-mdc-form-field-icon-prefix {
padding-right: 0.75rem;
padding: 0 0.75rem 0 0.5rem;
color: var(--md-sys-color-on-surface-variant, #44474e);
fa-icon {
@@ -122,7 +122,8 @@
font-size: 1rem;
font-weight: 400;
color: var(--md-sys-color-on-surface, #1a1c1e);
padding: 0.875rem 0.75rem;
padding: 0.875rem 0;
margin-left: 0;
&::placeholder {
color: var(--md-sys-color-on-surface-variant, #44474e);
@@ -134,11 +135,12 @@
.mat-mdc-floating-label {
font-size: 1rem;
color: var(--md-sys-color-on-surface-variant, #44474e);
left: 0 !important;
}
// Prefix icon
.mat-mdc-form-field-icon-prefix {
padding-right: 0.75rem;
padding: 0 0.75rem 0 0.5rem;
color: var(--md-sys-color-on-surface-variant, #44474e);
fa-icon {
@@ -147,6 +149,11 @@
}
}
// Form field infix - align label with input
.mat-mdc-form-field-infix {
padding-left: 0;
}
// Suffix button (password toggle)
.mat-mdc-form-field-icon-suffix {
button {
@@ -216,33 +223,6 @@
}
}
// ===== Login Actions =====
.login-actions {
display: flex;
justify-content: center;
margin-top: 0.5rem;
}
.forgot-password-link {
font-size: 0.875rem;
color: var(--md-sys-color-primary, #1074b9);
text-decoration: none;
font-weight: 500;
padding: 0.5rem 1rem;
border-radius: 20px;
transition: all 0.2s ease;
&:hover {
background: #1074b914;
text-decoration: underline;
}
&:focus {
outline: 2px solid var(--md-sys-color-primary, #1074b9);
outline-offset: 2px;
}
}
// ===== OIDC Login =====
.oidc-login-container {
width: 100%;
@@ -370,14 +350,6 @@
}
}
.forgot-password-link {
color: var(--md-sys-color-primary, #5ba2ec);
&:hover {
background: #5ba2ec1f;
}
}
.oidc-description {
color: var(--md-sys-color-on-surface-variant, #c4c6d0);
}
@@ -444,7 +416,7 @@
}
.mat-mdc-form-field-icon-prefix {
padding-right: 0.5rem;
padding: 0 0.5rem 0 0.35rem;
}
}
}
@@ -454,15 +426,6 @@
margin-top: 0.4rem;
}
.login-actions {
margin-top: 0.4rem;
}
.forgot-password-link {
font-size: 0.8125rem;
padding: 0.35rem 0.65rem;
}
.oidc-actions {
flex-direction: column;
+46 -30
View File
@@ -8,9 +8,11 @@
<!-- Modern Material Design 3 Login Layout -->
<div class="login-wrapper">
<!-- Left Panel - Hero Section (Hidden on mobile) -->
<div class="hero-panel hide-lt-md">
<div class="hero-panel hide-lt-md" [class.production-mode]="productionMode">
<div class="hero-overlay"></div>
<div class="hero-content">
<!-- Default Mode: Full content -->
@if (!productionMode) {
<div class="hero-text">
<h1 class="hero-title">{{ 'APP_NAME' | translate }}</h1>
<p class="hero-subtitle">
@@ -37,12 +39,24 @@
{{ 'labels.text.Mifos Initiative' | translate }}
<fa-icon icon="external-link-alt" size="sm"></fa-icon>
</a>
<a [href]="'mifosVolunteer' | documentationLink" target="_blank" rel="noopener noreferrer" class="hero-link">
<a
[href]="'mifosVolunteer' | documentationLink"
target="_blank"
rel="noopener noreferrer"
class="hero-link"
>
{{ 'labels.text.Get involved' | translate }}
<fa-icon icon="external-link-alt" size="sm"></fa-icon>
</a>
</div>
</div>
}
<!-- Production Mode: Minimal branding at bottom -->
@if (productionMode) {
<div class="hero-branding-bottom">
<h1 class="hero-title-minimal">{{ 'APP_NAME' | translate }}</h1>
</div>
}
</div>
</div>
@@ -69,7 +83,6 @@
} @else {
<img src="assets/images/white-mifos.png" alt="{{ 'APP_NAME' | translate }} Logo" class="logo-image" />
}
<h2 class="welcome-text">{{ 'labels.heading.Welcome to Mifos' | translate }}</h2>
</div>
<!-- Form Section -->
@@ -95,32 +108,38 @@
}
</div>
<!-- Version Info Table -->
<!-- Version Info Section -->
<div class="login-version-info" *ngIf="displayBackendInfo">
<table class="login-version-table">
<tr>
<td class="version-label">{{ 'labels.version.Tenant' | translate }}</td>
<td class="version-value">{{ versions?.tenant || 'Default' }}</td>
</tr>
<tr>
<td class="version-label">{{ 'labels.version.Mifos WebApp' | translate }}</td>
<td class="version-value">{{ versions?.mifos }}</td>
</tr>
<tr>
<td class="version-label">{{ 'labels.version.Apache Fineract' | translate }}</td>
<td class="version-value">{{ versions?.fineract?.version }}</td>
</tr>
<tr>
<td class="version-label">{{ 'labels.version.Server' | translate }}</td>
<td class="version-value">{{ server }}</td>
</tr>
</table>
<div class="version-info-container">
<div class="version-item">
<span class="version-label">{{ 'labels.version.Tenant' | translate }}</span>
<span class="version-value">{{ tenantDisplayName }}</span>
</div>
<div class="version-item">
<span class="version-label">{{ 'labels.version.Mifos WebApp' | translate }}</span>
<span class="version-value">{{ versions?.mifos }}</span>
</div>
<div class="version-item">
<span class="version-label">{{ 'labels.version.Apache Fineract' | translate }}</span>
<span class="version-value">{{ versions?.fineract?.version }}</span>
</div>
<div class="version-item">
<span class="version-label">{{ 'labels.version.Server' | translate }}</span>
<span class="version-value">{{ server }}</span>
</div>
</div>
</div>
<!-- Resources Links -->
<!-- Resources Links (hidden in production mode) -->
@if (!productionMode) {
<div class="resources-section">
<div class="resources-divider">
<span class="divider-text">{{ 'labels.links.Resources' | translate }}</span>
<div class="resources-branding">
<span class="branding-text"
>{{ 'labels.text.Powered by' | translate }}
<a href="https://mifos.org" target="_blank" rel="noopener noreferrer">{{
'labels.text.Mifos Initiative' | translate
}}</a></span
>
</div>
<div class="resources-links">
<button mat-button [matMenuTriggerFor]="resourcesMenu" class="resource-button">
@@ -137,19 +156,16 @@
</button>
</div>
</div>
}
</div>
<!-- Footer -->
<div class="login-footer">
<div class="layout-column copy-label">
<p class="footer-content align-center">
{{ 'APP_NAME' | translate }} {{ 'labels.text.by' | translate }} Mifos
</p>
</div>
<button
mat-icon-button
(click)="reloadSettings()"
class="reload-button"
title="Reload Settings"
matTooltip="Reload Settings"
attr.aria-label="Reload Settings"
>
+227 -142
View File
@@ -5,45 +5,143 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Version Info Table
.login-version-table {
// ===== Version Info Section - Modern Card Style =====
.login-version-info {
margin-bottom: 1rem;
width: 100%;
margin: 0 5px;
border-collapse: collapse;
font-size: 0.75rem;
color: var(--md-sys-color-on-surface, #1a1c1e);
background: none;
display: flex;
justify-content: center;
align-items: center;
}
.login-version-table td {
padding: 0.4rem 0.7rem;
text-align: left;
vertical-align: middle;
.version-info-container {
width: 100%;
background: var(--md-sys-color-surface-container, #f3f3f6);
border-radius: 12px;
padding: 0.75rem 1rem;
border: 1px solid var(--md-sys-color-outline-variant, #c4c6d0);
}
.version-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.4rem 0;
border-bottom: 1px solid var(--md-sys-color-outline-variant, #e0e0e0);
&:last-child {
border-bottom: none;
}
}
.version-label {
font-weight: 500;
font-size: 0.75rem;
color: var(--md-sys-color-on-surface-variant, #44474e);
width: 50%;
flex-shrink: 0;
}
.version-value {
font-weight: 400;
font-size: 0.75rem;
color: var(--md-sys-color-on-surface, #1a1c1e);
width: 50%;
word-break: break-all;
text-align: right;
word-break: break-word;
max-width: 60%;
}
// Responsive
/* stylelint-disable-next-line media-feature-range-notation -- Safari compatibility */
@media (max-width: 768px) {
.login-version-table {
font-size: 0.85rem;
max-width: 100%;
// ===== Resources Branding =====
.resources-branding {
text-align: center;
margin-bottom: 0.75rem;
.branding-text {
font-size: 0.8rem;
color: var(--md-sys-color-on-surface-variant, #44474e);
font-weight: 400;
a {
color: var(--md-sys-color-primary, #1074b9);
text-decoration: none;
font-weight: 500;
&:hover {
text-decoration: underline;
}
}
}
}
// ===== Dark Mode Support =====
:host-context(.dark-theme),
:host-context([data-theme='dark']) {
.version-info-container {
background: var(--md-sys-color-surface-container-low, #2a2a2a);
border-color: var(--md-sys-color-outline-variant, #3d3d3d);
}
.login-version-table td {
padding: 0.3rem 0.4rem;
.version-item {
border-bottom-color: var(--md-sys-color-outline-variant, #3d3d3d);
}
.version-label {
color: var(--md-sys-color-on-surface-variant, #c4c6cf);
}
.version-value {
color: var(--md-sys-color-on-surface, #e2e2e5);
}
.resources-branding {
.branding-text {
color: var(--md-sys-color-on-surface-variant, #c4c6cf);
a {
color: var(--md-sys-color-primary, #a8c8ff);
}
}
}
.resource-button {
color: var(--md-sys-color-primary, #a8c8ff);
&:hover {
background: rgb(168 200 255 / 12%);
}
}
.login-card {
border: 1px solid var(--md-sys-color-outline-variant, #3d3d3d);
}
.login-header {
::ng-deep mifosx-theme-toggle button,
::ng-deep mifosx-server-selector,
::ng-deep mifosx-language-selector {
color: var(--md-sys-color-on-surface, #e2e2e5);
}
}
.logo-section {
border-bottom-color: var(--md-sys-color-outline-variant, #3d3d3d);
}
}
// Responsive for version info
/* stylelint-disable-next-line media-feature-range-notation -- Safari compatibility */
@media (max-width: 768px) {
.version-info-container {
padding: 0.5rem 0.75rem;
}
.version-item {
padding: 0.35rem 0;
}
.version-label,
.version-value {
font-size: 0.7rem;
}
}
@@ -58,6 +156,7 @@
height: 100%;
width: 100%;
background: var(--md-sys-color-background, #fafafa);
overflow-x: hidden;
}
// ===== Hero Panel (Left Side) =====
@@ -68,7 +167,7 @@
background-size: cover;
overflow: hidden;
// Dark overlay for better text contrast
// Overlay removed for clean image view
.hero-overlay {
position: absolute;
/* stylelint-disable declaration-block-no-redundant-longhand-properties -- Safari compatibility */
@@ -77,7 +176,7 @@
bottom: 0;
left: 0;
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
background: linear-gradient(135deg, #1074b99e 0%, #004989a6 100%);
background: transparent;
z-index: 1;
}
@@ -93,10 +192,16 @@
}
.hero-text {
max-width: 600px;
max-width: 550px;
color: #fff;
animation: fade-in-up 0.8s ease-out;
flex: 0 1 auto;
// Minimal backdrop - more image visibility
background: rgb(0 0 0 / 35%);
border-radius: 20px;
padding: 2rem;
border: 1px solid rgb(255 255 255 / 15%);
box-shadow: 0 4px 24px rgb(0 0 0 / 20%);
}
// Footer in hero panel
@@ -142,65 +247,66 @@
margin: 0 0 1.5rem;
line-height: 1.2;
letter-spacing: -0.02em;
background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%);
/* stylelint-disable-next-line property-no-vendor-prefix -- Safari compatibility */
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: #fff;
text-shadow:
0 2px 4px rgb(0 0 0 / 30%),
0 4px 12px rgb(0 0 0 / 15%);
}
.hero-subtitle {
font-size: 1.25rem;
line-height: 1.6;
margin: 0 0 3rem;
opacity: 0.95;
margin: 0 0 2rem;
font-weight: 400;
color: rgb(255 255 255 / 95%);
text-shadow: 0 1px 3px rgb(0 0 0 / 40%);
}
.hero-highlight {
font-weight: 600;
color: #b4d575;
text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
}
.hero-features {
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-bottom: 3rem;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.feature-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
background: #ffffff1a;
border-radius: 12px;
/* stylelint-disable-next-line property-no-vendor-prefix -- Safari compatibility */
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
gap: 0.75rem;
padding: 0.5rem 0;
background: transparent;
border-radius: 8px;
transition: all 0.3s ease;
&:hover {
background: #ffffff26;
transform: translateX(8px);
transform: translateX(4px);
}
}
.feature-icon {
font-size: 1.5rem;
font-size: 1.25rem;
color: #b4d575;
filter: drop-shadow(0 1px 2px rgb(0 0 0 / 30%));
}
.feature-text {
font-size: 1rem;
font-size: 0.95rem;
font-weight: 500;
color: rgb(255 255 255 / 95%);
text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
}
.hero-links {
display: flex;
gap: 2rem;
gap: 1rem;
flex-wrap: wrap;
margin-top: 0.5rem;
}
.hero-link {
@@ -211,20 +317,54 @@
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
border: 2px solid #ffffff4d;
border: 1px solid rgb(255 255 255 / 30%);
border-radius: 24px;
background: rgb(255 255 255 / 10%);
/* stylelint-disable-next-line property-no-vendor-prefix -- Safari compatibility */
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
transition: all 0.3s ease;
text-shadow: 0 1px 2px rgb(0 0 0 / 20%);
box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
&:hover {
background: #ffffff1a;
border-color: #fff;
background: rgb(255 255 255 / 20%);
border-color: rgb(255 255 255 / 50%);
transform: translateY(-2px);
box-shadow: 0 4px 16px rgb(0 0 0 / 15%);
}
fa-icon {
opacity: 0.7;
opacity: 0.85;
}
}
// ===== Production Mode Styles =====
&.production-mode {
.hero-content {
justify-content: flex-end;
padding-bottom: 3rem;
}
}
.hero-branding-bottom {
animation: fade-in-up 0.8s ease-out;
}
.hero-title-minimal {
font-size: 2.5rem;
font-weight: 700;
color: #fff;
text-shadow:
0 2px 8px rgb(0 0 0 / 40%),
0 4px 16px rgb(0 0 0 / 20%);
letter-spacing: -0.01em;
margin: 0;
padding: 1.5rem 2rem;
background: rgb(0 0 0 / 30%);
border-radius: 16px;
border: 1px solid rgb(255 255 255 / 15%);
}
}
// ===== Login Panel (Right Side) =====
@@ -234,19 +374,21 @@
flex-direction: column;
background: var(--md-sys-color-surface, #fff);
position: relative;
min-height: 100vh;
min-height: -webkit-fill-available; // Safari fix: use available height
overflow-y: auto;
min-height: 100vh;
overflow: hidden auto;
}
.login-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 1rem 1.5rem;
padding: 0.75rem 1rem;
background: transparent;
flex-shrink: 0; // Safari fix: prevent header from growing
max-height: 76px; // Safari fix: constrain header height
flex-wrap: nowrap;
overflow: hidden;
.header-control {
opacity: 0.8;
@@ -282,7 +424,8 @@
// Language Selector Outlined Styles
::ng-deep mifosx-language-selector {
width: 20%;
min-width: 80px;
max-width: 100px;
flex-shrink: 0; // Safari fix
#language-selector.outlined-variant {
@@ -318,8 +461,9 @@
// Server Selector Outlined Styles
::ng-deep mifosx-server-selector {
width: 70%;
flex-shrink: 0; // Safari fix
flex: 1;
min-width: 0;
max-width: 250px;
#server-selector.outlined-variant {
width: 100%;
@@ -360,7 +504,7 @@
flex-direction: column;
align-items: center;
justify-content: flex-start; // Safari fix: avoid center calculation issues
padding: 1rem;
padding: 0 1rem 1rem;
min-height: 0; // Safari fix: allows flex item to shrink below content size
animation: fade-in 0.6s ease-out;
}
@@ -388,31 +532,23 @@
// ===== Logo Section =====
.logo-section {
text-align: center;
margin-bottom: 1rem;
margin-bottom: 0.75rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid var(--md-sys-color-outline-variant, #e8eaed);
flex-shrink: 0;
animation: fade-in-down 0.6s ease-out 0.2s both;
animation: fade-in 0.5s ease-out 0.1s both;
}
.logo-image {
max-width: 180px;
height: auto;
margin-bottom: 1rem;
filter: drop-shadow(0 2px 8px #0000001a);
}
height: 130px;
width: auto;
margin: 8px 24px;
opacity: 0.95;
transition: opacity 0.3s ease;
.welcome-text {
font-size: 1.75rem;
font-weight: 600;
margin: 0 0 0.5rem;
color: var(--md-sys-color-on-surface, #1a1c1e);
letter-spacing: -0.01em;
}
.welcome-subtitle {
font-size: 0.95rem;
color: var(--md-sys-color-on-surface-variant, #44474e);
margin: 0;
font-weight: 400;
&:hover {
opacity: 1;
}
}
// ===== Form Section =====
@@ -429,15 +565,6 @@
flex-shrink: 0;
}
// ===== Version Info Section =====
.login-version-info {
margin-bottom: 1rem;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
// ===== Resources Section =====
.resources-section {
margin-top: auto;
@@ -446,34 +573,6 @@
animation: fade-in-up 0.6s ease-out 0.4s both;
}
.resources-divider {
position: relative;
text-align: center;
margin-bottom: 1.5rem;
&::before {
content: '';
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 1px;
background: var(--md-sys-color-outline-variant, #c4c6d0);
}
.divider-text {
position: relative;
display: inline-block;
padding: 0 1rem;
background: var(--md-sys-color-surface-container-low, #fff);
color: var(--md-sys-color-on-surface-variant, #44474e);
font-size: 0.85rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.05em;
}
}
.resources-links {
display: flex;
justify-content: center;
@@ -504,19 +603,13 @@
.login-footer {
display: flex;
align-items: center;
justify-content: space-between;
justify-content: center;
gap: 1rem;
padding: 1rem 1.5rem;
padding: 0.75rem 1.5rem;
position: relative;
margin-top: auto;
flex-direction: column;
flex-shrink: 0;
mifosx-footer {
flex: 1;
text-align: left;
}
.reload-button {
color: var(--mat-app-text-color, #c4c6d0);
opacity: 0.6;
@@ -652,7 +745,7 @@
}
.login-card-container {
padding: 1rem;
padding: 0 1rem 1rem;
justify-content: center;
height: auto;
min-height: calc(100vh - 56px); // 56px for header
@@ -700,16 +793,14 @@
}
.logo-section {
margin-bottom: 1rem;
margin-bottom: 0.5rem;
padding-bottom: 0.5rem;
}
.logo-image {
max-width: 140px;
margin-bottom: 0.75rem;
}
.welcome-text {
font-size: 1.5rem;
height: 100px;
width: auto;
margin: 8px 20px;
}
// Hide resources section on medium and small screens
@@ -755,7 +846,7 @@
}
.login-card-container {
padding: 0.5rem;
padding: 0 0.5rem 0.5rem;
justify-content: center;
}
@@ -764,20 +855,14 @@
}
.logo-section {
margin-bottom: 0.75rem;
margin-bottom: 0.5rem;
padding-bottom: 0.25rem;
}
.logo-image {
max-width: 110px;
margin-bottom: 0.5rem;
}
.welcome-text {
font-size: 1.25rem;
}
.welcome-subtitle {
font-size: 0.875rem;
height: 80px;
width: auto;
margin: 4px 16px;
}
.form-section {
+8
View File
@@ -75,6 +75,8 @@ import { VersionService } from '../system/version.service';
export class LoginComponent implements OnInit, OnDestroy {
/** Show version info table if env allows */
displayBackendInfo = environment.displayBackEndInfo !== 'false';
/** Production mode - minimal hero with branding only */
productionMode = environment.productionMode === true;
private alertService = inject(AlertService);
private settingsService = inject(SettingsService);
@@ -90,6 +92,12 @@ export class LoginComponent implements OnInit, OnDestroy {
/** Server info for display */
server: string = '';
/** Get tenant display name with first letter capitalized */
get tenantDisplayName(): string {
const tenant = this.versions?.tenant || this.settingsService.tenantIdentifier || 'default';
return tenant.charAt(0).toUpperCase() + tenant.slice(1).toLowerCase();
}
/** True if password requires a reset. */
resetPassword = false;
/** True if user requires two factor authentication. */
@@ -21,7 +21,7 @@
<div class="sticky">
<form [formGroup]="form" (ngSubmit)="addNewServer()">
<div class="actions">
<mat-form-field class="ml align-start">
<mat-form-field class="add-server-field" appearance="outline">
<span matPrefix><mat-icon>language</mat-icon></span>
<mat-label>{{ 'labels.placeholders.Add new server' | translate }}</mat-label>
<input matInput type="text" autocomplete="off" formControlName="url" />
@@ -31,7 +31,7 @@
</mat-error>
}
</mat-form-field>
<button type="submit" [disabled]="form.invalid" class="ml" mat-raised-button color="primary">
<button type="submit" [disabled]="form.invalid" mat-raised-button color="primary">
{{ 'labels.buttons.Add' | translate }}
</button>
</div>
@@ -142,12 +142,22 @@
// ===== Common Styles =====
.actions {
display: flex;
align-items: center;
justify-content: space-evenly;
}
align-items: flex-start;
justify-content: space-between;
gap: 0.75rem;
padding: 0.75rem 1rem;
.ml {
margin-left: 10px;
.mat-mdc-form-field {
flex: 1;
margin-bottom: 0;
}
button {
flex-shrink: 0;
height: 40px;
min-width: 60px;
margin-top: 4px;
}
}
.sticky {
@@ -156,8 +166,10 @@
top: 0; // fix at the top
background-color: var(--md-sys-color-surface-container, white); // don't see mat-option when scrolling
box-shadow: 1px -2px 10px 0 rgb(0 0 0 / 10%); // shadow at the bottom
padding-bottom: 0.5rem;
margin-bottom: 0.5rem;
}
mat-form-field {
width: 96%;
width: 100%;
}
@@ -10,7 +10,7 @@
<mat-select [formControl]="tenantSelector" (selectionChange)="setTenantIdentifier()" class="tenantselector">
@for (tenant of tenants; track tenant) {
<mat-option [value]="tenant">
{{ tenant }}
{{ tenant | titlecase }}
</mat-option>
}
</mat-select>
+1
View File
@@ -3202,6 +3202,7 @@
"Manual journal entry transactions recorded in a journal": "Transakce ručního zápisu do deníku zaznamenané v deníku",
"Message Gateway": "Brána zpráv",
"Mifos Initiative": "Iniciativa Mifos®",
"Powered by": "Napájeno",
"Mifos X data-tables allow the user to add custom fields": "Tabulky dat Mifos X umožňují uživateli přidat vlastní pole kromě vestavěných polí do profilu klienta, úvěrového/spořicího účtu, skupiny, centra nebo kanceláře.",
"Migrate Opening Balances": "Migrujte úvodní zůstatky",
"Modify Loans Account": "Upravit úvěrový účet",
+1
View File
@@ -3202,6 +3202,7 @@
"Manual journal entry transactions recorded in a journal": "Manuelle Journalbuchungstransaktionen, die in einem Journal aufgezeichnet werden",
"Message Gateway": "Nachrichten-Gateway",
"Mifos Initiative": "Mifos®-Initiative",
"Powered by": "Betrieben von",
"Mifos X data-tables allow the user to add custom fields": "Mifos",
"Migrate Opening Balances": "Migrate Öffnungsbilanzen",
"Modify Loans Account": "Darlehenskonto ändern",
+1
View File
@@ -3298,6 +3298,7 @@
"Manual journal entry transactions recorded in a journal": "Manual journal entry transactions recorded in a journal",
"Message Gateway": "Message Gateway",
"Mifos Initiative": "Mifos® Initiative",
"Powered by": "Powered by",
"Mifos X data-tables allow the user to add custom fields": "Mifos X data-tables allow the user to add custom fields in addition to the built-in fields to a client profile, loan/saving account, group, center or an office.",
"Migrate Opening Balances": "Migrate Opening Balances",
"Modify Loans Account": "Modify Loans Account",
+1
View File
@@ -3203,6 +3203,7 @@
"Manual journal entry transactions recorded in a journal": "Transacciones de asiento de diario manuales registradas en un diario",
"Message Gateway": "Puerta de enlace de mensajes",
"Mifos Initiative": "Iniciativa Mifos®",
"Powered by": "Impulsado por",
"Mifos X data-tables allow the user to add custom fields": "Las tablas de datos de Mifos X permiten al usuario agregar campos personalizados además de los campos integrados a un perfil de cliente, cuenta de Crédito/ahorro, grupo, centro u oficina.",
"Migrate Opening Balances": "Migrar saldos de apertura",
"Modify Loans Account": "Modificar cuenta de Créditos",
+1
View File
@@ -3206,6 +3206,7 @@
"Manual journal entry transactions recorded in a journal": "Transacciones de asiento de diario manuales registradas en un diario",
"Message Gateway": "Puerta de enlace de mensajes",
"Mifos Initiative": "Iniciativa Mifos®",
"Powered by": "Impulsado por",
"Mifos X data-tables allow the user to add custom fields": "Las tablas de datos de Mifos X permiten al usuario agregar campos personalizados además de los campos integrados a un perfil de cliente, cuenta de Crédito/ahorro, grupo, centro u oficina.",
"Migrate Opening Balances": "Migrar saldos de apertura",
"Modify Loans Account": "Modificar cuenta de Créditos",
+1
View File
@@ -3201,6 +3201,7 @@
"Manual journal entry transactions recorded in a journal": "Opérations d'écriture de journal manuelle enregistrées dans un journal",
"Message Gateway": "Passerelle de messages",
"Mifos Initiative": "Initiative Mifos®",
"Powered by": "Alimenté par",
"Mifos X data-tables allow the user to add custom fields": "Les tables de données Mifos X permettent à l'utilisateur d'ajouter des champs personnalisés en plus des champs intégrés à un profil client, un compte de prêt/épargne, un groupe, un centre ou un bureau.",
"Migrate Opening Balances": "Migrer les soldes d'ouverture",
"Modify Loans Account": "Modifier le compte de prêts",
+1
View File
@@ -3201,6 +3201,7 @@
"Manual journal entry transactions recorded in a journal": "Transazioni di registrazione a giornale manuali registrate in un giornale",
"Message Gateway": "Portale dei messaggi",
"Mifos Initiative": "Iniziativa Mifos®",
"Powered by": "Offerto da",
"Mifos X data-tables allow the user to add custom fields": "Le tabelle dati di Mifos X consentono all'utente di aggiungere campi personalizzati oltre ai campi integrati al profilo cliente, conto di prestito/risparmio, gruppo, centro o ufficio.",
"Migrate Opening Balances": "Migrare i saldi di apertura",
"Modify Loans Account": "Modifica conto prestiti",
+1
View File
@@ -3202,6 +3202,7 @@
"Manual journal entry transactions recorded in a journal": "분개장에 기록된 수동 분개 거래",
"Message Gateway": "메시지 게이트웨이",
"Mifos Initiative": "Mifos® 이니셔티브",
"Powered by": "제공:",
"Mifos X data-tables allow the user to add custom fields": "Mifos X 데이터 테이블을 사용하면 사용자는 클라이언트 프로필, 대출/저축 계좌, 그룹, 센터 또는 사무실에 기본 제공 필드 외에 사용자 정의 필드를 추가할 수 있습니다.",
"Migrate Opening Balances": "개방 잔액을 마이그레이션합니다",
"Modify Loans Account": "대출 계정 수정",
+1
View File
@@ -3202,6 +3202,7 @@
"Manual journal entry transactions recorded in a journal": "Neautomatinio žurnalo įrašymo operacijos, įrašytos į žurnalą",
"Message Gateway": "Pranešimų vartai",
"Mifos Initiative": "Mifos® iniciatyva",
"Powered by": "Varomas",
"Mifos X data-tables allow the user to add custom fields": "„Mifos X“ duomenų lentelės leidžia vartotojui pridėti pasirinktinius laukus be įtaisytųjų laukų prie kliento profilio, paskolos / taupymo sąskaitos, grupės, centro ar biuro.",
"Migrate Opening Balances": "Perkelkite atidarymo balansus",
"Modify Loans Account": "Modifikuoti paskolų sąskaitą",
+1
View File
@@ -3202,6 +3202,7 @@
"Manual journal entry transactions recorded in a journal": "Manuālā žurnāla ieraksta darījumi, kas ierakstīti žurnālā",
"Message Gateway": "Ziņojumu vārteja",
"Mifos Initiative": "Mifos® iniciatīva",
"Powered by": "Darbojas ar",
"Mifos X data-tables allow the user to add custom fields": "Mifos X datu tabulas ļauj lietotājam papildus iebūvētajiem laukiem pievienot pielāgotus laukus klienta profilam, aizdevuma/uzkrājuma kontam, grupai, centram vai birojam.",
"Migrate Opening Balances": "Migrēt atveres atlikumus",
"Modify Loans Account": "Modificēt aizdevuma kontu",
+1 -1
View File
@@ -885,7 +885,6 @@
"GreaterThan": "भन्दा ठुलो",
"NotEqual": "बराबर छैन"
},
"heading": {
"Account Linked Financial": "विभिन्न वित्तीय गतिविधिहरु संग जोडिएको खाताहरु को सूची। थप जान्नको लागि क्लिक गर्नुहोस्:",
"Account Name": "खाताको नाम",
@@ -3201,6 +3200,7 @@
"Manual journal entry transactions recorded in a journal": "जर्नलमा रेकर्ड गरिएको म्यानुअल जर्नल प्रविष्टि लेनदेन",
"Message Gateway": "सन्देश गेटवे",
"Mifos Initiative": "Mifos® पहल",
"Powered by": "द्वारा संचालित",
"Mifos X data-tables allow the user to add custom fields": "Mifos X डाटा-टेबलहरूले प्रयोगकर्तालाई ग्राहक प्रोफाइल, ऋण/बचत खाता, समूह, केन्द्र वा कार्यालयमा निर्मित क्षेत्रहरू बाहेक अनुकूलन क्षेत्रहरू थप्न अनुमति दिन्छ।",
"Migrate Opening Balances": "ओप्रवाहको ब्यालेन्स सारियो",
"Modify Loans Account": "ऋण खाता परिमार्जन गर्नुहोस्",
+1 -1
View File
@@ -975,7 +975,6 @@
"Create fixed deposit product": "Criar produto de depósito fixo",
"Create loan product": "Criar produto de empréstimo",
"Create recurring deposit product": "Crie um produto de depósito recorrente",
"Create share product": "Criar produto compartilhado",
"Currency": "Moeda",
"Currency Configuration": "Configuração de moeda",
@@ -3202,6 +3201,7 @@
"Manual journal entry transactions recorded in a journal": "Transações de lançamento manual registradas em um diário",
"Message Gateway": "Gateway de mensagens",
"Mifos Initiative": "Iniciativa Mifos®",
"Powered by": "Desenvolvido por",
"Mifos X data-tables allow the user to add custom fields": "As tabelas de dados Mifos X permitem ao usuário adicionar campos personalizados além dos campos integrados a um perfil de cliente, empréstimo/conta poupança, grupo, centro ou escritório.",
"Migrate Opening Balances": "Migrar saldos de abertura",
"Modify Loans Account": "Modificar conta de empréstimos",
+1
View File
@@ -3198,6 +3198,7 @@
"Manual journal entry transactions recorded in a journal": "Uingizaji wa shughuli za jarida kwa mikono iliyorekodiwa kwenye jarida",
"Message Gateway": "Lango la Ujumbe",
"Mifos Initiative": "Mpango wa Mifos®",
"Powered by": "Imeendeshwa na",
"Mifos X data-tables allow the user to add custom fields": "Jedwali la data la Mifos X huruhusu mtumiaji kuongeza sehemu maalum pamoja na sehemu zilizojengewa ndani kwa wasifu wa mteja, akaunti ya mkopo/kuokoa, kikundi, kituo au ofisi.",
"Migrate Opening Balances": "Kuhamia mizani ya ufunguzi",
"Modify Loans Account": "Rekebisha Akaunti ya Mikopo",
+2
View File
@@ -60,6 +60,8 @@ export const environment = {
displayBackEndInfo: loadedEnv['displayBackEndInfo'] || 'true',
displayTenantSelector: loadedEnv['displayTenantSelector'] || 'true',
/** Production mode - when true, shows minimal hero with only branding at bottom */
productionMode: loadedEnv['productionMode'] === 'true' || loadedEnv['productionMode'] === true || false,
tenantLogoUrl: loadedEnv['tenantLogoUrl'] || 'assets/images/mifos_lg-logo.jpg',
documentationBaseUrl: loadedEnv['documentationBaseUrl'] || 'https://mifosforge.jira.com/wiki',
// Time in seconds, default 60 seconds
+3 -1
View File
@@ -64,7 +64,9 @@ export const environment = {
displayBackEndInfo: loadedEnv.displayBackEndInfo || 'true',
displayTenantSelector: loadedEnv.displayTenantSelector || 'true',
tenantLogoUrl: loadedEnv.tenantLogoUrl || 'assets/images/mifos_lg-logo.jpg',
/** Production mode - when true, shows minimal hero with only branding at bottom */
productionMode: loadedEnv.productionMode === 'true' || loadedEnv.productionMode === true || false,
tenantLogoUrl: loadedEnv.tenantLogoUrl || 'assets/images/default_home.png',
documentationBaseUrl: loadedEnv.documentationBaseUrl || 'https://mifosforge.jira.com/wiki',
// Time in seconds, default 60 seconds
waitTimeForNotifications: loadedEnv.waitTimeForNotifications || 60,
+2
View File
@@ -31,6 +31,8 @@ interface Window {
defaultCharDelimiter?: string;
displayBackEndInfo?: string;
displayTenantSelector?: string;
/** Production mode - when true, shows minimal hero with only branding at bottom */
productionMode?: string | boolean;
waitTimeForNotifications?: number;
waitTimeForCOBCatchUp?: number;
sessionIdleTimeout?: number;