From 1885a8c0bf0cc58d2866d64b3a11d4bfa3a22e46 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 1 May 2023 20:58:00 +0330 Subject: [PATCH] fixed - set Default Cert for Xtls --- web/html/xui/form/client.html | 8 ++-- web/html/xui/form/protocol/socks.html | 2 +- web/html/xui/form/protocol/trojan.html | 54 +++++++++++----------- web/html/xui/form/protocol/vless.html | 40 ++++++++-------- web/html/xui/form/protocol/vmess.html | 63 ++++++++++++-------------- web/html/xui/form/tls_settings.html | 2 +- web/html/xui/inbound_modal.html | 4 ++ 7 files changed, 85 insertions(+), 88 deletions(-) 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"}} - + 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.Email" }} + + + + + + + @@ -25,18 +23,18 @@ - - - {{ i18n "pages.inbounds.IPLimit" }} - - - - - - - + + + {{ i18n "pages.inbounds.IPLimit" }} + + + + + + + {{ 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.Email" }} + + + + + + + - + @@ -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.Email" }} + + + + + + + + + - - - {{ i18n "pages.inbounds.IPLimit" }} - - - - - - - + + + {{ i18n "pages.inbounds.IPLimit" }} + + + + + + + {{ 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" }}