diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index a9391952..3f0a28a9 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -36,8 +36,8 @@
-
CPU: [[ cpuCoreFormat(status.cpuCores) ]]
- Speed: [[ cpuSpeedFormat(status.cpuSpeedMhz) ]]
+ CPU: [[ cpuCoreFormat(status.cpuCores) ]]
+ Speed: [[ cpuSpeedFormat(status.cpuSpeedMhz) ]]
-
+
- 3X-UI v{{ .cur_ver }}
+ 3X-UI v{{ .cur_ver }}
Xray v[[ status.xray.version ]]
- @panel3xui
+ @Panel3xui
-
+
{{ i18n "menu.link" }}:
{{ i18n "pages.index.logs" }}
@@ -90,10 +90,11 @@
{{ i18n "pages.index.backup" }}
-
+
{{ i18n "pages.index.xrayStatus" }}:
- [[ status.xray.state ]]
+ [[ status.xray.state ]]
+
An error occurred while running Xray
@@ -109,7 +110,7 @@
{{ i18n "pages.index.xraySwitch" }}
-
+
{{ i18n "pages.index.operationHours" }}:
Xray
@@ -118,125 +119,136 @@
[[ formatSecond(status.uptime) ]]
-
+
- {{ i18n "pages.index.systemLoad" }}: [[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]]
+ {{ i18n "pages.index.systemLoad" }}:
+
+ [[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]]
{{ i18n "pages.index.systemLoadDesc" }}
-
+
-
+
{{ i18n "usage"}}:
- RAM [[ sizeFormat(status.appStats.mem) ]] -
- Threads [[ status.appStats.threads ]]
-
+
+ RAM [[ sizeFormat(status.appStats.mem) ]]
+
+
+ Threads [[ status.appStats.threads ]]
+
-
+
-
-
-
- IPv4:
+ {{ i18n "pages.index.machineInfo" }}:
+
+
+ {{ i18n "pages.index.hostname" }}
+
+ [[ status.publicIP.hostname ]]
+
+
+
+
+
+ IPv4
[[ status.publicIP.ipv4 ]]
-
-
-
-
- IPv6:
+
+
+ IPv6
[[ status.publicIP.ipv6 ]]
-
-
-
+
-
+
-
- TCP: [[ status.tcpCount ]]
+
+ TCP: [[ status.tcpCount ]]
{{ i18n "pages.index.connectionTcpCountDesc" }}
-
+
-
- UDP: [[ status.udpCount ]]
+
+ UDP: [[ status.udpCount ]]
{{ i18n "pages.index.connectionUdpCountDesc" }}
-
+
-
+
-
- [[ sizeFormat(status.netIO.up) ]]/s
+
+
+ Upload: [[ sizeFormat(status.netIO.up) ]]/s
{{ i18n "pages.index.upSpeed" }}
-
+
-
- [[ sizeFormat(status.netIO.down) ]]/s
+
+
+ Download: [[ sizeFormat(status.netIO.down) ]]/s
{{ i18n "pages.index.downSpeed" }}
-
+
-
+
-
- [[ sizeFormat(status.netTraffic.sent) ]]
+
+
{{ i18n "pages.index.totalSent" }}
-
-
+ Out: [[ sizeFormat(status.netTraffic.sent) ]]
+
-
- [[ sizeFormat(status.netTraffic.recv) ]]
+
+
{{ i18n "pages.index.totalReceive" }}
-
-
+ In: [[ sizeFormat(status.netTraffic.recv) ]]
+
@@ -374,7 +386,7 @@
this.mem = new CurTotal(0, 0);
this.netIO = { up: 0, down: 0 };
this.netTraffic = { sent: 0, recv: 0 };
- this.publicIP = { ipv4: 0, ipv6: 0 };
+ this.publicIP = { hostname:"", ipv4: 0, ipv6: 0 };
this.swap = new CurTotal(0, 0);
this.tcpCount = 0;
this.udpCount = 0;