From f02c82677d469a811a287e041ddcf97a70ed542c Mon Sep 17 00:00:00 2001 From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:03:40 +0330 Subject: [PATCH] Minor Fixes (#2190) Update index.html Update xray.html --- web/assets/css/custom.css | 6 + web/html/xui/index.html | 439 +++++++++++++++++++------------------- web/html/xui/xray.html | 9 +- 3 files changed, 230 insertions(+), 224 deletions(-) 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" }} - - - - - {{ 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] ]] -