From 8d18c8e98f1b6531d1997feb6933419d71401968 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 13 Dec 2023 19:27:36 +0330 Subject: [gui] redesign forms Co-Authored-By: Alireza Ahmadi --- web/html/xui/form/protocol/dokodemo.html | 56 +++++--------- web/html/xui/form/protocol/http.html | 2 +- web/html/xui/form/protocol/shadowsocks.html | 74 +++++++++--------- web/html/xui/form/protocol/socks.html | 79 ++++++++------------ web/html/xui/form/protocol/trojan.html | 106 ++++++++++---------------- web/html/xui/form/protocol/vless.html | 112 +++++++++++----------------- web/html/xui/form/protocol/vmess.html | 40 +++++----- 7 files changed, 184 insertions(+), 285 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 44d5af51..14891652 100644 --- a/web/html/xui/form/protocol/dokodemo.html +++ b/web/html/xui/form/protocol/dokodemo.html @@ -1,42 +1,20 @@ {{define "form/dokodemo"}} - - - - - - - - - - - - - - - - - - -
{{ i18n "pages.inbounds.targetAddress"}} - - - -
{{ i18n "pages.inbounds.destinationPort"}} - - - -
{{ i18n "pages.inbounds.network"}} - - - tcp+udp - tcp - udp - - -
FollowRedirect - - - -
+ + + + + + + + + + TCP+UDP + TCP + UDP + + + + + {{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 a6a6602d..ff266de5 100644 --- a/web/html/xui/form/protocol/http.html +++ b/web/html/xui/form/protocol/http.html @@ -1,5 +1,5 @@ {{define "form/http"}} - + diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html index c504deb4..16e353e5 100644 --- a/web/html/xui/form/protocol/shadowsocks.html +++ b/web/html/xui/form/protocol/shadowsocks.html @@ -1,6 +1,5 @@ {{define "form/shadowsocks"}} - - +
{{ i18n "username" }}
+ + + + + + + + + + + + +
{{ 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 7d1985a9..fafef46f 100644 --- a/web/html/xui/form/protocol/socks.html +++ b/web/html/xui/form/protocol/socks.html @@ -1,52 +1,33 @@ {{define "form/socks"}} - - - - - - - - - - - - - - - - - -
{{ i18n "password" }} - - - -
- - - - - - -
{{ i18n "username" }}{{ i18n "password" }}+
- - - - - - - - -
{{ i18n "pages.inbounds.enable" }} udp - - - -
IP - - - -
+ + + + + + + + + + + {{end}} \ No newline at end of file diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index a9e2cb24..77a4c27d 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -1,30 +1,29 @@ {{define "form/trojan"}} - - - - {{template "form/client"}} - - - - - - - - - - - - - -
{{ i18n "pages.inbounds.email" }}Password
[[ client.email ]][[ client.password ]]
-
-
-
-