From 76da79b7e9fe4a15540e85e8e21d21a56f9e047b Mon Sep 17 00:00:00 2001 From: seo Date: Tue, 21 Jul 2026 19:33:50 +0900 Subject: [PATCH] =?UTF-8?q?DHCP=20=EC=83=81=ED=83=9C=20=EC=B9=B4=EB=93=9C?= =?UTF-8?q?=20=EA=B5=AC=EC=84=B1=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/app.js | 25 ++++++++++++++++--------- public/index.php | 9 +++++---- 2 files changed, 21 insertions(+), 13 deletions(-) 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}

DHCP Status

-
2.4G DHCP
-
-
5G DHCP
-
-
LAN DHCP
-
+
전체 기기
-
+
LAN
-
+
2.4G
-
+
5G
-
@@ -370,7 +371,7 @@ html[data-theme="light"] .details-panel{background:#edf3fa;border-color:#b8c7da} - +