From 653ec90451aaa840926bff5bbb469d168eb89897 Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Tue, 4 Mar 2025 15:55:13 +0700
Subject: [PATCH] chore: pretty dns section in xray settings (#2700)
---
web/html/xui/xray.html | 188 +++++++++++++++++++++++------------------
1 file changed, 107 insertions(+), 81 deletions(-)
diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index a1247d9a..78f48476 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -661,88 +661,114 @@
-
-
-
-
-
-
-
-
-
-
-
- [[ l ]]
-
-
-
-
-
- DNS
- {{ i18n
- "pages.xray.dns.add" }}
-
-
- [[ index+1 ]]
-
- e.preventDefault()" type="more"
- style="font-size: 16px; text-decoration: bold;">
-
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "delete"}}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ l ]]
+
+
+
+
+
-
- [[ dns.address ]]
- [[ dns ]]
-
-
- [[ dns.domains.join(",") ]]
-
-
- [[ dns.expectIPs.join(",") ]]
-
-
- Fake DNS
- {{ i18n
- "pages.xray.fakedns.add" }}
-
-
- [[ index+1 ]]
-
- e.preventDefault()" type="more"
- style="font-size: 16px; text-decoration: bold;">
-
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "delete"}}
-
-
-
-
-
-
-
+
+
+
+ {{ i18n
+ "pages.xray.dns.add" }}
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more"
+ style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+ [[ dns.address ]]
+ [[ dns ]]
+
+
+ [[ dns.domains.join(",") ]]
+
+
+ [[ dns.expectIPs.join(",") ]]
+
+
+
+
+ {{ i18n
+ "pages.xray.fakedns.add" }}
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more"
+ style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+
+
+