diff --git a/web/assets/ant-design-vue@1.7.2/antd.min.css b/web/assets/ant-design-vue@1.7.2/antd.min.css
index 696a6b06..846bbe54 100644
--- a/web/assets/ant-design-vue@1.7.2/antd.min.css
+++ b/web/assets/ant-design-vue@1.7.2/antd.min.css
@@ -1362,7 +1362,7 @@ to{transform:scale(1.6);opacity:0}
.ant-tabs:after,.ant-tabs:before{display:table;content:""}
.ant-tabs:after{clear:both}
.ant-tabs-ink-bar{position:absolute;bottom:1px;left:0;z-index:1;box-sizing:border-box;width:0;height:2px;background-color:#1890ff;transform-origin:0 0}
-.ant-tabs-bar{margin:1.5rem 1.5rem 0rem 1.5rem !important;border-bottom:2px solid rgb(153 153 153 / 20%);outline:0}
+.ant-tabs-bar{margin:1.5rem 1.5rem 0rem 1.5rem!important;border-bottom:2px solid rgb(153 153 153 / 20%);outline:0}
.ant-tabs-bar,.ant-tabs-nav-container{transition:padding .3s cubic-bezier(.645,.045,.355,1)}
.ant-tabs-nav-container{position:relative;box-sizing:border-box;margin-bottom:-1px;overflow:hidden;font-size:14px;line-height:1.5;white-space:nowrap;zoom:1}
.ant-tabs-nav-container:after,.ant-tabs-nav-container:before{display:table;content:""}
@@ -3261,7 +3261,7 @@ textarea.ant-input-number{max-width:100%;height:auto;min-height:32px;line-height
.ant-input-number-handler-down:hover{height:60%!important}
.ant-input-number-handler-down-disabled,.ant-input-number-handler-up-disabled{cursor:not-allowed}
.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner,.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner{color:rgba(0,0,0,.25)}
-.ant-layout{display:flex;flex:auto;flex-direction:column;min-height:0;background:#f0f2f5}
+.ant-layout{display:flex;flex:auto;flex-direction:column;min-height:0;background:#fff}
.ant-layout,.ant-layout *{box-sizing:border-box}
.ant-layout.ant-layout-has-sider{flex-direction:row}
.ant-layout.ant-layout-has-sider>.ant-layout,.ant-layout.ant-layout-has-sider>.ant-layout-content{overflow-x:hidden}
@@ -3278,9 +3278,9 @@ textarea.ant-input-number{max-width:100%;height:auto;min-height:32px;line-height
.ant-layout-sider-zero-width-trigger{position:absolute;top:64px;right:-36px;z-index:1;width:36px;height:42px;color:#fff;font-size:18px;line-height:42px;text-align:center;background:#001529;border-radius:0 4px 4px 0;cursor:pointer;transition:background .3s ease}
.ant-layout-sider-zero-width-trigger:hover{background:#192c3e}
.ant-layout-sider-zero-width-trigger-right{left:-36px;border-radius:4px 0 0 4px}
-.ant-layout-sider-light{background:#fff}
+.ant-layout-sider-light{background:#f7f7f7}
.ant-layout-sider-light .ant-layout-sider-trigger,.ant-layout-sider-light .ant-layout-sider-zero-width-trigger{color:rgba(0,0,0,.65);background:#fff}
-.ant-list{box-sizing:border-box;margin: 1.5em;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative}
+.ant-list{box-sizing:border-box;margin:1.5em;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative}
.ant-list *{outline:0}
.ant-list-pagination{margin-top:24px;text-align:right}
.ant-list-pagination .ant-pagination-options{text-align:left}
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index 22573a23..37717c9e 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -939,7 +939,7 @@ class Inbound extends XrayCommonClass {
this._protocol = protocol;
this.settings = Inbound.Settings.getSettings(protocol);
if (protocol === Protocols.TROJAN) {
- this.tls = true;
+ this.tls = false;
}
}
diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html
index 274f8588..e856c6df 100644
--- a/web/html/xui/client_bulk_modal.html
+++ b/web/html/xui/client_bulk_modal.html
@@ -33,6 +33,12 @@
{{ i18n "pages.client.clientCount" }}
+
+
+
+
+
+
{{ i18n "pages.inbounds.IPLimit" }}
@@ -45,6 +51,7 @@
+
{{ i18n "none" }}
@@ -57,12 +64,6 @@
[[ key ]]
-
-
-
-
-
-
{{ i18n "pages.inbounds.totalFlow" }} (GB)
@@ -75,9 +76,11 @@
+
+
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html
index 1740e74b..017bd7dc 100644
--- a/web/html/xui/form/client.html
+++ b/web/html/xui/form/client.html
@@ -3,6 +3,10 @@
Account is (Expired|Traffic Ended) And Disabled
+
+
+
+
{{ i18n "pages.inbounds.Email" }}
@@ -13,17 +17,14 @@
-
-
-
-
+
-
+
-
+
@@ -44,7 +45,7 @@
-
+
@@ -69,13 +70,14 @@
+
{{ i18n "none" }}
[[ key ]]
-
+
{{ i18n "none" }}
[[ key ]]
@@ -91,9 +93,9 @@
-
+
- {{ i18n "usage" }}:
+
{{ i18n "usage" }}:
[[ sizeFormat(clientStats.up) ]] /
[[ sizeFormat(clientStats.down) ]]
@@ -103,11 +105,13 @@
{{ i18n "pages.inbounds.resetTraffic" }}
-
+
+
+
diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html
index 603ca46a..3c40447e 100644
--- a/web/html/xui/form/inbound.html
+++ b/web/html/xui/form/inbound.html
@@ -24,9 +24,11 @@
+
+
{{ i18n "pages.inbounds.totalFlow" }} (GB)
diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html
index b143cff1..c739ae10 100644
--- a/web/html/xui/form/protocol/shadowsocks.html
+++ b/web/html/xui/form/protocol/shadowsocks.html
@@ -1,5 +1,5 @@
{{define "form/shadowsocks"}}
-
+
@@ -16,7 +16,7 @@
-
+
@@ -34,8 +34,9 @@
-
+
+
{{ i18n "pages.inbounds.totalFlow" }} (GB)
@@ -48,13 +49,15 @@
+
+
-
+
{{ i18n "pages.inbounds.expireDate" }}
@@ -82,6 +85,8 @@
+
+
[[ method ]]
@@ -97,4 +102,5 @@
UDP
+
{{end}}
\ No newline at end of file
diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html
index cee59c34..9c392926 100644
--- a/web/html/xui/form/protocol/trojan.html
+++ b/web/html/xui/form/protocol/trojan.html
@@ -1,92 +1,96 @@
{{define "form/trojan"}}
-
-
-
-
-
- {{ i18n "pages.inbounds.Email" }}
-
-
- {{ i18n "pages.inbounds.EmailDesc" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.IPLimit" }}
-
-
- {{ i18n "pages.inbounds.IPLimitDesc" }}
-
-
-
-
-
-
-
-
- {{ i18n "none" }}
- [[ key ]]
-
-
-
-
- {{ i18n "pages.inbounds.totalFlow" }} (GB)
-
-
- 0 {{ i18n "pages.inbounds.meansNoLimit" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.expireDate" }}
-
-
- {{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {{ i18n "pages.inbounds.Email" }}
+
+
+ {{ i18n "pages.inbounds.EmailDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.inbounds.IPLimit" }}
+
+
+ {{ i18n "pages.inbounds.IPLimitDesc" }}
+
+
+
+
+
+
+
+
+
+ {{ i18n "none" }}
+ [[ key ]]
+
+
+
+
+ {{ i18n "pages.inbounds.totalFlow" }} (GB)
+
+
+ 0 {{ i18n "pages.inbounds.meansNoLimit" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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 c25ff574..c9547ae9 100644
--- a/web/html/xui/form/protocol/vless.html
+++ b/web/html/xui/form/protocol/vless.html
@@ -1,98 +1,102 @@
{{define "form/vless"}}
-
-
-
-
-
- {{ i18n "pages.inbounds.Email" }}
-
-
- {{ i18n "pages.inbounds.EmailDesc" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.IPLimit" }}
-
-
- {{ i18n "pages.inbounds.IPLimitDesc" }}
-
-
-
-
-
-
-
-
- {{ i18n "none" }}
- [[ key ]]
-
-
-
-
- {{ i18n "none" }}
- [[ key ]]
-
-
-
-
- {{ i18n "pages.inbounds.totalFlow" }} (GB)
-
-
- 0 {{ i18n "pages.inbounds.meansNoLimit" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.expireDate" }}
-
-
- {{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {{ i18n "pages.inbounds.Email" }}
+
+
+ {{ i18n "pages.inbounds.EmailDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.inbounds.IPLimit" }}
+
+
+ {{ i18n "pages.inbounds.IPLimitDesc" }}
+
+
+
+
+
+
+
+
+
+ {{ i18n "none" }}
+ [[ key ]]
+
+
+
+
+ {{ i18n "none" }}
+ [[ key ]]
+
+
+
+
+ {{ i18n "pages.inbounds.totalFlow" }} (GB)
+
+
+ 0 {{ i18n "pages.inbounds.meansNoLimit" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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 f06ecedf..0591d3d6 100644
--- a/web/html/xui/form/protocol/vmess.html
+++ b/web/html/xui/form/protocol/vmess.html
@@ -1,89 +1,94 @@
{{define "form/vmess"}}
-
-
-
-
-
- {{ i18n "pages.inbounds.Email" }}
-
-
- {{ i18n "pages.inbounds.EmailDesc" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.IPLimit" }}
-
-
- {{ i18n "pages.inbounds.IPLimitDesc" }}
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.totalFlow" }} (GB)
-
-
- 0 {{ i18n "pages.inbounds.meansNoLimit" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.expireDate" }}
-
-
- {{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {{ i18n "pages.inbounds.Email" }}
+
+
+ {{ i18n "pages.inbounds.EmailDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.inbounds.IPLimit" }}
+
+
+ {{ i18n "pages.inbounds.IPLimitDesc" }}
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.inbounds.totalFlow" }} (GB)
+
+
+ 0 {{ i18n "pages.inbounds.meansNoLimit" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.inbounds.expireDate" }}
+
+
+ {{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 5d7e041f..a828a555 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -260,7 +260,7 @@
title: "ID",
align: 'center',
dataIndex: "id",
- width: 30,
+ width: 40,
}, {
title: '{{ i18n "pages.inbounds.remark" }}',
align: 'center',
@@ -295,7 +295,7 @@
const innerColumns = [
{ title: '{{ i18n "pages.inbounds.operate" }}', width: 70, scopedSlots: { customRender: 'actions' } },
- { title: '{{ i18n "pages.inbounds.enable" }}', width: 30, scopedSlots: { customRender: 'enable' } },
+ { title: '{{ i18n "pages.inbounds.enable" }}', width: 40, scopedSlots: { customRender: 'enable' } },
{ title: '{{ i18n "pages.inbounds.client" }}', width: 80, scopedSlots: { customRender: 'client' } },
{ title: '{{ i18n "pages.inbounds.traffic" }}↑|↓', width: 120, scopedSlots: { customRender: 'traffic' } },
{ title: '{{ i18n "pages.inbounds.expireDate" }}', width: 70, scopedSlots: { customRender: 'expiryTime' } },
@@ -304,11 +304,11 @@
const innerTrojanColumns = [
{ title: '{{ i18n "pages.inbounds.operate" }}', width: 70, scopedSlots: { customRender: 'actions' } },
- { title: '{{ i18n "pages.inbounds.enable" }}', width: 30, scopedSlots: { customRender: 'enable' } },
+ { title: '{{ i18n "pages.inbounds.enable" }}', width: 40, scopedSlots: { customRender: 'enable' } },
{ title: '{{ i18n "pages.inbounds.client" }}', width: 80, scopedSlots: { customRender: 'client' } },
{ title: '{{ i18n "pages.inbounds.traffic" }}↑|↓', width: 120, scopedSlots: { customRender: 'traffic' } },
{ title: '{{ i18n "pages.inbounds.expireDate" }}', width: 70, scopedSlots: { customRender: 'expiryTime' } },
- { title: 'Password', width: 120, dataIndex: "password" },
+ { title: 'Password', width: 170, dataIndex: "password" },
];
const app = new Vue({