From 729d8549e2b536a10c402a88e0d4cfde9e4baf3f Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Mon, 4 Dec 2023 19:17:38 +0100 Subject: new frontend and mobile view #1286 --- web/html/xui/form/protocol/dokodemo.html | 2 +- web/html/xui/form/protocol/shadowsocks.html | 93 +------------------------ web/html/xui/form/protocol/trojan.html | 99 +------------------------- web/html/xui/form/protocol/vless.html | 104 +--------------------------- web/html/xui/form/protocol/vmess.html | 90 +----------------------- 5 files changed, 10 insertions(+), 378 deletions(-) (limited to 'web/html/xui/form/protocol') diff --git a/web/html/xui/form/protocol/dokodemo.html b/web/html/xui/form/protocol/dokodemo.html index 0eed31d4..6a37f346 100644 --- a/web/html/xui/form/protocol/dokodemo.html +++ b/web/html/xui/form/protocol/dokodemo.html @@ -8,7 +8,7 @@
- + TCP+UDP TCP UDP diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html index 486b372f..001a7006 100644 --- a/web/html/xui/form/protocol/shadowsocks.html +++ b/web/html/xui/form/protocol/shadowsocks.html @@ -3,94 +3,7 @@ {{end}} \ No newline at end of file diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 12729eff..261e6616 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -2,106 +2,7 @@ - - - {{ i18n "pages.inbounds.email" }} - - - - - - - - - - - - - - Subscription - - - - - - - - - - - Telegram ID - - - - - - - - - - {{ i18n "pages.inbounds.IPLimit" }} - - - - - - - -
- - - {{ i18n "none" }} - [[ key ]] - - - - - {{ i18n "none" }} - [[ key ]] - - - - - {{ i18n "pages.inbounds.totalFlow" }} (GB) - - - - - - - -
- - - -
- - - - - - {{ i18n "pages.inbounds.expireDate" }} - - - - - - - + {{template "form/client"}}
@@ -134,7 +35,7 @@ - + fallback[[ index + 1 ]] @@ -154,7 +55,6 @@ - {{end}} diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index c008f1c0..6d89c1b5 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -2,95 +2,7 @@ - - - {{ i18n "pages.inbounds.email" }} - - - - - - - -
- - - - - - - Subscription - - - - - - - - - - - Telegram ID - - - - - - - - - - {{ i18n "pages.inbounds.IPLimit" }} - - - - - - - -
- - - {{ i18n "pages.inbounds.totalFlow" }} (GB) - - - - - - - -
- - - -
- - - - - - {{ i18n "pages.inbounds.expireDate" }} - - - - - - - + {{template "form/client"}}
-- cgit v1.2.3 From 0f1f3d843907ee35b19bd5f0aadc37958cee09e1 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 9 Dec 2023 18:48:06 +0330 Subject: instead of convert the form structure to use and instead of , --- web/html/xui/form/protocol/dokodemo.html | 56 ++++++++++++++------- web/html/xui/form/protocol/http.html | 24 ++++----- web/html/xui/form/protocol/shadowsocks.html | 58 ++++++++++++++-------- web/html/xui/form/protocol/socks.html | 77 ++++++++++++++++++----------- 4 files changed, 136 insertions(+), 79 deletions(-) (limited to 'web/html/xui/form/protocol') diff --git a/web/html/xui/form/protocol/dokodemo.html b/web/html/xui/form/protocol/dokodemo.html index 6a37f346..44d5af51 100644 --- a/web/html/xui/form/protocol/dokodemo.html +++ b/web/html/xui/form/protocol/dokodemo.html @@ -1,22 +1,42 @@ {{define "form/dokodemo"}} - - - - - - -
- - - TCP+UDP - TCP - UDP - - -
- - - + + + + + + + + + + + + + + + + + +
{{ i18n "pages.inbounds.targetAddress"}} + + + +
{{ i18n "pages.inbounds.destinationPort"}} + + + +
{{ i18n "pages.inbounds.network"}} + + + tcp+udp + tcp + udp + + +
FollowRedirect + + + +
{{end}} \ No newline at end of file diff --git a/web/html/xui/form/protocol/http.html b/web/html/xui/form/protocol/http.html index 2eb74582..a6a6602d 100644 --- a/web/html/xui/form/protocol/http.html +++ b/web/html/xui/form/protocol/http.html @@ -1,19 +1,21 @@ {{define "form/http"}} - - - + - - - - + + + + + + +
{{ i18n "username" }}{{ i18n "password" }}+
+ + + + + -
{{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 001a7006..c504deb4 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 ]] - - - - - - - - - TCP+UDP - TCP - UDP - - + + + + + + + + + + + + + + +
{{ i18n "encryption" }} + + + [[ method ]] + + +
{{ i18n "password" }} + + + + + +
{{ i18n "pages.inbounds.network" }} + + + tcp+udp + tcp + udp + + +
{{end}} \ No newline at end of file diff --git a/web/html/xui/form/protocol/socks.html b/web/html/xui/form/protocol/socks.html index db421f41..7d1985a9 100644 --- a/web/html/xui/form/protocol/socks.html +++ b/web/html/xui/form/protocol/socks.html @@ -1,33 +1,52 @@ {{define "form/socks"}} - - - -
- -
- - - - - - + + + + + + + + + + + + + + + + +
{{ i18n "password" }} + + + +
+ + + + + + +
{{ i18n "username" }}{{ i18n "password" }}+
+ + + + + + + + +
{{ i18n "pages.inbounds.enable" }} udp + + + +
IP + + + +
{{end}} \ No newline at end of file -- cgit v1.2.3 From e1da2a2eedd0436296fba7e5a214ed9a347a1ef3 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sun, 10 Dec 2023 15:06:42 +0100 Subject: small fixes #1300 --- web/html/xui/form/protocol/trojan.html | 57 ++++++++++++++++++++++++--------- web/html/xui/form/protocol/vless.html | 58 +++++++++++++++++++++++++--------- 2 files changed, 85 insertions(+), 30 deletions(-) (limited to 'web/html/xui/form/protocol') diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index b2ac3dba..51389e30 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -38,21 +38,48 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
Name + + + +
Alpn + + + +
Path + + + +
Dest + + + +
xVer + + + +
diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 261e6616..c3037935 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -40,21 +40,49 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
Name + + + +
Alpn + + + +
Path + + + +
Dest + + + +
xVer + + + +
+ {{end}} -- cgit v1.2.3 From 0f05537a5d3016d9fd574fb9a99c69952d243a10 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sun, 10 Dec 2023 18:04:56 +0330 Subject: trojan fallback --- web/html/xui/form/protocol/trojan.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/html/xui/form/protocol') diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index 51389e30..a9e2cb24 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -24,7 +24,7 @@ - + + @@ -35,7 +35,7 @@ fallback[[ index + 1 ]] - -- cgit v1.2.3