test web ui 0.3

This commit is contained in:
windows11 2021-10-09 17:35:39 +08:00
parent 895206baa4
commit cfd472357f
2 changed files with 2 additions and 2 deletions

@ -76,7 +76,7 @@
<thead>
<tr>
<th id="status4" style="text-align: center;">协议</th>
<th id="ipstatus" style="text-align: center;">月流量</th>
<th id="ipstatus" style="text-align: center;">月流量 ↓|↑</th>
<th id="name">节点名</th>
<th id="type">虚拟化</th>
<th id="location">位置</th>

@ -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 = "<small>monthtraffic</small>";
TableRow.children["ip_status"].children[0].children[0].innerHTML = "<small>"+monthtraffic+"</small>>";
// Uptime
TableRow.children["uptime"].innerHTML = result.servers[i].uptime;