diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 258d4154..f5bf601d 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -36,15 +36,15 @@ -
CPU: [[ cpuCoreFormat(status.cpuCores) ]]
-
Speed: [[ cpuSpeedFormat(status.cpuSpeedMhz) ]]
+
CPU: [[ cpuCoreFormat(status.cpuCores) ]]
+
Speed: [[ cpuSpeedFormat(status.cpuSpeedMhz) ]]
- {{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]] + {{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]]
@@ -56,7 +56,7 @@ :stroke-color="status.swap.color" :percent="status.swap.percent">
- Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]] + Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]]
@@ -64,7 +64,7 @@ :stroke-color="status.disk.color" :percent="status.disk.percent">
- {{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]] + {{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]]
@@ -74,26 +74,39 @@ - + + + + + {{ i18n "pages.index.machineInfo" }}: + + + [[ status.publicIP.hostname ]] + + + + IPv4/v6 + + + 3X-UI v{{ .cur_ver }} + + + - 3X-UI v{{ .cur_ver }} - Xray v[[ status.xray.version ]] - @panel3xui - - - - - {{ i18n "menu.link" }}: - {{ i18n "pages.index.logs" }} - {{ i18n "pages.index.config" }} + {{ i18n "menu.link" }}: + {{ i18n "pages.index.logs" }} + {{ i18n "pages.index.config" }} {{ i18n "pages.index.backup" }} + - {{ i18n "pages.index.xrayStatus" }}: - [[ status.xray.state ]] + {{ i18n "pages.index.xrayStatus" }}: + [[ status.xray.state.toUpperCase() ]] An error occurred while running Xray @@ -102,140 +115,117 @@ - + - {{ i18n "pages.index.stopXray" }} - {{ i18n "pages.index.restartXray" }} - {{ i18n "pages.index.xraySwitch" }} + {{ i18n "pages.index.stopXray" }} + {{ i18n "pages.index.restartXray" }} + v[[ status.xray.version ]] + - {{ i18n "pages.index.operationHours" }}: - Xray - [[ formatSecond(status.appStats.uptime) ]] - OS - [[ formatSecond(status.uptime) ]] + {{ i18n "pages.index.operationHours" }}: + Xray [[ formatSecond(status.appStats.uptime) ]] + OS [[ 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 "usage"}}: - RAM [[ sizeFormat(status.appStats.mem) ]] - - Threads [[ status.appStats.threads ]] + {{ i18n "usage"}}: + + RAM [[ sizeFormat(status.appStats.mem) ]] + + + Threads [[ status.appStats.threads ]] - - - - - - IPv4: - - - - - - - - IPv6: - - - - - - - - + - TCP: [[ status.tcpCount ]] - + TCP: [[ status.tcpCount ]] + - - UDP: [[ status.udpCount ]] + - + UDP: [[ status.udpCount ]] + - [[ sizeFormat(status.netIO.up) ]]/s - + Up: [[ sizeFormat(status.netIO.up) ]]/s + - [[ sizeFormat(status.netIO.down) ]]/s - + Dn: [[ sizeFormat(status.netIO.down) ]]/s + - [[ sizeFormat(status.netTraffic.sent) ]] - + Out: [[ sizeFormat(status.netTraffic.sent) ]] - [[ sizeFormat(status.netTraffic.recv) ]] - + In: [[ sizeFormat(status.netTraffic.recv) ]] @@ -245,7 +235,7 @@ - +