@@ -89,7 +89,7 @@
|
- {{ i18n "pages.inbounds.totalFlow" }}(GB)
+ {{ i18n "pages.inbounds.totalFlow" }}(GB)
0 {{ i18n "pages.inbounds.meansNoLimit" }}
@@ -121,7 +121,7 @@
|
|
- {{ i18n "pages.inbounds.expireDate" }}
+ {{ i18n "pages.inbounds.expireDate" }}
{{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
diff --git a/web/html/xui/client_modal.html b/web/html/xui/client_modal.html
index ad840df2..38506723 100644
--- a/web/html/xui/client_modal.html
+++ b/web/html/xui/client_modal.html
@@ -1,7 +1,7 @@
{{define "clientsModal"}}
{{template "form/client"}}
@@ -132,7 +132,7 @@
this.$confirm({
title: '{{ i18n "pages.inbounds.resetTraffic"}}',
content: '{{ i18n "pages.inbounds.resetTrafficContent"}}',
- class: siderDrawer.isDarkTheme ? darkClass : '',
+ class: themeSwitcher.darkCardClass,
okText: '{{ i18n "reset"}}',
cancelText: '{{ i18n "cancel"}}',
onOk: async () => {
diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html
index 411858bb..1c715440 100644
--- a/web/html/xui/common_sider.html
+++ b/web/html/xui/common_sider.html
@@ -11,10 +11,6 @@
{{ i18n "menu.setting"}}
-
-
-
-
@@ -33,17 +29,14 @@
{{define "commonSider"}}
-
-
+
+
-
+
- key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}
@@ -51,32 +44,25 @@
-
+
-
+
- key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}
+{{end}}
\ No newline at end of file
diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html
index d19bb6a9..26e1cd61 100644
--- a/web/html/xui/form/inbound.html
+++ b/web/html/xui/form/inbound.html
@@ -53,7 +53,7 @@
|
|
- {{ i18n "pages.inbounds.totalFlow" }}(GB)
+ {{ i18n "pages.inbounds.totalFlow" }}(GB)
0 {{ i18n "pages.inbounds.meansNoLimit" }}
@@ -69,7 +69,7 @@
|
|
- {{ i18n "pages.inbounds.expireDate" }}
+ {{ i18n "pages.inbounds.expireDate" }}
{{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html
index 9630e4b4..1affb1ee 100644
--- a/web/html/xui/form/protocol/shadowsocks.html
+++ b/web/html/xui/form/protocol/shadowsocks.html
@@ -47,7 +47,7 @@
|
|
- {{ i18n "pages.inbounds.totalFlow" }}(GB)
+ {{ i18n "pages.inbounds.totalFlow" }}(GB)
0 {{ i18n "pages.inbounds.meansNoLimit" }}
@@ -79,7 +79,7 @@
|
|
- {{ i18n "pages.inbounds.expireDate" }}
+ {{ i18n "pages.inbounds.expireDate" }}
{{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html
index e912afd3..46e625e1 100644
--- a/web/html/xui/form/protocol/trojan.html
+++ b/web/html/xui/form/protocol/trojan.html
@@ -45,7 +45,7 @@
|
|
- {{ i18n "pages.inbounds.totalFlow" }}(GB)
+ {{ i18n "pages.inbounds.totalFlow" }}(GB)
0 {{ i18n "pages.inbounds.meansNoLimit" }}
@@ -77,7 +77,7 @@
|
|
- {{ i18n "pages.inbounds.expireDate" }}
+ {{ i18n "pages.inbounds.expireDate" }}
{{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html
index 6dfd1cf5..1629cc25 100644
--- a/web/html/xui/form/protocol/vless.html
+++ b/web/html/xui/form/protocol/vless.html
@@ -56,7 +56,7 @@
|
|
- {{ i18n "pages.inbounds.totalFlow" }}(GB)
+ {{ i18n "pages.inbounds.totalFlow" }}(GB)
0 {{ i18n "pages.inbounds.meansNoLimit" }}
@@ -88,7 +88,7 @@
|
|
- {{ i18n "pages.inbounds.expireDate" }}
+ {{ i18n "pages.inbounds.expireDate" }}
{{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html
index c8a90e93..bf40db11 100644
--- a/web/html/xui/form/protocol/vmess.html
+++ b/web/html/xui/form/protocol/vmess.html
@@ -53,7 +53,7 @@
|
|
- {{ i18n "pages.inbounds.totalFlow" }}(GB)
+ {{ i18n "pages.inbounds.totalFlow" }}(GB)
0 {{ i18n "pages.inbounds.meansNoLimit" }}
@@ -85,7 +85,7 @@
|
- {{ i18n "pages.inbounds.expireDate" }}
+ {{ i18n "pages.inbounds.expireDate" }}
{{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
diff --git a/web/html/xui/form/sniffing.html b/web/html/xui/form/sniffing.html
index c3760d4f..10258af8 100644
--- a/web/html/xui/form/sniffing.html
+++ b/web/html/xui/form/sniffing.html
@@ -5,7 +5,7 @@
sniffing
- {{ i18n "pages.inbounds.noRecommendKeepDefault" }}
+ {{ i18n "pages.inbounds.noRecommendKeepDefault" }}
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html
index 97a89de0..b3252d3e 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -175,7 +175,7 @@
| uTLS |
-
+
[[ key ]]
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index a8bf83ee..646dff20 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -3,7 +3,7 @@
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"
>
@@ -81,7 +81,7 @@
| {{ i18n "pages.inbounds.expireDate" }} |
-
+
[[ sizeFormat(infoModal.clientStats['up']) ]] /
[[ sizeFormat(infoModal.clientStats['down']) ]]
([[ sizeFormat(infoModal.clientStats['up'] + infoModal.clientStats['down']) ]])
diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html
index 868d2927..fad8b88f 100644
--- a/web/html/xui/inbound_modal.html
+++ b/web/html/xui/inbound_modal.html
@@ -1,7 +1,7 @@
{{define "inboundModal"}}
{{template "form/inbound"}}
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 5c44d2b1..78ce050c 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -15,7 +15,7 @@
{{ template "commonSider" . }}
-
+
@@ -24,7 +24,7 @@
-
+
{{ i18n "pages.inbounds.totalDownUp" }}:
@@ -64,7 +64,7 @@
-
+
@@ -241,6 +241,7 @@
{{template "js" .}}
+{{template "component/themeSwitcher" .}}
| | |