diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html
index 8c142ce8f..ff636e71c 100644
--- a/web/html/xui/client_bulk_modal.html
+++ b/web/html/xui/client_bulk_modal.html
@@ -10,7 +10,7 @@
+ :dropdown-class-name="themeSwitcher.darkCardClass">
Random
Random+Prefix
Random+Prefix+Num
@@ -64,7 +64,7 @@
Flow |
-
+
{{ i18n "none" }}
[[ key ]]
@@ -132,7 +132,7 @@
|
diff --git a/web/html/xui/component/themeSwitch.html b/web/html/xui/component/themeSwitch.html
index 35013a9ec..7cbedecfe 100644
--- a/web/html/xui/component/themeSwitch.html
+++ b/web/html/xui/component/themeSwitch.html
@@ -28,7 +28,7 @@
isDarkTheme,
bgStyle: `background: ${colors[theme].bg};`,
textStyle: `color: ${colors[theme].text};`,
- darkClass: isDarkTheme ? 'ant-card-dark' : '',
+ darkClass: isDarkTheme ? 'ant-dark' : '',
darkCardClass: isDarkTheme ? 'ant-card-dark' : '',
darkDrawerClass: isDarkTheme ? 'ant-drawer-dark' : '',
get currentTheme() {
@@ -40,7 +40,7 @@
localStorage.setItem('dark-mode', this.isDarkTheme);
this.bgStyle = `background: ${colors[this.theme].bg};`;
this.textStyle = `color: ${colors[this.theme].text};`;
- this.darkClass = this.isDarkTheme ? 'ant-card-dark' : '';
+ this.darkClass = this.isDarkTheme ? 'ant-dark' : '';
this.darkCardClass = this.isDarkTheme ? 'ant-card-dark' : '';
this.darkDrawerClass = this.isDarkTheme ? 'ant-drawer-dark' : '';
},
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html
index 83aab2bec..5119a1c1e 100644
--- a/web/html/xui/form/client.html
+++ b/web/html/xui/form/client.html
@@ -74,7 +74,7 @@
Flow |
-
+
{{ i18n "none" }}
[[ key ]]
@@ -140,7 +140,7 @@
Expired
diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html
index 26e1cd61c..253c4fe37 100644
--- a/web/html/xui/form/inbound.html
+++ b/web/html/xui/form/inbound.html
@@ -22,7 +22,7 @@
| {{ i18n "protocol" }} |
-
+
[[ p ]]
@@ -80,7 +80,7 @@
|
|
diff --git a/web/html/xui/form/protocol/dokodemo.html b/web/html/xui/form/protocol/dokodemo.html
index c03acd349..bf22a5855 100644
--- a/web/html/xui/form/protocol/dokodemo.html
+++ b/web/html/xui/form/protocol/dokodemo.html
@@ -21,7 +21,7 @@
{{ i18n "pages.inbounds.network"}} |
-
+
tcp+udp
tcp
udp
diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html
index 59ac4b780..58becb5ab 100644
--- a/web/html/xui/form/protocol/shadowsocks.html
+++ b/web/html/xui/form/protocol/shadowsocks.html
@@ -90,7 +90,7 @@
|
@@ -115,7 +115,7 @@
{{ i18n "encryption" }} |
-
+
[[ method ]]
@@ -135,7 +135,7 @@
| {{ i18n "pages.inbounds.network" }} |
-
+
tcp+udp
tcp
udp
diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html
index 0fd733403..418a22f88 100644
--- a/web/html/xui/form/protocol/trojan.html
+++ b/web/html/xui/form/protocol/trojan.html
@@ -88,7 +88,7 @@
|
diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html
index 494667e26..bb23a77fe 100644
--- a/web/html/xui/form/protocol/vless.html
+++ b/web/html/xui/form/protocol/vless.html
@@ -31,7 +31,7 @@
flow |
-
+
{{ i18n "none" }}
[[ key ]]
@@ -99,7 +99,7 @@
|
diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html
index a1cba9713..c03dee072 100644
--- a/web/html/xui/form/protocol/vmess.html
+++ b/web/html/xui/form/protocol/vmess.html
@@ -96,7 +96,7 @@
|
diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html
index 31b4da294..1be5c0265 100644
--- a/web/html/xui/form/stream/stream_kcp.html
+++ b/web/html/xui/form/stream/stream_kcp.html
@@ -5,7 +5,7 @@
{{ i18n "camouflage" }} |
-
+
none (not camouflage)
srtp (video call)
utp (BT download)
diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html
index dbb1c5c76..25a71a06d 100644
--- a/web/html/xui/form/stream/stream_quic.html
+++ b/web/html/xui/form/stream/stream_quic.html
@@ -5,7 +5,7 @@
{{ i18n "pages.inbounds.stream.quic.encryption" }} |
-
+
none
aes-128-gcm
chacha20-poly1305
@@ -25,7 +25,7 @@
{{ i18n "camouflage" }} |
-
+
none (not camouflage)
srtp (video call)
utp (BT download)
diff --git a/web/html/xui/form/stream/stream_settings.html b/web/html/xui/form/stream/stream_settings.html
index db71c7c7d..e2398b155 100644
--- a/web/html/xui/form/stream/stream_settings.html
+++ b/web/html/xui/form/stream/stream_settings.html
@@ -3,7 +3,7 @@
+ :dropdown-class-name="themeSwitcher.darkCardClass">
tcp
kcp
ws
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 788a64645..f98d21322 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -41,19 +41,19 @@
{{ i18n "clients" }}:
[[ total.clients ]]
-
+
[[ clientEmail ]]
[[ total.deactive.length ]]
-
+
[[ clientEmail ]]
[[ total.depleted.length ]]
-
+
[[ clientEmail ]]
@@ -71,7 +71,7 @@
{{ i18n "pages.inbounds.addInbound" }}
{{ i18n "pages.inbounds.generalActions" }}
- generalActions(a)" :theme="siderDrawer.theme">
+ generalActions(a)" :theme="themeSwitcher.currentTheme">
{{ i18n "pages.inbounds.export" }}
@@ -95,7 +95,7 @@
+ :dropdown-class-name="themeSwitcher.darkCardClass">
[[ key ]]s
@@ -113,7 +113,7 @@
e.preventDefault()" type="menu">
- clickAction(a, dbInbound)" :theme="siderDrawer.theme">
+ clickAction(a, dbInbound)" :theme="themeSwitcher.currentTheme">
{{ i18n "edit" }}
@@ -171,19 +171,19 @@
[[ clientCount[dbInbound.id].clients ]]
-
+
[[ clientEmail ]]
[[ clientCount[dbInbound.id].deactive.length ]]
-
+
[[ clientEmail ]]
[[ clientCount[dbInbound.id].depleted.length ]]
-
+
[[ clientEmail ]]
diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index b7bfc58a3..7ac4efa9b 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -212,7 +212,7 @@ {{ i18n "pages.index.xraySwitchClickDesk"}}
+ :dropdown-class-name="themeSwitcher.darkCardClass">
10
20
50
| | | | | | | | |