diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html
index 48021c55..38402ec7 100644
--- a/web/html/xui/form/client.html
+++ b/web/html/xui/form/client.html
@@ -15,17 +15,17 @@
-
+
-
-
-
+
+
+
diff --git a/web/html/xui/form/protocol/socks.html b/web/html/xui/form/protocol/socks.html
index 5857d413..2662f1d6 100644
--- a/web/html/xui/form/protocol/socks.html
+++ b/web/html/xui/form/protocol/socks.html
@@ -1,6 +1,6 @@
{{define "form/socks"}}
-
+
inbound.settings.auth = checked ? 'password' : 'noauth'">
diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html
index b775a98b..b52c4dd9 100644
--- a/web/html/xui/form/protocol/trojan.html
+++ b/web/html/xui/form/protocol/trojan.html
@@ -1,21 +1,19 @@
{{define "form/trojan"}}
-
+
-
-
-
- {{ i18n "pages.inbounds.Email" }}
-
-
- {{ i18n "pages.inbounds.EmailDesc" }}
-
-
-
-
-
-
-
+
+
+ {{ i18n "pages.inbounds.Email" }}
+
+
+ {{ i18n "pages.inbounds.EmailDesc" }}
+
+
+
+
+
+
@@ -25,18 +23,18 @@
-
-
- {{ i18n "pages.inbounds.IPLimit" }}
-
-
- {{ i18n "pages.inbounds.IPLimitDesc" }}
-
-
-
-
-
-
+
+
+ {{ i18n "pages.inbounds.IPLimit" }}
+
+
+ {{ i18n "pages.inbounds.IPLimitDesc" }}
+
+
+
+
+
+
{{ i18n "none" }}
@@ -66,7 +64,7 @@
diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html
index 5a496b89..1d733d02 100644
--- a/web/html/xui/form/protocol/vless.html
+++ b/web/html/xui/form/protocol/vless.html
@@ -1,23 +1,21 @@
{{define "form/vless"}}
-
+
-
-
-
- {{ i18n "pages.inbounds.Email" }}
-
-
- {{ i18n "pages.inbounds.EmailDesc" }}
-
-
-
-
-
-
-
+
+
+ {{ i18n "pages.inbounds.Email" }}
+
+
+ {{ i18n "pages.inbounds.EmailDesc" }}
+
+
+
+
+
+
-
+
@@ -25,7 +23,7 @@
-
+
{{ i18n "pages.inbounds.IPLimit" }}
@@ -36,8 +34,8 @@
-
-
+
+
{{ i18n "none" }}
[[ key ]]
@@ -75,7 +73,7 @@
:dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"
v-model="client._expiryTime" style="width: 170px;">
-
+
@@ -100,7 +98,7 @@
-
+
diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html
index 574271b6..9cd48544 100644
--- a/web/html/xui/form/protocol/vmess.html
+++ b/web/html/xui/form/protocol/vmess.html
@@ -1,45 +1,43 @@
{{define "form/vmess"}}
-
+
-
-
-
- {{ i18n "pages.inbounds.Email" }}
-
-
- {{ i18n "pages.inbounds.EmailDesc" }}
-
-
-
-
-
-
-
-
-
+
+
+ {{ i18n "pages.inbounds.Email" }}
+
+
+ {{ i18n "pages.inbounds.EmailDesc" }}
+
+
+
+
+
+
+
+
-
-
- {{ i18n "pages.inbounds.IPLimit" }}
-
-
- {{ i18n "pages.inbounds.IPLimitDesc" }}
-
-
-
-
-
-
+
+
+ {{ i18n "pages.inbounds.IPLimit" }}
+
+
+ {{ i18n "pages.inbounds.IPLimitDesc" }}
+
+
+
+
+
+
{{ i18n "pages.inbounds.totalFlow" }}(GB)
@@ -63,10 +61,10 @@
+ :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"
+ v-model="client._expiryTime" style="width: 170px;">
-
+
@@ -85,5 +83,4 @@
-
{{end}}
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html
index 2a88bc47..e4be34cf 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -121,7 +121,7 @@
- {{ i18n "pages.inbounds.setDefaultCert" }}
+ {{ i18n "pages.inbounds.setDefaultCert" }}
diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html
index 98cb188f..966de8dd 100644
--- a/web/html/xui/inbound_modal.html
+++ b/web/html/xui/inbound_modal.html
@@ -103,6 +103,10 @@
inModal.inbound.stream.tls.certs[0].certFile = app.defaultCert;
inModal.inbound.stream.tls.certs[0].keyFile = app.defaultKey;
},
+ setDefaultCertXtls(){
+ inModal.inbound.stream.xtls.certs[0].certFile = app.defaultCert;
+ inModal.inbound.stream.xtls.certs[0].keyFile = app.defaultKey;
+ },
async getNewX25519Cert(){
inModal.loading(true);
const msg = await HttpUtil.post('/server/getNewX25519Cert');