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
+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. */