From 52b3f3370cbeb3c88026d97bf2c07f801e6afc49 Mon Sep 17 00:00:00 2001 From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:20:29 +0330 Subject: [PATCH] Update index.html --- web/html/xui/index.html | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 02ce59ee..70f8f2ca 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -18,6 +18,10 @@ .ant-card-dark h2 { color: hsla(0, 0%, 100%, .65); } + + b { + font-weight: 500; + } @@ -36,15 +40,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 +60,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 +68,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) ]]
@@ -84,15 +88,14 @@ - {{ i18n "menu.link" }}: - {{ i18n "pages.index.logs" }} - {{ i18n "pages.index.config" }} - {{ i18n "pages.index.backup" }} + {{ i18n "pages.index.operationHours" }}: + Xray [[ formatSecond(status.appStats.uptime) ]] + OS [[ formatSecond(status.uptime) ]] - {{ i18n "pages.index.xrayStatus" }}: + {{ i18n "pages.index.xrayStatus" }}: [[ status.xray.state ]] - {{ i18n "pages.index.operationHours" }}: - Xray [[ formatSecond(status.appStats.uptime) ]] - OS [[ formatSecond(status.uptime) ]] + {{ i18n "menu.link" }}: + {{ i18n "pages.index.logs" }} + {{ i18n "pages.index.config" }} + {{ i18n "pages.index.backup" }} - {{ i18n "pages.index.systemLoad" }}: + {{ i18n "pages.index.systemLoad" }}: [[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]] @@ -132,7 +136,7 @@ - {{ i18n "usage"}}: + {{ i18n "usage"}}: RAM [[ sizeFormat(status.appStats.mem) ]] @@ -143,7 +147,7 @@ - {{ i18n "pages.index.machineInfo" }}: + {{ i18n "pages.index.machineInfo" }}: