diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css index d755e3c7..7dfa7f28 100644 --- a/web/assets/css/custom.css +++ b/web/assets/css/custom.css @@ -1457,3 +1457,9 @@ b, strong { .ant-menu-theme-switch.ant-menu-item .ant-switch:not(.ant-switch-disabled):active:after, .ant-switch:not(.ant-switch-disabled):active:before { width: 16px; } + +.dark .ant-select-disabled .ant-select-selection { + background: var(--dark-color-surface-100); + border-color: var(--dark-color-surface-200); + color: rgba(255, 255, 255, 0.25); +} diff --git a/web/html/xui/index.html b/web/html/xui/index.html index d8b68715..70cc60de 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -23,230 +23,231 @@ {{ 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 }} - @XrayUI + + + + + + 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) ]] + + + + + - - - - {{ 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" }} - - - [[ line ]] - - - - {{ 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 "pages.index.systemLoadDesc" }} + + + + + + + 3X-UI: + v{{ .cur_ver }} + @XrayUI + + + + + {{ 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" }} + + + [[ line ]] - - - - - - - {{ i18n "usage"}}: - RAM: [[ sizeFormat(status.appStats.mem) ]] - Threads: [[ status.appStats.threads ]] - - - - - - - - - IPv4 - + + + {{ 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 "pages.index.systemLoadDesc" }} + + + + + + + + {{ i18n "usage"}}: + RAM: [[ sizeFormat(status.appStats.mem) ]] + Threads: [[ status.appStats.threads ]] + + + + + + + + + IPv4 + [[ status.publicIP.ipv4 ]] - - - - - - - - IPv6 - + + + + + + + + IPv6 + [[ status.publicIP.ipv6 ]] - - - - - - - - - - - - - - TCP: [[ status.tcpCount ]] - - {{ i18n "pages.index.connectionTcpCountDesc" }} - - - - - - - - UDP: [[ status.udpCount ]] - - {{ i18n "pages.index.connectionUdpCountDesc" }} - - - - - - - - - - - - - - Up: [[ sizeFormat(status.netIO.up) ]]/s - - {{ i18n "pages.index.upSpeed" }} - - - - - - - - Down: [[ sizeFormat(status.netIO.down) ]]/s - - {{ i18n "pages.index.downSpeed" }} - - - - - - - - - - - - - - - - {{ i18n "pages.index.totalSent" }} - Out: [[ sizeFormat(status.netTraffic.sent) ]] - - - - - - - - - {{ i18n "pages.index.totalReceive" }} - In: [[ sizeFormat(status.netTraffic.recv) ]] - - - - - - - - + + + + + + + + + + + + + + TCP: [[ status.tcpCount ]] + + {{ i18n "pages.index.connectionTcpCountDesc" }} + + + + + + + + UDP: [[ status.udpCount ]] + + {{ i18n "pages.index.connectionUdpCountDesc" }} + + + + + + + + + + + + + + Up: [[ sizeFormat(status.netIO.up) ]]/s + + {{ i18n "pages.index.upSpeed" }} + + + + + + + + Down: [[ sizeFormat(status.netIO.down) ]]/s + + {{ i18n "pages.index.downSpeed" }} + + + + + + + + + + + + + + + + {{ i18n "pages.index.totalSent" }} + Out: [[ sizeFormat(status.netTraffic.sent) ]] + + + + + + + + + {{ i18n "pages.index.totalReceive" }} + In: [[ sizeFormat(status.netTraffic.recv) ]] + + + + + + + + + - - - + + + @@ -632,8 +632,7 @@ [[ index+1 ]] - e.preventDefault()" type="more" - style="font-size: 16px; text-decoration: bold;"> + e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
[[ line ]]