From c13db7922edd401c57a3077090af3816aed25373 Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Thu, 6 Mar 2025 17:17:25 +0700
Subject: Pretty Panel and Xray settings (#2726)
* chore: refactor `setting-list-item` component
* chore: remove padding
* chore: replace settings list with settings collapse panels
* chore: add missing translations
* chore: fix translation
---
web/html/xui/xray.html | 470 +++++++++++++++++++++----------------------------
1 file changed, 196 insertions(+), 274 deletions(-)
(limited to 'web/html/xui/xray.html')
diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index 45ab621f..ac8ed80a 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -114,44 +114,54 @@
-
-
-
-
-
-
-
-
-
+
+ {{ i18n "pages.xray.FreedomStrategy" }}
+ {{ i18n "pages.xray.FreedomStrategyDesc" }}
+
+
[[ s ]]
-
-
-
-
-
-
-
-
-
-
- [[ s ]]
-
-
-
-
+
+
+
+ {{ i18n "pages.xray.RoutingStrategy" }}
+ {{ i18n "pages.xray.RoutingStrategyDesc" }}
+
+
+ [[ s ]]
+
+
+
-
-
-
-
-
-
+
+ {{ i18n "pages.xray.statsInboundUplink" }}
+ {{ i18n "pages.xray.statsInboundUplinkDesc" }}
+
+
+
+
+
+ {{ i18n "pages.xray.statsInboundDownlink" }}
+ {{ i18n "pages.xray.statsInboundDownlinkDesc" }}
+
+
+
+
+
+ {{ i18n "pages.xray.statsOutboundUplink" }}
+ {{ i18n "pages.xray.statsOutboundUplinkDesc" }}
+
+
+
+
+
+ {{ i18n "pages.xray.statsOutboundDownlink" }}
+ {{ i18n "pages.xray.statsOutboundDownlinkDesc" }}
+
+
+
+
@@ -162,68 +172,52 @@
-
-
-
-
-
-
-
-
+
+ {{ i18n "pages.xray.logLevel" }}
+ {{ i18n "pages.xray.logLevelDesc" }}
+
[[ s ]]
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {{ i18n "pages.xray.accessLog" }}
+ {{ i18n "pages.xray.accessLogDesc" }}
+
Empty
[[ s ]]
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {{ i18n "pages.xray.errorLog" }}
+ {{ i18n "pages.xray.errorLogDesc" }}
+
Empty
[[ s ]]
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {{ i18n "pages.xray.maskAddress" }}
+ {{ i18n "pages.xray.maskAddressDesc" }}
+
Empty
[[ s ]]
-
-
-
-
-
+
+
+
+ {{ i18n "pages.xray.dnsLog"}}
+ {{ i18n "pages.xray.dnsLogDesc"}}
+
+
+
+
@@ -234,10 +228,20 @@
-
-
-
-
+
+ {{ i18n "pages.xray.Torrent"}}
+ {{ i18n "pages.xray.TorrentDesc"}}
+
+
+
+
+
+ {{ i18n "pages.xray.Family"}}
+ {{ i18n "pages.xray.FamilyDesc"}}
+
+
+
+
@@ -248,43 +252,22 @@
-
-
-
-
-
-
-
-
- [[ p.label ]]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ p.label ]]
-
-
-
-
-
-
+
+ {{ i18n "pages.xray.blockips" }}
+
+
+ [[ p.label ]]
+
+
+
+
+ {{ i18n "pages.xray.blockdomains" }}
+
+
+ [[ p.label ]]
+
+
+
@@ -293,44 +276,22 @@
-
-
-
-
-
-
-
-
- [[ p.label ]]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ p.label ]]
-
-
-
-
-
-
+
+ {{ i18n "pages.xray.directips" }}
+
+
+ [[ p.label ]]
+
+
+
+
+ {{ i18n "pages.xray.directdomains" }}
+
+
+ [[ p.label ]]
+
+
+
@@ -339,25 +300,14 @@
-
-
-
-
-
-
-
-
- [[ p.label ]]
-
-
-
-
-
-
+
+ {{ i18n "pages.xray.ipv4Routing" }}
+
+
+ [[ p.label ]]
+
+
+
@@ -366,30 +316,19 @@
-
-
-
-
-
-
-
-
-
-
- [[ p.label ]]
-
-
-
-
-
-
-
- WARP
-
+
+ {{ i18n "pages.xray.warpRouting" }}
+
+
+
+ [[ p.label ]]
+
+
+
+ WARP
+
+
+
@@ -670,78 +609,61 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ l ]]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ {{ i18n "pages.xray.dns.enable" }}
+ {{ i18n "pages.xray.dns.enableDesc" }}
+
+
-
+
+
+
+ {{ i18n "pages.xray.dns.tag" }}
+ {{ i18n "pages.xray.dns.tagDesc" }}
+
+
+
+
+
+ {{ i18n "pages.xray.dns.clientIp" }}
+ {{ i18n "pages.xray.dns.clientIpDesc" }}
+
+
+
+
+
+ {{ i18n "pages.xray.dns.strategy" }}
+ {{ i18n "pages.xray.dns.strategyDesc" }}
+
+
+
+ [[ l ]]
+
+
+
+
+
+ {{ i18n "pages.xray.dns.disableCache" }}
+ {{ i18n "pages.xray.dns.disableCacheDesc" }}
+
+
+
+
+
+ {{ i18n "pages.xray.dns.disableFallback" }}
+ {{ i18n "pages.xray.dns.disableFallbackDesc" }}
+
+
+
+
+
+ {{ i18n "pages.xray.dns.disableFallbackIfMatch" }}
+ {{ i18n "pages.xray.dns.disableFallbackIfMatchDesc" }}
+
+
+
+
+
--
cgit v1.2.3