From cfd472357fafb5919265e35653b09f375dc257fd Mon Sep 17 00:00:00 2001 From: windows11 Date: Sat, 9 Oct 2021 17:35:39 +0800 Subject: [PATCH] test web ui 0.3 --- web/index.html | 2 +- web/js/serverstatus.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/index.html b/web/index.html index 6cc91cb..3b4f071 100644 --- a/web/index.html +++ b/web/index.html @@ -76,7 +76,7 @@ 协议 - 月流量 + 月流量 ↓|↑ 节点名 虚拟化 位置 diff --git a/web/js/serverstatus.js b/web/js/serverstatus.js index d30cbe9..d089958 100644 --- a/web/js/serverstatus.js +++ b/web/js/serverstatus.js @@ -199,7 +199,7 @@ function uptime() { else monthtraffic += (result.servers[i].last_network_out/1024/1024/1024/1024).toFixed(2) + "T"; TableRow.children["ip_status"].children[0].children[0].className = "progress-bar"; - TableRow.children["ip_status"].children[0].children[0].innerHTML = "monthtraffic"; + TableRow.children["ip_status"].children[0].children[0].innerHTML = ""+monthtraffic+">"; // Uptime TableRow.children["uptime"].innerHTML = result.servers[i].uptime;