Expose global state and update peer display logic in WebUI

This commit is contained in:
Andy Oknen 2025-07-30 16:09:40 +00:00
parent 675e2e71a5
commit 2b3b4c39d2
6 changed files with 312 additions and 162 deletions

View file

@ -8,19 +8,28 @@ window.translations.en = {
'nav_config': 'Configuration',
'status_title': 'Node Status',
'status_active': 'Active',
'status_description': 'WebUI is running and accessible',
'status_description': 'Information about your Yggdrasil node current status',
'node_info': 'Node Information',
'public_key': 'Public Key',
'version': 'Version',
'routing_entries': 'Routing Entries',
'loading': 'Loading...',
'network_info': 'Network Information',
'address': 'Address',
'subnet': 'Subnet',
'statistics': 'Statistics',
'statistics': 'Peer Statistics',
'total_peers': 'Total Peers',
'online_peers': 'Online Peers',
'uptime': 'Uptime',
'connections': 'Active connections',
'peers_title': 'Peer Management',
'peers_description': 'View and manage peer connections',
'connected_peers': 'Connected Peers',
'active_peers': 'Active Peers',
'active_connections': 'Number of active connections',
'add_peer': 'Add Peer',
'add_peer_description': 'Connect to a new node',
'add_peer_btn': 'Add Peer',
'config_title': 'Configuration',
'config_description': 'Node settings and network parameters',
'basic_settings': 'Basic Settings',
@ -37,7 +46,6 @@ window.translations.en = {
'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.',
'add_peer_btn': 'Add Peer',
'notification_success': 'Success',
'notification_error': 'Error',
'notification_warning': 'Warning',