From 7412bf17a927df4715b65962de5f683dade83395 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Tue, 11 Apr 2023 15:41:04 +0330 Subject: bug fix Co-Authored-By: Alireza Ahmadi --- web/html/xui/inbound_info_modal.html | 2 +- web/html/xui/index.html | 52 +++++++++++++++++++++++++----------- 2 files changed, 37 insertions(+), 17 deletions(-) (limited to 'web/html/xui') diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index 1ba15b08..1b05a12c 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -240,7 +240,7 @@ return infoModal.dbInbound.isEnable; }, get subBase() { - return window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port:"") + "/sub/"; + return window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port:"") + basePath + "sub/"; }, get tgBase() { return "https://t.me/" diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 5a80989c..320422e3 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -74,6 +74,25 @@ + + + 3x-ui: v{{ .cur_ver }} + Xray: v[[ status.xray.version ]] + Telegram: @panel3xui + + + + + {{ i18n "pages.index.operationHours" }}: + [[ formatSecond(status.uptime) ]] + + + + + + {{ i18n "pages.index.xrayStatus" }}: @@ -84,7 +103,6 @@ - [[ status.xray.version ]] {{ i18n "pages.index.stopXray" }} {{ i18n "pages.index.restartXray" }} {{ i18n "pages.index.xraySwitch" }} @@ -92,14 +110,10 @@ - {{ i18n "pages.index.operationHours" }}: - [[ formatSecond(status.uptime) ]] - - - - + {{ i18n "menu.link" }}: + Log Reports + Config + Backup @@ -169,13 +183,6 @@ - - - - 3x-ui: v{{ .cur_ver }} - Telegram - Log Reports - @@ -226,6 +233,7 @@ {{template "js" .}} +{{template "textModal"}}