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_SESSION_IDLE_TIMEOUT=300000
- MIFOS_PRELOAD_CLIENTS=true - MIFOS_PRELOAD_CLIENTS=true
- MIFOS_DEFAULT_CHAR_DELIMITER=, - 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) # Hide client data information (set to true to mask client names)
MIFOS_COMPLIANCE_HIDE_CLIENT_DATA=false 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> <mat-spinner [diameter]="20" class="button-spinner"></mat-spinner>
} }
</mifosx-m3-button> </mifosx-m3-button>
<!-- Forgot Password Link -->
<div class="login-actions">
<a href="#" class="forgot-password-link">
{{ 'labels.links.Forgot Password?' | translate }}
</a>
</div>
</form> </form>
</div> </div>
} }
@@ -21,7 +21,7 @@
#login-form { #login-form {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.25rem; gap: 0.5rem;
animation: slide-in 0.4s ease-out; animation: slide-in 0.4s ease-out;
flex: 1; flex: 1;
} }
@@ -71,7 +71,7 @@
} }
.mat-mdc-form-field-icon-prefix { .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); color: var(--md-sys-color-on-surface-variant, #44474e);
fa-icon { fa-icon {
@@ -122,7 +122,8 @@
font-size: 1rem; font-size: 1rem;
font-weight: 400; font-weight: 400;
color: var(--md-sys-color-on-surface, #1a1c1e); color: var(--md-sys-color-on-surface, #1a1c1e);
padding: 0.875rem 0.75rem; padding: 0.875rem 0;
margin-left: 0;
&::placeholder { &::placeholder {
color: var(--md-sys-color-on-surface-variant, #44474e); color: var(--md-sys-color-on-surface-variant, #44474e);
@@ -134,11 +135,12 @@
.mat-mdc-floating-label { .mat-mdc-floating-label {
font-size: 1rem; font-size: 1rem;
color: var(--md-sys-color-on-surface-variant, #44474e); color: var(--md-sys-color-on-surface-variant, #44474e);
left: 0 !important;
} }
// Prefix icon // Prefix icon
.mat-mdc-form-field-icon-prefix { .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); color: var(--md-sys-color-on-surface-variant, #44474e);
fa-icon { 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) // Suffix button (password toggle)
.mat-mdc-form-field-icon-suffix { .mat-mdc-form-field-icon-suffix {
button { 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 =====
.oidc-login-container { .oidc-login-container {
width: 100%; width: 100%;
@@ -370,14 +350,6 @@
} }
} }
.forgot-password-link {
color: var(--md-sys-color-primary, #5ba2ec);
&:hover {
background: #5ba2ec1f;
}
}
.oidc-description { .oidc-description {
color: var(--md-sys-color-on-surface-variant, #c4c6d0); color: var(--md-sys-color-on-surface-variant, #c4c6d0);
} }
@@ -444,7 +416,7 @@
} }
.mat-mdc-form-field-icon-prefix { .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; margin-top: 0.4rem;
} }
.login-actions {
margin-top: 0.4rem;
}
.forgot-password-link {
font-size: 0.8125rem;
padding: 0.35rem 0.65rem;
}
.oidc-actions { .oidc-actions {
flex-direction: column; flex-direction: column;
+89 -73
View File
@@ -8,41 +8,55 @@
<!-- Modern Material Design 3 Login Layout --> <!-- Modern Material Design 3 Login Layout -->
<div class="login-wrapper"> <div class="login-wrapper">
<!-- Left Panel - Hero Section (Hidden on mobile) --> <!-- 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-overlay"></div>
<div class="hero-content"> <div class="hero-content">
<div class="hero-text"> <!-- Default Mode: Full content -->
<h1 class="hero-title">{{ 'APP_NAME' | translate }}</h1> @if (!productionMode) {
<p class="hero-subtitle"> <div class="hero-text">
{{ 'labels.text.A' | translate }} <h1 class="hero-title">{{ 'APP_NAME' | translate }}</h1>
<span class="hero-highlight">{{ 'labels.text.global community' | translate }}</span> <p class="hero-subtitle">
{{ 'labels.text.elimination of poverty' | translate }} {{ 'labels.text.A' | translate }}
</p> <span class="hero-highlight">{{ 'labels.text.global community' | translate }}</span>
<div class="hero-features"> {{ 'labels.text.elimination of poverty' | translate }}
<div class="feature-item"> </p>
<fa-icon icon="shield-alt" class="feature-icon"></fa-icon> <div class="hero-features">
<span class="feature-text">{{ 'labels.heading.Secure & Reliable' | translate }}</span> <div class="feature-item">
<fa-icon icon="shield-alt" class="feature-icon"></fa-icon>
<span class="feature-text">{{ 'labels.heading.Secure & Reliable' | translate }}</span>
</div>
<div class="feature-item">
<fa-icon icon="users" class="feature-icon"></fa-icon>
<span class="feature-text">{{ 'labels.heading.Community Driven' | translate }}</span>
</div>
<div class="feature-item">
<fa-icon icon="globe" class="feature-icon"></fa-icon>
<span class="feature-text">{{ 'labels.heading.Global Impact' | translate }}</span>
</div>
</div> </div>
<div class="feature-item"> <div class="hero-links">
<fa-icon icon="users" class="feature-icon"></fa-icon> <a [href]="'mifosHome' | documentationLink" target="_blank" rel="noopener noreferrer" class="hero-link">
<span class="feature-text">{{ 'labels.heading.Community Driven' | translate }}</span> {{ 'labels.text.Mifos Initiative' | translate }}
</div> <fa-icon icon="external-link-alt" size="sm"></fa-icon>
<div class="feature-item"> </a>
<fa-icon icon="globe" class="feature-icon"></fa-icon> <a
<span class="feature-text">{{ 'labels.heading.Global Impact' | translate }}</span> [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>
</div> </div>
<div class="hero-links"> }
<a [href]="'mifosHome' | documentationLink" target="_blank" rel="noopener noreferrer" class="hero-link"> <!-- Production Mode: Minimal branding at bottom -->
{{ 'labels.text.Mifos Initiative' | translate }} @if (productionMode) {
<fa-icon icon="external-link-alt" size="sm"></fa-icon> <div class="hero-branding-bottom">
</a> <h1 class="hero-title-minimal">{{ 'APP_NAME' | translate }}</h1>
<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>
</div> }
</div> </div>
</div> </div>
@@ -69,7 +83,6 @@
} @else { } @else {
<img src="assets/images/white-mifos.png" alt="{{ 'APP_NAME' | translate }} Logo" class="logo-image" /> <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> </div>
<!-- Form Section --> <!-- Form Section -->
@@ -95,61 +108,64 @@
} }
</div> </div>
<!-- Version Info Table --> <!-- Version Info Section -->
<div class="login-version-info" *ngIf="displayBackendInfo"> <div class="login-version-info" *ngIf="displayBackendInfo">
<table class="login-version-table"> <div class="version-info-container">
<tr> <div class="version-item">
<td class="version-label">{{ 'labels.version.Tenant' | translate }}</td> <span class="version-label">{{ 'labels.version.Tenant' | translate }}</span>
<td class="version-value">{{ versions?.tenant || 'Default' }}</td> <span class="version-value">{{ tenantDisplayName }}</span>
</tr> </div>
<tr> <div class="version-item">
<td class="version-label">{{ 'labels.version.Mifos WebApp' | translate }}</td> <span class="version-label">{{ 'labels.version.Mifos WebApp' | translate }}</span>
<td class="version-value">{{ versions?.mifos }}</td> <span class="version-value">{{ versions?.mifos }}</span>
</tr> </div>
<tr> <div class="version-item">
<td class="version-label">{{ 'labels.version.Apache Fineract' | translate }}</td> <span class="version-label">{{ 'labels.version.Apache Fineract' | translate }}</span>
<td class="version-value">{{ versions?.fineract?.version }}</td> <span class="version-value">{{ versions?.fineract?.version }}</span>
</tr> </div>
<tr> <div class="version-item">
<td class="version-label">{{ 'labels.version.Server' | translate }}</td> <span class="version-label">{{ 'labels.version.Server' | translate }}</span>
<td class="version-value">{{ server }}</td> <span class="version-value">{{ server }}</span>
</tr> </div>
</table> </div>
</div> </div>
<!-- Resources Links --> <!-- Resources Links (hidden in production mode) -->
<div class="resources-section"> @if (!productionMode) {
<div class="resources-divider"> <div class="resources-section">
<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">
<fa-icon icon="book" size="sm"></fa-icon>
{{ 'labels.links.Resources' | translate }}
</button>
<button mat-button [matMenuTriggerFor]="communityMenu" class="resource-button">
<fa-icon icon="users" size="sm"></fa-icon>
{{ 'labels.links.Community' | translate }}
</button>
<button mat-button [matMenuTriggerFor]="contributeMenu" class="resource-button">
<fa-icon icon="heart" size="sm"></fa-icon>
{{ 'labels.links.Contribute' | translate }}
</button>
</div>
</div> </div>
<div class="resources-links"> }
<button mat-button [matMenuTriggerFor]="resourcesMenu" class="resource-button">
<fa-icon icon="book" size="sm"></fa-icon>
{{ 'labels.links.Resources' | translate }}
</button>
<button mat-button [matMenuTriggerFor]="communityMenu" class="resource-button">
<fa-icon icon="users" size="sm"></fa-icon>
{{ 'labels.links.Community' | translate }}
</button>
<button mat-button [matMenuTriggerFor]="contributeMenu" class="resource-button">
<fa-icon icon="heart" size="sm"></fa-icon>
{{ 'labels.links.Contribute' | translate }}
</button>
</div>
</div>
</div> </div>
<!-- Footer --> <!-- Footer -->
<div class="login-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 <button
mat-icon-button mat-icon-button
(click)="reloadSettings()" (click)="reloadSettings()"
class="reload-button" class="reload-button"
title="Reload Settings"
matTooltip="Reload Settings" matTooltip="Reload Settings"
attr.aria-label="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 * 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/. * 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%; width: 100%;
margin: 0 5px; display: flex;
border-collapse: collapse; justify-content: center;
font-size: 0.75rem; align-items: center;
color: var(--md-sys-color-on-surface, #1a1c1e);
background: none;
} }
.login-version-table td { .version-info-container {
padding: 0.4rem 0.7rem; width: 100%;
text-align: left; background: var(--md-sys-color-surface-container, #f3f3f6);
vertical-align: middle; 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 { .version-label {
font-weight: 500; font-weight: 500;
font-size: 0.75rem;
color: var(--md-sys-color-on-surface-variant, #44474e); color: var(--md-sys-color-on-surface-variant, #44474e);
width: 50%; flex-shrink: 0;
} }
.version-value { .version-value {
font-weight: 400; font-weight: 400;
font-size: 0.75rem;
color: var(--md-sys-color-on-surface, #1a1c1e); color: var(--md-sys-color-on-surface, #1a1c1e);
width: 50%; text-align: right;
word-break: break-all; word-break: break-word;
max-width: 60%;
} }
// Responsive // ===== Resources Branding =====
/* stylelint-disable-next-line media-feature-range-notation -- Safari compatibility */ .resources-branding {
@media (max-width: 768px) { text-align: center;
.login-version-table { margin-bottom: 0.75rem;
font-size: 0.85rem;
max-width: 100%; .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 { .version-item {
padding: 0.3rem 0.4rem; 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%; height: 100%;
width: 100%; width: 100%;
background: var(--md-sys-color-background, #fafafa); background: var(--md-sys-color-background, #fafafa);
overflow-x: hidden;
} }
// ===== Hero Panel (Left Side) ===== // ===== Hero Panel (Left Side) =====
@@ -68,7 +167,7 @@
background-size: cover; background-size: cover;
overflow: hidden; overflow: hidden;
// Dark overlay for better text contrast // Overlay removed for clean image view
.hero-overlay { .hero-overlay {
position: absolute; position: absolute;
/* stylelint-disable declaration-block-no-redundant-longhand-properties -- Safari compatibility */ /* stylelint-disable declaration-block-no-redundant-longhand-properties -- Safari compatibility */
@@ -77,7 +176,7 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
/* stylelint-enable declaration-block-no-redundant-longhand-properties */ /* stylelint-enable declaration-block-no-redundant-longhand-properties */
background: linear-gradient(135deg, #1074b99e 0%, #004989a6 100%); background: transparent;
z-index: 1; z-index: 1;
} }
@@ -93,10 +192,16 @@
} }
.hero-text { .hero-text {
max-width: 600px; max-width: 550px;
color: #fff; color: #fff;
animation: fade-in-up 0.8s ease-out; animation: fade-in-up 0.8s ease-out;
flex: 0 1 auto; 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 // Footer in hero panel
@@ -142,65 +247,66 @@
margin: 0 0 1.5rem; margin: 0 0 1.5rem;
line-height: 1.2; line-height: 1.2;
letter-spacing: -0.02em; letter-spacing: -0.02em;
background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%); color: #fff;
/* stylelint-disable-next-line property-no-vendor-prefix -- Safari compatibility */ text-shadow:
-webkit-background-clip: text; 0 2px 4px rgb(0 0 0 / 30%),
background-clip: text; 0 4px 12px rgb(0 0 0 / 15%);
-webkit-text-fill-color: transparent;
} }
.hero-subtitle { .hero-subtitle {
font-size: 1.25rem; font-size: 1.25rem;
line-height: 1.6; line-height: 1.6;
margin: 0 0 3rem; margin: 0 0 2rem;
opacity: 0.95;
font-weight: 400; font-weight: 400;
color: rgb(255 255 255 / 95%);
text-shadow: 0 1px 3px rgb(0 0 0 / 40%);
} }
.hero-highlight { .hero-highlight {
font-weight: 600; font-weight: 600;
color: #b4d575; color: #b4d575;
text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
} }
.hero-features { .hero-features {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 1.5rem; gap: 0.5rem;
margin-bottom: 3rem; margin-bottom: 1.5rem;
} }
.feature-item { .feature-item {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1rem; gap: 0.75rem;
padding: 1rem; padding: 0.5rem 0;
background: #ffffff1a; background: transparent;
border-radius: 12px; border-radius: 8px;
/* stylelint-disable-next-line property-no-vendor-prefix -- Safari compatibility */
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
transition: all 0.3s ease; transition: all 0.3s ease;
&:hover { &:hover {
background: #ffffff26; transform: translateX(4px);
transform: translateX(8px);
} }
} }
.feature-icon { .feature-icon {
font-size: 1.5rem; font-size: 1.25rem;
color: #b4d575; color: #b4d575;
filter: drop-shadow(0 1px 2px rgb(0 0 0 / 30%));
} }
.feature-text { .feature-text {
font-size: 1rem; font-size: 0.95rem;
font-weight: 500; font-weight: 500;
color: rgb(255 255 255 / 95%);
text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
} }
.hero-links { .hero-links {
display: flex; display: flex;
gap: 2rem; gap: 1rem;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 0.5rem;
} }
.hero-link { .hero-link {
@@ -211,20 +317,54 @@
align-items: center; align-items: center;
gap: 0.5rem; gap: 0.5rem;
padding: 0.75rem 1.5rem; padding: 0.75rem 1.5rem;
border: 2px solid #ffffff4d; border: 1px solid rgb(255 255 255 / 30%);
border-radius: 24px; 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; 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 { &:hover {
background: #ffffff1a; background: rgb(255 255 255 / 20%);
border-color: #fff; border-color: rgb(255 255 255 / 50%);
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 4px 16px rgb(0 0 0 / 15%);
} }
fa-icon { 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) ===== // ===== Login Panel (Right Side) =====
@@ -234,19 +374,21 @@
flex-direction: column; flex-direction: column;
background: var(--md-sys-color-surface, #fff); background: var(--md-sys-color-surface, #fff);
position: relative; position: relative;
min-height: 100vh;
min-height: -webkit-fill-available; // Safari fix: use available height min-height: -webkit-fill-available; // Safari fix: use available height
overflow-y: auto; min-height: 100vh;
overflow: hidden auto;
} }
.login-header { .login-header {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.5rem; gap: 0.5rem;
padding: 1rem 1.5rem; padding: 0.75rem 1rem;
background: transparent; background: transparent;
flex-shrink: 0; // Safari fix: prevent header from growing flex-shrink: 0; // Safari fix: prevent header from growing
max-height: 76px; // Safari fix: constrain header height max-height: 76px; // Safari fix: constrain header height
flex-wrap: nowrap;
overflow: hidden;
.header-control { .header-control {
opacity: 0.8; opacity: 0.8;
@@ -282,7 +424,8 @@
// Language Selector Outlined Styles // Language Selector Outlined Styles
::ng-deep mifosx-language-selector { ::ng-deep mifosx-language-selector {
width: 20%; min-width: 80px;
max-width: 100px;
flex-shrink: 0; // Safari fix flex-shrink: 0; // Safari fix
#language-selector.outlined-variant { #language-selector.outlined-variant {
@@ -318,8 +461,9 @@
// Server Selector Outlined Styles // Server Selector Outlined Styles
::ng-deep mifosx-server-selector { ::ng-deep mifosx-server-selector {
width: 70%; flex: 1;
flex-shrink: 0; // Safari fix min-width: 0;
max-width: 250px;
#server-selector.outlined-variant { #server-selector.outlined-variant {
width: 100%; width: 100%;
@@ -360,7 +504,7 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: flex-start; // Safari fix: avoid center calculation issues 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 min-height: 0; // Safari fix: allows flex item to shrink below content size
animation: fade-in 0.6s ease-out; animation: fade-in 0.6s ease-out;
} }
@@ -388,31 +532,23 @@
// ===== Logo Section ===== // ===== Logo Section =====
.logo-section { .logo-section {
text-align: center; 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; 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 { .logo-image {
max-width: 180px; height: 130px;
height: auto; width: auto;
margin-bottom: 1rem; margin: 8px 24px;
filter: drop-shadow(0 2px 8px #0000001a); opacity: 0.95;
} transition: opacity 0.3s ease;
.welcome-text { &:hover {
font-size: 1.75rem; opacity: 1;
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;
} }
// ===== Form Section ===== // ===== Form Section =====
@@ -429,15 +565,6 @@
flex-shrink: 0; 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 =====
.resources-section { .resources-section {
margin-top: auto; margin-top: auto;
@@ -446,34 +573,6 @@
animation: fade-in-up 0.6s ease-out 0.4s both; 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 { .resources-links {
display: flex; display: flex;
justify-content: center; justify-content: center;
@@ -504,19 +603,13 @@
.login-footer { .login-footer {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: center;
gap: 1rem; gap: 1rem;
padding: 1rem 1.5rem; padding: 0.75rem 1.5rem;
position: relative; position: relative;
margin-top: auto; margin-top: auto;
flex-direction: column;
flex-shrink: 0; flex-shrink: 0;
mifosx-footer {
flex: 1;
text-align: left;
}
.reload-button { .reload-button {
color: var(--mat-app-text-color, #c4c6d0); color: var(--mat-app-text-color, #c4c6d0);
opacity: 0.6; opacity: 0.6;
@@ -652,7 +745,7 @@
} }
.login-card-container { .login-card-container {
padding: 1rem; padding: 0 1rem 1rem;
justify-content: center; justify-content: center;
height: auto; height: auto;
min-height: calc(100vh - 56px); // 56px for header min-height: calc(100vh - 56px); // 56px for header
@@ -700,16 +793,14 @@
} }
.logo-section { .logo-section {
margin-bottom: 1rem; margin-bottom: 0.5rem;
padding-bottom: 0.5rem;
} }
.logo-image { .logo-image {
max-width: 140px; height: 100px;
margin-bottom: 0.75rem; width: auto;
} margin: 8px 20px;
.welcome-text {
font-size: 1.5rem;
} }
// Hide resources section on medium and small screens // Hide resources section on medium and small screens
@@ -755,7 +846,7 @@
} }
.login-card-container { .login-card-container {
padding: 0.5rem; padding: 0 0.5rem 0.5rem;
justify-content: center; justify-content: center;
} }
@@ -764,20 +855,14 @@
} }
.logo-section { .logo-section {
margin-bottom: 0.75rem; margin-bottom: 0.5rem;
padding-bottom: 0.25rem;
} }
.logo-image { .logo-image {
max-width: 110px; height: 80px;
margin-bottom: 0.5rem; width: auto;
} margin: 4px 16px;
.welcome-text {
font-size: 1.25rem;
}
.welcome-subtitle {
font-size: 0.875rem;
} }
.form-section { .form-section {
+8
View File
@@ -75,6 +75,8 @@ import { VersionService } from '../system/version.service';
export class LoginComponent implements OnInit, OnDestroy { export class LoginComponent implements OnInit, OnDestroy {
/** Show version info table if env allows */ /** Show version info table if env allows */
displayBackendInfo = environment.displayBackEndInfo !== 'false'; displayBackendInfo = environment.displayBackEndInfo !== 'false';
/** Production mode - minimal hero with branding only */
productionMode = environment.productionMode === true;
private alertService = inject(AlertService); private alertService = inject(AlertService);
private settingsService = inject(SettingsService); private settingsService = inject(SettingsService);
@@ -90,6 +92,12 @@ export class LoginComponent implements OnInit, OnDestroy {
/** Server info for display */ /** Server info for display */
server: string = ''; 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. */ /** True if password requires a reset. */
resetPassword = false; resetPassword = false;
/** True if user requires two factor authentication. */ /** True if user requires two factor authentication. */
@@ -21,7 +21,7 @@
<div class="sticky"> <div class="sticky">
<form [formGroup]="form" (ngSubmit)="addNewServer()"> <form [formGroup]="form" (ngSubmit)="addNewServer()">
<div class="actions"> <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> <span matPrefix><mat-icon>language</mat-icon></span>
<mat-label>{{ 'labels.placeholders.Add new server' | translate }}</mat-label> <mat-label>{{ 'labels.placeholders.Add new server' | translate }}</mat-label>
<input matInput type="text" autocomplete="off" formControlName="url" /> <input matInput type="text" autocomplete="off" formControlName="url" />
@@ -31,7 +31,7 @@
</mat-error> </mat-error>
} }
</mat-form-field> </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 }} {{ 'labels.buttons.Add' | translate }}
</button> </button>
</div> </div>
@@ -142,12 +142,22 @@
// ===== Common Styles ===== // ===== Common Styles =====
.actions { .actions {
display: flex; display: flex;
align-items: center; align-items: flex-start;
justify-content: space-evenly; justify-content: space-between;
} gap: 0.75rem;
padding: 0.75rem 1rem;
.ml { .mat-mdc-form-field {
margin-left: 10px; flex: 1;
margin-bottom: 0;
}
button {
flex-shrink: 0;
height: 40px;
min-width: 60px;
margin-top: 4px;
}
} }
.sticky { .sticky {
@@ -156,8 +166,10 @@
top: 0; // fix at the top top: 0; // fix at the top
background-color: var(--md-sys-color-surface-container, white); // don't see mat-option when scrolling 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 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 { mat-form-field {
width: 96%; width: 100%;
} }
@@ -10,7 +10,7 @@
<mat-select [formControl]="tenantSelector" (selectionChange)="setTenantIdentifier()" class="tenantselector"> <mat-select [formControl]="tenantSelector" (selectionChange)="setTenantIdentifier()" class="tenantselector">
@for (tenant of tenants; track tenant) { @for (tenant of tenants; track tenant) {
<mat-option [value]="tenant"> <mat-option [value]="tenant">
{{ tenant }} {{ tenant | titlecase }}
</mat-option> </mat-option>
} }
</mat-select> </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", "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", "Message Gateway": "Brána zpráv",
"Mifos Initiative": "Iniciativa Mifos®", "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.", "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", "Migrate Opening Balances": "Migrujte úvodní zůstatky",
"Modify Loans Account": "Upravit úvěrový účet", "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", "Manual journal entry transactions recorded in a journal": "Manuelle Journalbuchungstransaktionen, die in einem Journal aufgezeichnet werden",
"Message Gateway": "Nachrichten-Gateway", "Message Gateway": "Nachrichten-Gateway",
"Mifos Initiative": "Mifos®-Initiative", "Mifos Initiative": "Mifos®-Initiative",
"Powered by": "Betrieben von",
"Mifos X data-tables allow the user to add custom fields": "Mifos", "Mifos X data-tables allow the user to add custom fields": "Mifos",
"Migrate Opening Balances": "Migrate Öffnungsbilanzen", "Migrate Opening Balances": "Migrate Öffnungsbilanzen",
"Modify Loans Account": "Darlehenskonto ändern", "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", "Manual journal entry transactions recorded in a journal": "Manual journal entry transactions recorded in a journal",
"Message Gateway": "Message Gateway", "Message Gateway": "Message Gateway",
"Mifos Initiative": "Mifos® Initiative", "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.", "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", "Migrate Opening Balances": "Migrate Opening Balances",
"Modify Loans Account": "Modify Loans Account", "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", "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", "Message Gateway": "Puerta de enlace de mensajes",
"Mifos Initiative": "Iniciativa Mifos®", "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.", "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", "Migrate Opening Balances": "Migrar saldos de apertura",
"Modify Loans Account": "Modificar cuenta de Créditos", "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", "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", "Message Gateway": "Puerta de enlace de mensajes",
"Mifos Initiative": "Iniciativa Mifos®", "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.", "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", "Migrate Opening Balances": "Migrar saldos de apertura",
"Modify Loans Account": "Modificar cuenta de Créditos", "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", "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", "Message Gateway": "Passerelle de messages",
"Mifos Initiative": "Initiative Mifos®", "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.", "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", "Migrate Opening Balances": "Migrer les soldes d'ouverture",
"Modify Loans Account": "Modifier le compte de prêts", "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", "Manual journal entry transactions recorded in a journal": "Transazioni di registrazione a giornale manuali registrate in un giornale",
"Message Gateway": "Portale dei messaggi", "Message Gateway": "Portale dei messaggi",
"Mifos Initiative": "Iniziativa Mifos®", "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.", "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", "Migrate Opening Balances": "Migrare i saldi di apertura",
"Modify Loans Account": "Modifica conto prestiti", "Modify Loans Account": "Modifica conto prestiti",
+1
View File
@@ -3202,6 +3202,7 @@
"Manual journal entry transactions recorded in a journal": "분개장에 기록된 수동 분개 거래", "Manual journal entry transactions recorded in a journal": "분개장에 기록된 수동 분개 거래",
"Message Gateway": "메시지 게이트웨이", "Message Gateway": "메시지 게이트웨이",
"Mifos Initiative": "Mifos® 이니셔티브", "Mifos Initiative": "Mifos® 이니셔티브",
"Powered by": "제공:",
"Mifos X data-tables allow the user to add custom fields": "Mifos X 데이터 테이블을 사용하면 사용자는 클라이언트 프로필, 대출/저축 계좌, 그룹, 센터 또는 사무실에 기본 제공 필드 외에 사용자 정의 필드를 추가할 수 있습니다.", "Mifos X data-tables allow the user to add custom fields": "Mifos X 데이터 테이블을 사용하면 사용자는 클라이언트 프로필, 대출/저축 계좌, 그룹, 센터 또는 사무실에 기본 제공 필드 외에 사용자 정의 필드를 추가할 수 있습니다.",
"Migrate Opening Balances": "개방 잔액을 마이그레이션합니다", "Migrate Opening Balances": "개방 잔액을 마이그레이션합니다",
"Modify Loans Account": "대출 계정 수정", "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ą", "Manual journal entry transactions recorded in a journal": "Neautomatinio žurnalo įrašymo operacijos, įrašytos į žurnalą",
"Message Gateway": "Pranešimų vartai", "Message Gateway": "Pranešimų vartai",
"Mifos Initiative": "Mifos® iniciatyva", "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.", "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", "Migrate Opening Balances": "Perkelkite atidarymo balansus",
"Modify Loans Account": "Modifikuoti paskolų sąskaitą", "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ā", "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", "Message Gateway": "Ziņojumu vārteja",
"Mifos Initiative": "Mifos® iniciatīva", "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.", "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", "Migrate Opening Balances": "Migrēt atveres atlikumus",
"Modify Loans Account": "Modificēt aizdevuma kontu", "Modify Loans Account": "Modificēt aizdevuma kontu",
+1 -1
View File
@@ -885,7 +885,6 @@
"GreaterThan": "भन्दा ठुलो", "GreaterThan": "भन्दा ठुलो",
"NotEqual": "बराबर छैन" "NotEqual": "बराबर छैन"
}, },
"heading": { "heading": {
"Account Linked Financial": "विभिन्न वित्तीय गतिविधिहरु संग जोडिएको खाताहरु को सूची। थप जान्नको लागि क्लिक गर्नुहोस्:", "Account Linked Financial": "विभिन्न वित्तीय गतिविधिहरु संग जोडिएको खाताहरु को सूची। थप जान्नको लागि क्लिक गर्नुहोस्:",
"Account Name": "खाताको नाम", "Account Name": "खाताको नाम",
@@ -3201,6 +3200,7 @@
"Manual journal entry transactions recorded in a journal": "जर्नलमा रेकर्ड गरिएको म्यानुअल जर्नल प्रविष्टि लेनदेन", "Manual journal entry transactions recorded in a journal": "जर्नलमा रेकर्ड गरिएको म्यानुअल जर्नल प्रविष्टि लेनदेन",
"Message Gateway": "सन्देश गेटवे", "Message Gateway": "सन्देश गेटवे",
"Mifos Initiative": "Mifos® पहल", "Mifos Initiative": "Mifos® पहल",
"Powered by": "द्वारा संचालित",
"Mifos X data-tables allow the user to add custom fields": "Mifos X डाटा-टेबलहरूले प्रयोगकर्तालाई ग्राहक प्रोफाइल, ऋण/बचत खाता, समूह, केन्द्र वा कार्यालयमा निर्मित क्षेत्रहरू बाहेक अनुकूलन क्षेत्रहरू थप्न अनुमति दिन्छ।", "Mifos X data-tables allow the user to add custom fields": "Mifos X डाटा-टेबलहरूले प्रयोगकर्तालाई ग्राहक प्रोफाइल, ऋण/बचत खाता, समूह, केन्द्र वा कार्यालयमा निर्मित क्षेत्रहरू बाहेक अनुकूलन क्षेत्रहरू थप्न अनुमति दिन्छ।",
"Migrate Opening Balances": "ओप्रवाहको ब्यालेन्स सारियो", "Migrate Opening Balances": "ओप्रवाहको ब्यालेन्स सारियो",
"Modify Loans Account": "ऋण खाता परिमार्जन गर्नुहोस्", "Modify Loans Account": "ऋण खाता परिमार्जन गर्नुहोस्",
+1 -1
View File
@@ -975,7 +975,6 @@
"Create fixed deposit product": "Criar produto de depósito fixo", "Create fixed deposit product": "Criar produto de depósito fixo",
"Create loan product": "Criar produto de empréstimo", "Create loan product": "Criar produto de empréstimo",
"Create recurring deposit product": "Crie um produto de depósito recorrente", "Create recurring deposit product": "Crie um produto de depósito recorrente",
"Create share product": "Criar produto compartilhado", "Create share product": "Criar produto compartilhado",
"Currency": "Moeda", "Currency": "Moeda",
"Currency Configuration": "Configuração de 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", "Manual journal entry transactions recorded in a journal": "Transações de lançamento manual registradas em um diário",
"Message Gateway": "Gateway de mensagens", "Message Gateway": "Gateway de mensagens",
"Mifos Initiative": "Iniciativa Mifos®", "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.", "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", "Migrate Opening Balances": "Migrar saldos de abertura",
"Modify Loans Account": "Modificar conta de empréstimos", "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", "Manual journal entry transactions recorded in a journal": "Uingizaji wa shughuli za jarida kwa mikono iliyorekodiwa kwenye jarida",
"Message Gateway": "Lango la Ujumbe", "Message Gateway": "Lango la Ujumbe",
"Mifos Initiative": "Mpango wa Mifos®", "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.", "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", "Migrate Opening Balances": "Kuhamia mizani ya ufunguzi",
"Modify Loans Account": "Rekebisha Akaunti ya Mikopo", "Modify Loans Account": "Rekebisha Akaunti ya Mikopo",
+2
View File
@@ -60,6 +60,8 @@ export const environment = {
displayBackEndInfo: loadedEnv['displayBackEndInfo'] || 'true', displayBackEndInfo: loadedEnv['displayBackEndInfo'] || 'true',
displayTenantSelector: loadedEnv['displayTenantSelector'] || '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', tenantLogoUrl: loadedEnv['tenantLogoUrl'] || 'assets/images/mifos_lg-logo.jpg',
documentationBaseUrl: loadedEnv['documentationBaseUrl'] || 'https://mifosforge.jira.com/wiki', documentationBaseUrl: loadedEnv['documentationBaseUrl'] || 'https://mifosforge.jira.com/wiki',
// Time in seconds, default 60 seconds // Time in seconds, default 60 seconds
+3 -1
View File
@@ -64,7 +64,9 @@ export const environment = {
displayBackEndInfo: loadedEnv.displayBackEndInfo || 'true', displayBackEndInfo: loadedEnv.displayBackEndInfo || 'true',
displayTenantSelector: loadedEnv.displayTenantSelector || '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', documentationBaseUrl: loadedEnv.documentationBaseUrl || 'https://mifosforge.jira.com/wiki',
// Time in seconds, default 60 seconds // Time in seconds, default 60 seconds
waitTimeForNotifications: loadedEnv.waitTimeForNotifications || 60, waitTimeForNotifications: loadedEnv.waitTimeForNotifications || 60,
+2
View File
@@ -31,6 +31,8 @@ interface Window {
defaultCharDelimiter?: string; defaultCharDelimiter?: string;
displayBackEndInfo?: string; displayBackEndInfo?: string;
displayTenantSelector?: string; displayTenantSelector?: string;
/** Production mode - when true, shows minimal hero with only branding at bottom */
productionMode?: string | boolean;
waitTimeForNotifications?: number; waitTimeForNotifications?: number;
waitTimeForCOBCatchUp?: number; waitTimeForCOBCatchUp?: number;
sessionIdleTimeout?: number; sessionIdleTimeout?: number;