From e06ee2671150d189aa474e434ad5ed199ce4c48b Mon Sep 17 00:00:00 2001 From: Shahin <115543613+shahin-io@users.noreply.github.com> Date: Tue, 27 Feb 2024 08:03:45 +0000 Subject: [PATCH] [ui] improve index code --- web/html/xui/index.html | 17 ++++++++--------- web/service/server.go | 6 +++--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 90c45b85..c64c9462 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -104,15 +104,14 @@ {{ i18n "pages.index.operationHours" }}: - Xray [[ formatSecond(status.appStats.uptime) ]] - OS [[ formatSecond(status.uptime) ]] + Xray: [[ formatSecond(status.appStats.uptime) ]] + OS: [[ formatSecond(status.uptime) ]] {{ i18n "pages.index.xrayStatus" }}: - [[ status.xray.state ]] - + [[ status.xray.state ]] An error occurred while running Xray @@ -153,10 +152,10 @@ {{ i18n "usage"}}: - RAM [[ sizeFormat(status.appStats.mem) ]] + RAM: [[ sizeFormat(status.appStats.mem) ]] - Threads [[ status.appStats.threads ]] + Threads: [[ status.appStats.threads ]] @@ -357,9 +356,9 @@