From 0e266b88f0eb70bf46d3ecc4df148794bc307205 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami Date: Mon, 8 May 2023 19:14:22 +0430 Subject: update UI to use themeSwitcher --- web/html/xui/inbound_info_modal.html | 148 +++++++++++++++++++---------------- 1 file changed, 79 insertions(+), 69 deletions(-) (limited to 'web/html/xui/inbound_info_modal.html') diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index 053e9724..cfaddf3b 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -3,62 +3,66 @@ v-model="infoModal.visible" title='{{ i18n "pages.inbounds.details"}}' :closable="true" :mask-closable="true" - :class="siderDrawer.isDarkTheme ? darkClass : ''" + :class="themeSwitcher.darkCardClass" :footer="null" width="600px" > - - - - - - - + + + + + + + +
- - - - -
{{ i18n "protocol" }}[[ dbInbound.protocol ]]
{{ i18n "pages.inbounds.address" }}[[ dbInbound.address ]]
{{ i18n "pages.inbounds.port" }}[[ dbInbound.port ]]
-
- - - - - - - - - - - -
{{ i18n "transmission" }}[[ inbound.network ]]
-
- tls: {{ i18n "enabled" }}
- tls {{ i18n "domainName" }}: [[ inbound.serverName ? inbound.serverName : '' ]] -
- xtls: {{ i18n "enabled" }}
- xtls {{ i18n "domainName" }}: [[ inbound.serverName ? inbound.serverName : '' ]] -
- reality: {{ i18n "enabled" }}
- reality {{ i18n "domainName" }}: [[ inbound.serverName ? inbound.serverName : '' ]] -
tls: {{ i18n "disabled" }} +
+ + + + +
{{ i18n "protocol" }}[[ dbInbound.protocol ]]
{{ i18n "pages.inbounds.address" }}[[ dbInbound.address ]]
{{ i18n "pages.inbounds.port" }}[[ dbInbound.port ]]
+
+ + + + + + + + + + + + +
{{ i18n "transmission" }}[[ inbound.network ]]
+
+ tls: {{ i18n "enabled" }}
+ tls {{ i18n "domainName" }}: [[ inbound.serverName ? inbound.serverName : '' ]] +
+ xtls: {{ i18n "enabled" }}
+ xtls {{ i18n "domainName" }}: [[ inbound.serverName ? inbound.serverName : '' ]] +
+ reality: {{ i18n "enabled" }}
+ reality {{ i18n "domainName" }}: [[ inbound.serverName ? inbound.serverName : '' ]] +
+ tls: {{ i18n "disabled" }}
@@ -124,7 +128,8 @@ {{ i18n "encryption" }} {{ i18n "password" }} {{ i18n "pages.inbounds.network" }} - + + [[ inbound.settings.method ]] [[ inbound.settings.password ]] [[ inbound.settings.network ]] @@ -136,7 +141,8 @@ {{ i18n "pages.inbounds.destinationPort" }} {{ i18n "pages.inbounds.network" }} FollowRedirect - + + [[ inbound.settings.address ]] [[ inbound.settings.port ]] [[ inbound.settings.network ]] @@ -149,15 +155,18 @@ {{ i18n "password" }} Auth {{ i18n "pages.inbounds.enable" }} udp IP - + + [[ inbound.settings.auth ]] [[ inbound.settings.udp]] [[ inbound.settings.ip ]] - + + {{ i18n "username" }} {{ i18n "password" }} - + + [[ index ]] [[ account.user ]] [[ account.pass ]] @@ -169,7 +178,8 @@ {{ i18n "username" }} {{ i18n "password" }} - + + [[ index ]] [[ account.user ]] [[ account.pass ]] @@ -184,6 +194,7 @@ -- cgit v1.2.3