diff --git a/public/assets/app.js b/public/assets/app.js index c4202bd..8de419e 100644 --- a/public/assets/app.js +++ b/public/assets/app.js @@ -12,6 +12,7 @@ fanSliderWrap: $('#fanSliderWrap'), fanSliderValue: $('#fanSliderValue'), fanModeOptions: $('#fanModeOptions'), + wifiTotal: $('#wifiTotal'), wifi24: $('#wifi24'), wifi5: $('#wifi5'), wifiLan: $('#wifiLan'), @@ -109,9 +110,10 @@ cpuTemp: 'CPU Temp', fanRpm: 'Fan RPM', wifiStatus: 'DHCP Status', - clients24: '2.4G DHCP', - clients5: '5G DHCP', - clientsLan: 'LAN DHCP', + clientsTotal: 'All Devices', + clients24: '2.4G', + clients5: '5G', + clientsLan: 'LAN', systemStatus: 'System Status', loadAvg: 'Load Avg', activeUsers: 'Active Users', @@ -261,9 +263,10 @@ cpuTemp: 'CPU 온도', fanRpm: '팬 RPM', wifiStatus: 'DHCP 상태', - clients24: '2.4G DHCP', - clients5: '5G DHCP', - clientsLan: 'LAN DHCP', + clientsTotal: '전체 기기', + clients24: '2.4G', + clients5: '5G', + clientsLan: 'LAN', systemStatus: '시스템 상태', loadAvg: '부하 평균', activeUsers: '활성 사용자', @@ -1182,9 +1185,13 @@ setText(els.temp, Number(data.system?.temp_c || 0).toFixed(1) + '°C'); setText(els.fanRpm, Number(data.fan?.rpm || 0).toLocaleString() + ' RPM'); setText(els.fanPercent, Number(data.fan?.percent || 0).toFixed(1) + '%'); - setText(els.wifi24, data.wifi?.count24 ?? 0); - setText(els.wifi5, data.wifi?.count5 ?? 0); - setText(els.wifiLan, data.wifi?.countLan ?? 0); + const count24 = Number(data.wifi?.count24 ?? 0); + const count5 = Number(data.wifi?.count5 ?? 0); + const countLan = Number(data.wifi?.countLan ?? 0); + setText(els.wifiTotal, count24 + count5 + countLan); + setText(els.wifiLan, countLan); + setText(els.wifi24, count24); + setText(els.wifi5, count5); state.latestFanPwm = Math.max(0, Math.min(255, Number(data.fan?.pwm || 0))); if (!isFanEditing()) { diff --git a/public/index.php b/public/index.php index 4f31bef..de659ea 100644 --- a/public/index.php +++ b/public/index.php @@ -207,9 +207,10 @@ html[data-theme="light"] .details-panel{background:#edf3fa;border-color:#b8c7da}