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