diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 157563c0..a6df08d7 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -19,327 +19,313 @@ - + {{ template "commonSider" . }} - - - - - - - + + + + + + + + + + + + + + +
CPU: [[ cpuCoreFormat(status.cpuCores) ]]
+
Speed: [[ cpuSpeedFormat(status.cpuSpeedMhz) ]]
+
+ + +
+ {{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]] +
+
+
+
+ + + + +
+ Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]] +
+
+ + +
+ {{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]] +
+
+
+
+
+
+
+
+ + + + + 3X-UI: + v{{ .cur_ver }} + @Panel3xui + + + + + {{ i18n "pages.index.operationHours" }}: + Xray: [[ formatSecond(status.appStats.uptime) ]] + OS: [[ formatSecond(status.uptime) ]] + + + + + {{ i18n "pages.index.xrayStatus" }}: + [[ status.xray.state ]] + + An error occurred while running Xray + {{ i18n "pages.index.logs" }} + + + + + {{ i18n "pages.index.stopXray" }} + {{ i18n "pages.index.restartXray" }} + v[[ status.xray.version ]] + + + + + {{ i18n "menu.link" }}: + {{ i18n "pages.index.logs" }} + {{ i18n "pages.index.config" }} + {{ i18n "pages.index.backup" }} + + + + + {{ i18n "pages.index.systemLoad" }}: + + + [[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]] + + + + + + + + {{ i18n "usage"}}: + RAM: [[ sizeFormat(status.appStats.mem) ]] + Threads: [[ status.appStats.threads ]] + + + + - - - - - - -
CPU: [[ cpuCoreFormat(status.cpuCores) ]]
-
Speed: [[ cpuSpeedFormat(status.cpuSpeedMhz) ]]
-
- - -
- {{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]] -
-
-
-
- - - - -
- Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]] -
-
- - -
- {{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]] -
-
-
-
-
-
+ + + + IPv4 + + + + + + + + IPv6 + + + +
-
- + + + + - - - 3X-UI: - v{{ .cur_ver }} - @Panel3xui - - - - - {{ i18n "pages.index.operationHours" }}: - Xray: [[ formatSecond(status.appStats.uptime) ]] - OS: [[ formatSecond(status.uptime) ]] - - - - - {{ i18n "pages.index.xrayStatus" }}: - [[ status.xray.state ]] - - - An error occurred while running Xray - {{ i18n "pages.index.logs" }} - - - - - {{ i18n "pages.index.stopXray" }} - {{ i18n "pages.index.restartXray" }} - v[[ status.xray.version ]] - - - - - {{ i18n "menu.link" }}: - {{ i18n "pages.index.logs" }} - {{ i18n "pages.index.config" }} - {{ i18n "pages.index.backup" }} - - - - - {{ i18n "pages.index.systemLoad" }}: - - - [[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]] - - - - - - - - {{ i18n "usage"}}: - - RAM: [[ sizeFormat(status.appStats.mem) ]] - - - Threads: [[ status.appStats.threads ]] - - - - - - - - - - IPv4 - - - - - - - - IPv6 - - - - - - - - - - - - - - TCP: [[ status.tcpCount ]] - - - - - - - - UDP: [[ status.udpCount ]] - - - - - - - - - - - - - - - Up: [[ sizeFormat(status.netIO.up) ]]/s - - - - - - - - - Down: [[ sizeFormat(status.netIO.down) ]]/s - - - - - - - - - - - - - - - Out: [[ sizeFormat(status.netTraffic.sent) ]] - - - - - - - - In: [[ sizeFormat(status.netTraffic.recv) ]] - - - - - - + + + + TCP: [[ status.tcpCount ]] + + + + + + + + UDP: [[ status.udpCount ]] + + + + - -
+ + + + + + + + + Up: [[ sizeFormat(status.netIO.up) ]]/s + + + + + + + + Down: [[ sizeFormat(status.netIO.down) ]]/s + + + + + + + + + + + + + + + Out: [[ sizeFormat(status.netTraffic.sent) ]] + + + + + + + + In: [[ sizeFormat(status.netTraffic.recv) ]] + + + + + + + +
+
- - - + + - - - - - - - 10 - 20 - 50 - 100 - - - Debug - Info - Notice - Warning - Error - - - - - SysLog - - - - - - -
+ :closable="true" @cancel="() => logModal.visible = false" + :class="themeSwitcher.currentTheme" + width="800px" footer=""> + + + + + + 10 + 20 + 50 + 100 + + + Debug + Info + Notice + Warning + Error + + + + + SysLog + + + + + + +
- - - - - [[ backupModal.exportText ]] - - - [[ backupModal.importText ]] - - + :closable="true" footer="" + :class="themeSwitcher.currentTheme"> + + + + + [[ backupModal.exportText ]] + + + [[ backupModal.importText ]] + + - -
+
{{template "js" .}} {{template "component/themeSwitcher" .}} {{template "textModal"}}