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/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 +++----
11 files changed, 267 insertions(+), 233 deletions(-)
delete mode 100644 web/html/xui/form/client.html
(limited to 'web/html/xui/form')
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html
deleted file mode 100644
index fac830e2..00000000
--- a/web/html/xui/form/client.html
+++ /dev/null
@@ -1,110 +0,0 @@
-{{define "form/client"}}
-
-
- Account is (Expired|Traffic Ended) And Disabled
-
-
-
- Email
-
-
- The Email Must Be Completely Unique
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IP Count Limit
-
-
- Disable inbound if more than entered count (0 for disable limit ip)
-
-
-
-
-
-
-
-
- IP Log
-
-
- IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log)
-
-
-
-
-
- Clear The Log
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "none" }}
- [[ key ]]
-
-
-
-
- {{ i18n "none" }}
- [[ key ]]
-
-
-
-
- {{ i18n "pages.inbounds.totalFlow" }}(GB)
-
-
- 0 {{ i18n "pages.inbounds.meansNoLimit" }}
-
-
-
-
-
-
- {{ i18n "usage" }}:
-
- [[ sizeFormat(clientStats.up) ]] /
- [[ sizeFormat(clientStats.down) ]]
- ([[ sizeFormat(clientStats.up + clientStats.down) ]])
-
-
-
-
-
- {{ i18n "pages.inbounds.expireDate" }}
-
-
- {{ i18n "pages.inbounds.leaveBlankToNeverExpire" }}
-
-
-
-
-
- Expired
-
-
-{{end}}
\ No newline at end of file
diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html
index 74fe1384..1a2e7ca1 100644
--- a/web/html/xui/form/inbound.html
+++ b/web/html/xui/form/inbound.html
@@ -8,7 +8,7 @@
-
+
[[ p ]]
@@ -50,7 +50,6 @@
diff --git a/web/html/xui/form/protocol/dokodemo.html b/web/html/xui/form/protocol/dokodemo.html
index dbba6b5b..a4dde06d 100644
--- a/web/html/xui/form/protocol/dokodemo.html
+++ b/web/html/xui/form/protocol/dokodemo.html
@@ -7,14 +7,11 @@
-
+
tcp+udp
tcp
udp
-
-
-
{{end}}
\ No newline at end of file
diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html
index 21d614ae..18bcf727 100644
--- a/web/html/xui/form/protocol/shadowsocks.html
+++ b/web/html/xui/form/protocol/shadowsocks.html
@@ -1,7 +1,7 @@
{{define "form/shadowsocks"}}
-
+
[[ method ]]
@@ -9,7 +9,7 @@
-
+
tcp+udp
tcp
udp
diff --git a/web/html/xui/form/protocol/socks.html b/web/html/xui/form/protocol/socks.html
index 5857d413..35c1c0b5 100644
--- a/web/html/xui/form/protocol/socks.html
+++ b/web/html/xui/form/protocol/socks.html
@@ -1,6 +1,6 @@
{{define "form/socks"}}
-
+
inbound.settings.auth = checked ? 'password' : 'noauth'">
diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html
index 840ce17d..8061c0f9 100644
--- a/web/html/xui/form/protocol/trojan.html
+++ b/web/html/xui/form/protocol/trojan.html
@@ -1,7 +1,11 @@
{{define "form/trojan"}}
-
-
+
+
+
+
+ Account is (Expired|Traffic Ended) And Disabled
@@ -10,16 +14,18 @@
The Email Must Be Completely Unique
-
+
+
-
+
-
-
-
-
-
+
+
+
+
IP Count Limit
@@ -29,10 +35,34 @@
-
-
+
+
+
+
+ IP log
+
+
+ IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log)
+
+
+
+
+
+ clear the log
+
+
+
+
+
+
+
+
+
+
+
+
-
+
{{ i18n "none" }}
[[ key ]]
@@ -47,7 +77,7 @@
-
+
@@ -60,23 +90,40 @@
+ v-model="trojan._expiryTime" style="width: 170px;">
+
+
+
+ {{ i18n "pages.inbounds.resetTraffic" }}
+
+
+
+
+
+ [[ sizeFormat(getUpStats(trojan.email)) ]] / [[ sizeFormat(getDownStats(trojan.email)) ]]
+ used : [[ sizeFormat(getUpStats(trojan.email) + getDownStats(trojan.email)) ]]
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
@@ -88,26 +135,26 @@
-
+
fallback[[ index + 1 ]]
inbound.settings.delTrojanFallback(index)"
style="color: rgb(255, 77, 79);cursor: pointer;"/>
-
+
-
+
-
+
-
+
-
+
diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html
index 6b3436f0..466d1c58 100644
--- a/web/html/xui/form/protocol/vless.html
+++ b/web/html/xui/form/protocol/vless.html
@@ -1,7 +1,12 @@
{{define "form/vless"}}
-
-
+
+
+
+
+ Account is (Expired|Traffic Ended) And Disabled
+
@@ -10,16 +15,18 @@
The Email Must Be Completely Unique
-
+
+
-
+
-
-
-
-
-
+
+
+
+
IP Count Limit
@@ -29,8 +36,33 @@
-
-
+
+
+
+
+ IP log
+
+
+ IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log)
+
+
+
+
+
+ clear the log
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ i18n "none" }}
@@ -53,7 +85,7 @@
-
+
@@ -66,23 +98,41 @@
+ v-model="vless._expiryTime" style="width: 300px;">
+
+
+
+ {{ i18n "pages.inbounds.resetTraffic" }}
+
+
+
+
+
+ [[ sizeFormat(getUpStats(vless.email)) ]] / [[ sizeFormat(getDownStats(vless.email)) ]]
+ used : [[ sizeFormat(getUpStats(vless.email) + getDownStats(vless.email)) ]]
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
@@ -94,29 +144,29 @@
-
+
fallback[[ index + 1 ]]
inbound.settings.delFallback(index)"
style="color: rgb(255, 77, 79);cursor: pointer;"/>
-
+
-
+
-
+
-
+
-
+
-{{end}}
+{{end}}
\ No newline at end of file
diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html
index 59cf6d2b..d7561633 100644
--- a/web/html/xui/form/protocol/vmess.html
+++ b/web/html/xui/form/protocol/vmess.html
@@ -1,7 +1,11 @@
{{define "form/vmess"}}
-
-
+
+
+
+ Account is (Expired|Traffic Ended) And Disabled
+
@@ -10,30 +14,54 @@
The Email Must Be Completely Unique
-
+
+
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
IP Count Limit
- Disable inbound if more than entered count (0 for disable limit ip)
+ disable inbound if more than entered count (0 for disable limit ip)
+
+
+
+
+
+
+
+
+ IP Log
+
+
+ IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log)
+
+
+ clear the log
+
+
+
+
+
-
-
+
+
+
+
{{ i18n "pages.inbounds.totalFlow" }}(GB)
@@ -44,7 +72,7 @@
-
+
@@ -57,26 +85,47 @@
+ v-model="vmess._expiryTime" style="width: 300px;">
+
+
+
+ {{ i18n "pages.inbounds.resetTraffic" }}
+
+
+
+
+
+ [[ sizeFormat(getUpStats(vmess.email)) ]] / [[ sizeFormat(getDownStats(vmess.email)) ]]
+ used : [[ sizeFormat(getUpStats(vmess.email) + getDownStats(vmess.email)) ]]
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-{{end}}
+{{end}}
\ No newline at end of file
diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html
index 2a48af84..942461ad 100644
--- a/web/html/xui/form/stream/stream_quic.html
+++ b/web/html/xui/form/stream/stream_quic.html
@@ -1,7 +1,7 @@
{{define "form/streamQUIC"}}
-
+
none
aes-128-gcm
chacha20-poly1305
@@ -11,7 +11,7 @@
-
+
none(not camouflage)
srtp(camouflage video call)
utp(camouflage BT download)
diff --git a/web/html/xui/form/stream/stream_settings.html b/web/html/xui/form/stream/stream_settings.html
index 417d1734..d5c7e425 100644
--- a/web/html/xui/form/stream/stream_settings.html
+++ b/web/html/xui/form/stream/stream_settings.html
@@ -2,13 +2,13 @@
-
+
TCP
KCP
WS
HTTP
QUIC
- GRPC
+ gRPC
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html
index aa9c6c6d..88d94c3f 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -11,7 +11,7 @@
-
+
@@ -22,29 +22,31 @@
-
+
[[ key ]]
-
+
[[ key ]]
-
-
- None
- [[ key ]]
-
-
+
+
+ None
+ [[ key ]]
+
+
-
-
- auto
- [[ key ]]
-
+
+
+ [[ key ]]
+
+
+
+
--
cgit v1.2.3