From cb22b4ad47816742e7eaa9b9f46f11530b0aae8e Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Wed, 18 Jun 2025 23:24:18 +0700
Subject: chore: add new dns features from v25.6.8
* chore: add new dns params
* chore: add `DNS Presets` modal
* chore: edit file names
---
web/html/modals/dns_modal.html | 114 ----------------------------
web/html/modals/dns_presets_modal.html | 110 +++++++++++++++++++++++++++
web/html/modals/fakedns_modal.html | 57 --------------
web/html/modals/xray_dns_modal.html | 127 ++++++++++++++++++++++++++++++++
web/html/modals/xray_fakedns_modal.html | 56 ++++++++++++++
5 files changed, 293 insertions(+), 171 deletions(-)
delete mode 100644 web/html/modals/dns_modal.html
create mode 100644 web/html/modals/dns_presets_modal.html
delete mode 100644 web/html/modals/fakedns_modal.html
create mode 100644 web/html/modals/xray_dns_modal.html
create mode 100644 web/html/modals/xray_fakedns_modal.html
(limited to 'web/html/modals')
diff --git a/web/html/modals/dns_modal.html b/web/html/modals/dns_modal.html
deleted file mode 100644
index e6266c06..00000000
--- a/web/html/modals/dns_modal.html
+++ /dev/null
@@ -1,114 +0,0 @@
-{{define "modals/dnsModal"}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ l ]]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-{{end}}
\ No newline at end of file
diff --git a/web/html/modals/dns_presets_modal.html b/web/html/modals/dns_presets_modal.html
new file mode 100644
index 00000000..010b973a
--- /dev/null
+++ b/web/html/modals/dns_presets_modal.html
@@ -0,0 +1,110 @@
+{{define "modals/dnsPresetsModal"}}
+
+
+
+
+
+
+ [[ dns.name ]]
+ [[ dns.family ? '{{ i18n "pages.xray.dns.dnsPresetFamily" }}' : 'DNS' ]]
+
+
+
+ {{ i18n "install" }}
+
+
+
+
+
+
+
+
+
+{{end}}
\ No newline at end of file
diff --git a/web/html/modals/fakedns_modal.html b/web/html/modals/fakedns_modal.html
deleted file mode 100644
index 8e554ac0..00000000
--- a/web/html/modals/fakedns_modal.html
+++ /dev/null
@@ -1,57 +0,0 @@
-{{define "modals/fakednsModal"}}
-
-
-
-
-
-
-
-
-
-
-
-{{end}}
diff --git a/web/html/modals/xray_dns_modal.html b/web/html/modals/xray_dns_modal.html
new file mode 100644
index 00000000..484bd2f8
--- /dev/null
+++ b/web/html/modals/xray_dns_modal.html
@@ -0,0 +1,127 @@
+{{define "modals/dnsModal"}}
+
+
+
+
+
+
+
+
+
+
+ [[ l ]]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{{end}}
\ No newline at end of file
diff --git a/web/html/modals/xray_fakedns_modal.html b/web/html/modals/xray_fakedns_modal.html
new file mode 100644
index 00000000..f1f4429c
--- /dev/null
+++ b/web/html/modals/xray_fakedns_modal.html
@@ -0,0 +1,56 @@
+{{define "modals/fakednsModal"}}
+
+
+
+
+
+
+
+
+
+
+
+{{end}}
\ No newline at end of file
--
cgit v1.2.3