From c9c8abe97b71bf54d9f1920be2dfcd1d5854d5b3 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Thu, 26 Sep 2024 15:55:56 +0200 Subject: [PATCH] refactor: split XTLS and Reality form tls into separate files --- web/html/xui/form/client.html | 2 +- web/html/xui/form/reality_settings.html | 48 ++++++++++ web/html/xui/form/tls_settings.html | 117 ++++-------------------- web/html/xui/form/xtls_settings.html | 58 ++++++++++++ 4 files changed, 123 insertions(+), 102 deletions(-) create mode 100644 web/html/xui/form/reality_settings.html create mode 100644 web/html/xui/form/xtls_settings.html diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 070b962c..01d96c73 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -104,7 +104,7 @@ - + {{ i18n "none" }} [[ key ]] diff --git a/web/html/xui/form/reality_settings.html b/web/html/xui/form/reality_settings.html new file mode 100644 index 00000000..19804e17 --- /dev/null +++ b/web/html/xui/form/reality_settings.html @@ -0,0 +1,48 @@ +{{define "form/realitySettings"}} + +{{end}} \ No newline at end of file diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index 97b23ef6..6c2f4a67 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -34,16 +34,19 @@ - + [[ key ]] - + [[ key ]] - + None [[ key ]] @@ -71,8 +74,10 @@ {{ i18n "pages.inbounds.certificatePath" }} {{ i18n "pages.inbounds.certificateContent" }} - - + + -