diff --git a/web/html/xui/form/reality_settings.html b/web/html/xui/form/reality_settings.html
new file mode 100644
index 00000000..08ff25b6
--- /dev/null
+++ b/web/html/xui/form/reality_settings.html
@@ -0,0 +1,46 @@
+{{define "form/realitySettings"}}
+
+
+
+
+
+
+
+
+
+ [[ key ]]
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "reset" }}
+
+ Short IDs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get New Cert
+
+
+{{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 db9b6a5a..acbc00fc 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -10,126 +10,89 @@
-
-
-
-
-
-
-
- Auto
- [[ value ]]
-
-
-
-
-
- [[ key ]]
+
+
+
+
+
+
+
+ Auto
+ [[ value ]]
-
- [[ key ]]
+
+
+
+
+ [[ key ]]
+
+
+ [[ key ]]
+
+
+
+
+
+ None
+ [[ key ]]
-
-
-
-
- None
- [[ key ]]
-
-
-
-
- [[ alpn ]]
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.certificatePath" }}
- {{ i18n "pages.inbounds.certificateContent" }}
-
- +
- -
-
-
-
+
+
+ [[ alpn ]]
+
-
-
+
+
-
- {{ i18n "pages.inbounds.setDefaultCert" }}
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ key ]]
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "reset" }}
-
- Short IDs
-
-
+
+
+
+ {{ i18n "pages.inbounds.certificatePath" }}
+ {{ i18n "pages.inbounds.certificateContent" }}
+
+ +
+ -
+
+
+
+
+
+
+
+
+
+ {{ i18n
+ "pages.inbounds.setDefaultCert" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- Get New Cert
-
-
+
+
+
+
+ {{template "form/realitySettings"}}
+
+
-{{end}}
+{{end}}
\ No newline at end of file