From 5ef8a5a37ec7e6b7df710fa61b0324ab5a6617ab Mon Sep 17 00:00:00 2001
From: MHSanaei <33454419+MHSanaei@users.noreply.github.com>
Date: Thu, 23 Mar 2023 23:22:50 +0330
Subject: old design
---
web/html/common/prompt_modal.html | 2 +-
web/html/common/qrcode_modal.html | 29 +--
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 | 17 +-
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 | 113 ++++++++----
web/html/xui/form/protocol/vless.html | 116 ++++++++----
web/html/xui/form/protocol/vmess.html | 109 ++++++++----
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 | 30 ++--
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 | 245 +++++++++-----------------
web/html/xui/inbounds_client_row.html | 36 ++++
web/html/xui/index.html | 28 ++-
web/html/xui/setting.html | 122 +------------
25 files changed, 526 insertions(+), 996 deletions(-)
delete mode 100644 web/html/xui/client_bulk_modal.html
delete mode 100644 web/html/xui/client_modal.html
delete mode 100644 web/html/xui/form/client.html
delete mode 100644 web/html/xui/inbound_client_table.html
create mode 100644 web/html/xui/inbounds_client_row.html
(limited to 'web/html')
diff --git a/web/html/common/prompt_modal.html b/web/html/common/prompt_modal.html
index 4b8a13d0..3ef764c5 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 b2da6160..a0352c88 100644
--- a/web/html/common/text_modal.html
+++ b/web/html/common/text_modal.html
@@ -1,7 +1,7 @@
{{define "textModal"}}
@@ -32,6 +32,7 @@
});
this.clipboard.on('success', () => app.$message.success('{{ i18n "copied" }}'));
}
+
});
},
close: function () {
@@ -40,7 +41,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 5138f15e..f2c2116c 100644
--- a/web/html/login.html
+++ b/web/html/login.html
@@ -39,7 +39,7 @@
- {{ i18n "pages.login.title" }}
+ 3x-ui {{ i18n "pages.login.title" }}
diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html
deleted file mode 100644
index 19fd4b18..00000000
--- a/web/html/xui/client_bulk_modal.html
+++ /dev/null
@@ -1,160 +0,0 @@
-{{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)
-
-
- 0 {{ i18n "pages.inbounds.meansNoLimit" }}
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.expireDate" }}
-
-
- {{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
-
-
-
-
-
-
-
-
-
-{{end}}
\ No newline at end of file
diff --git a/web/html/xui/client_modal.html b/web/html/xui/client_modal.html
deleted file mode 100644
index e4ee8659..00000000
--- a/web/html/xui/client_modal.html
+++ /dev/null
@@ -1,133 +0,0 @@
-{{define "clientsModal"}}
-
- {{template "form/client"}}
-
-
-{{end}}
diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html
index 13c24c34..66e48d6e 100644
--- a/web/html/xui/common_sider.html
+++ b/web/html/xui/common_sider.html
@@ -13,14 +13,14 @@
-
+
{{ i18n "menu.link"}}
-
+
Github
@@ -41,7 +41,7 @@
-
@@ -55,12 +55,11 @@
-
+
- key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}