From 96786c94189f3d2f3f04c1915529c786228bdf42 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Fri, 17 Mar 2023 19:37:49 +0330 Subject: alireza --- web/html/common/prompt_modal.html | 2 +- web/html/common/qrcode_modal.html | 21 ++- web/html/common/text_modal.html | 5 +- web/html/login.html | 2 +- web/html/xui/client_bulk_modal.html | 160 +++++++++++++++++ web/html/xui/client_modal.html | 133 ++++++++++++++ web/html/xui/common_sider.html | 15 +- web/html/xui/form/client.html | 110 ++++++++++++ web/html/xui/form/inbound.html | 3 +- web/html/xui/form/protocol/dokodemo.html | 5 +- web/html/xui/form/protocol/shadowsocks.html | 4 +- web/html/xui/form/protocol/socks.html | 2 +- web/html/xui/form/protocol/trojan.html | 103 +++++------ web/html/xui/form/protocol/vless.html | 99 ++++------- web/html/xui/form/protocol/vmess.html | 104 +++++------ web/html/xui/form/stream/stream_quic.html | 4 +- web/html/xui/form/stream/stream_settings.html | 4 +- web/html/xui/form/tls_settings.html | 20 +-- web/html/xui/inbound_client_table.html | 44 +++++ web/html/xui/inbound_info_modal.html | 119 +++++++++---- web/html/xui/inbound_modal.html | 80 +-------- web/html/xui/inbounds.html | 241 +++++++++++++++++--------- web/html/xui/index.html | 18 +- web/html/xui/setting.html | 120 ++++++++++++- 24 files changed, 999 insertions(+), 419 deletions(-) create mode 100644 web/html/xui/client_bulk_modal.html create mode 100644 web/html/xui/client_modal.html create mode 100644 web/html/xui/form/client.html create mode 100644 web/html/xui/inbound_client_table.html (limited to 'web/html') diff --git a/web/html/common/prompt_modal.html b/web/html/common/prompt_modal.html index 3ef764c5..4b8a13d0 100644 --- a/web/html/common/prompt_modal.html +++ b/web/html/common/prompt_modal.html @@ -1,7 +1,7 @@ {{define "promptModal"}} - + {{ i18n "pages.inbounds.clickOnQRcode" }} + diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html index a0352c88..b2da6160 100644 --- a/web/html/common/text_modal.html +++ b/web/html/common/text_modal.html @@ -1,7 +1,7 @@ {{define "textModal"}} @@ -32,7 +32,6 @@ }); this.clipboard.on('success', () => app.$message.success('{{ i18n "copied" }}')); } - }); }, close: function () { @@ -41,7 +40,7 @@ }; const textModalApp = new Vue({ - delimiters: ['[[', ']]'], + delimiters: ['[[', ']]'], el: '#text-modal', data: { txtModal: txtModal, diff --git a/web/html/login.html b/web/html/login.html index f2c2116c..5138f15e 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -39,7 +39,7 @@ -

3x-ui {{ i18n "pages.login.title" }}

+

{{ i18n "pages.login.title" }}

diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html new file mode 100644 index 00000000..19fd4b18 --- /dev/null +++ b/web/html/xui/client_bulk_modal.html @@ -0,0 +1,160 @@ +{{define "clientsBulkModal"}} + + + + + Random + Random_Prefix + Random_Prefix+Num + Random_Prefix+Num+Postfix + Random_Prefix+Num@Telegram Username + +
+ + {{ i18n "pages.client.first" }} + + + + {{ i18n "pages.client.last" }} + + + + {{ i18n "pages.client.prefix" }} + + + + tg_uname + {{ i18n "pages.client.postfix" }} + + + + + {{ i18n "pages.client.clientCount" }} + + + + + {{ i18n "pages.inbounds.totalFlow" }}(GB) + + + + + + + + + + {{ i18n "pages.inbounds.expireDate" }} + + + + + + + +
+
+ +{{end}} \ No newline at end of file diff --git a/web/html/xui/client_modal.html b/web/html/xui/client_modal.html new file mode 100644 index 00000000..17381a88 --- /dev/null +++ b/web/html/xui/client_modal.html @@ -0,0 +1,133 @@ +{{define "clientsModal"}} + + {{template "form/client"}} + + +{{end}} diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html index 9de00175..13c24c34 100644 --- a/web/html/xui/common_sider.html +++ b/web/html/xui/common_sider.html @@ -13,14 +13,14 @@ - + - + Github @@ -55,11 +55,12 @@
- + - {{template "menuItems" .}}