From 2111632702ad8b370bf3dc224b40f0c7385001ab Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Thu, 11 Jan 2024 09:30:37 +0330 Subject: [PATCH] [ui] separate outbound and reverse Co-Authored-By: Alireza Ahmadi --- web/html/xui/xray.html | 156 ++++++++++++++++++++--------------------- 1 file changed, 75 insertions(+), 81 deletions(-) diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 031f0894..0cf7fd05 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -90,7 +90,7 @@ @@ -175,7 +175,7 @@ - + @@ -193,7 +193,7 @@ - + @@ -333,79 +333,73 @@ - {{ i18n "pages.xray.outbound.addOutbound" }} - {{ i18n "pages.xray.outbound.addReverse" }} - - -

{{ i18n "pages.xray.Outbounds"}}

- - - - - -
- -

{{ i18n "pages.xray.outbound.reverse"}}

- - - -
-
+ {{ i18n "pages.xray.outbound.addOutbound" }} + + + + +
- + + {{ i18n "pages.xray.outbound.addReverse" }} + + + + + {{ i18n "pages.xray.completeTemplate"}} @@ -568,11 +562,11 @@ "regexp:.*\\.xn--mgba3a4f16a$", // .ایران "ext:geosite_IR.dat:ir" ], - vn: [ - "regexp:.*\\.vn$", + vn: [ + "regexp:.*\\.vn$", "ext:geosite_VN.dat:vn", "ext:geosite_VN.dat:ads" - ] + ] }, familyProtectDNS: { "servers": [ @@ -1321,7 +1315,7 @@ } } }, - VNIpSettings: { + VNIpSettings: { get: function () { return doAllItemsExist(this.settingsData.ips.vn, this.blockedIPs); }, @@ -1417,7 +1411,7 @@ } } }, - VNIpDirectSettings: { + VNIpDirectSettings: { get: function () { return doAllItemsExist(this.settingsData.ips.vn, this.directIPs); }, @@ -1440,7 +1434,7 @@ this.directDomains = this.directDomains.filter(data => !this.settingsData.domains.vn.includes(data)); } } - }, + }, GoogleWARPSettings: { get: function () { return doAllItemsExist(this.settingsData.domains.google, this.warpDomains);