Refactor static file serving in WebUI to allow CSS and JS access without authentication, and implement theme toggle functionality in login and main pages

This commit is contained in:
Andy Oknen 2025-07-30 13:21:30 +00:00
parent fc354865ea
commit 3187114780
7 changed files with 408 additions and 126 deletions

View file

@ -29,5 +29,12 @@ window.translations.en = {
'network_settings_description': 'Network interaction parameters',
'coming_soon': 'Coming soon...',
'footer_text': 'Yggdrasil Network • Minimal WebUI v1.0',
'logout_confirm': 'Are you sure you want to logout?'
'logout_confirm': 'Are you sure you want to logout?',
'theme_light': 'Light theme',
'theme_dark': 'Dark theme',
'login_subtitle': 'Enter password to access the web interface',
'password_label': 'Password:',
'access_dashboard': 'Access Dashboard',
'error_invalid_password': 'Invalid password. Please try again.',
'error_too_many_attempts': 'Too many failed attempts. Please wait 1 minute before trying again.'
};