From 0e266b88f0eb70bf46d3ecc4df148794bc307205 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami Date: Mon, 8 May 2023 19:14:22 +0430 Subject: update UI to use themeSwitcher --- web/html/xui/index.html | 54 +++++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 26 deletions(-) (limited to 'web/html/xui/index.html') diff --git a/web/html/xui/index.html b/web/html/xui/index.html index c2adffde..73936b29 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -13,32 +13,33 @@ } .ant-card-dark h2 { - color: hsla(0,0%,100%,.65); + color: hsla(0, 0%, 100%, .65); } + {{ template "commonSider" . }} - + - +
CPU
{{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]] @@ -51,7 +52,7 @@
Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]] @@ -60,7 +61,7 @@
{{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]] @@ -75,14 +76,14 @@ - + 3x-ui: v{{ .cur_ver }} Xray: v[[ status.xray.version ]] Telegram: @panel3xui - + {{ i18n "pages.index.operationHours" }}: [[ formatSecond(status.uptime) ]] @@ -94,7 +95,7 @@ - + {{ i18n "pages.index.xrayStatus" }}: [[ status.xray.state ]] @@ -109,7 +110,7 @@ - + {{ i18n "menu.link" }}: {{ i18n "pages.index.logs" }} {{ i18n "pages.index.config" }} @@ -117,12 +118,12 @@ - + {{ i18n "pages.index.systemLoad" }}: [[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]] - + TCP / UDP {{ i18n "pages.index.connectionCount" }}: [[ status.tcpCount ]] / [[ status.udpCount ]]