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/client.html | 29 ++++--- web/html/xui/form/inbound.html | 4 +- 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 +--------------------- web/html/xui/form/stream/stream_kcp.html | 2 +- web/html/xui/form/stream/stream_quic.html | 4 +- web/html/xui/form/stream/stream_settings.html | 2 +- web/html/xui/form/stream/stream_sockopt.html | 2 +- web/html/xui/form/tls_settings.html | 29 +++---- 12 files changed, 50 insertions(+), 410 deletions(-) (limited to 'web/html/xui/form') diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 4fd5b8e3..63080ab7 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -1,10 +1,5 @@ {{define "form/client"}} - @@ -97,13 +92,13 @@
- + {{ i18n "none" }} [[ key ]] - + {{ i18n "none" }} [[ key ]] @@ -136,10 +131,10 @@
- +
- + @@ -153,9 +148,21 @@ - Expired + Expired + + + + {{ i18n "pages.client.renew" }} + + + + + +
{{end}} \ No newline at end of file diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html index e5b3bfc3..40a96d1e 100644 --- a/web/html/xui/form/inbound.html +++ b/web/html/xui/form/inbound.html @@ -9,7 +9,7 @@ - + [[ p ]] @@ -53,7 +53,7 @@ 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"}}
diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html index 0d6df9e3..59b708bf 100644 --- a/web/html/xui/form/stream/stream_kcp.html +++ b/web/html/xui/form/stream/stream_kcp.html @@ -1,7 +1,7 @@ {{define "form/streamKCP"}} - + None (Not Camouflage) SRTP (Camouflage Video Call) UTP (Camouflage BT Download) diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html index 53e60b2d..d4e22dd7 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 @@ -12,7 +12,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 e50caf19..cac65207 100644 --- a/web/html/xui/form/stream/stream_settings.html +++ b/web/html/xui/form/stream/stream_settings.html @@ -2,7 +2,7 @@ - + TCP KCP WS diff --git a/web/html/xui/form/stream/stream_sockopt.html b/web/html/xui/form/stream/stream_sockopt.html index d90bf206..5da2f8af 100644 --- a/web/html/xui/form/stream/stream_sockopt.html +++ b/web/html/xui/form/stream/stream_sockopt.html @@ -33,7 +33,7 @@ + :dropdown-class-name="themeSwitcher.currentTheme"> OFF Redirect T-Proxy diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index ce3e0fe4..493aef75 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -1,6 +1,7 @@ {{define "form/tlsSettings"}} + @@ -54,27 +55,27 @@ - + auto - [[ key ]] + [[ value ]] - - - [[ key ]] - - - - - [[ key ]] - + + + + [[ key ]] + + + [[ key ]] + + + style="width: 170px" :dropdown-class-name="themeSwitcher.currentTheme"> None [[ key ]] @@ -83,7 +84,7 @@ [[ alpn ]] @@ -185,7 +186,7 @@ + style="width: 135px" :dropdown-class-name="themeSwitcher.currentTheme"> [[ key ]] -- cgit v1.2.3