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/stream/external_proxy.html | 46 ++++---- web/html/xui/form/stream/stream_grpc.html | 26 ++--- web/html/xui/form/stream/stream_http.html | 37 +++--- web/html/xui/form/stream/stream_kcp.html | 118 ++++++------------- web/html/xui/form/stream/stream_quic.html | 61 ++++------ web/html/xui/form/stream/stream_settings.html | 7 +- web/html/xui/form/stream/stream_sockopt.html | 60 ++++------ web/html/xui/form/stream/stream_tcp.html | 159 ++++++++++---------------- web/html/xui/form/stream/stream_ws.html | 29 ++--- 9 files changed, 194 insertions(+), 349 deletions(-) (limited to 'web/html/xui/form/stream') diff --git a/web/html/xui/form/stream/external_proxy.html b/web/html/xui/form/stream/external_proxy.html index bb80070c..ab1437ca 100644 --- a/web/html/xui/form/stream/external_proxy.html +++ b/web/html/xui/form/stream/external_proxy.html @@ -1,32 +1,26 @@ {{define "form/externalProxy"}} - + - - + + + + - - - - -
- - - - - - - - - - -
+ + + + + + + + - +
{{end}} diff --git a/web/html/xui/form/stream/stream_grpc.html b/web/html/xui/form/stream/stream_grpc.html index 0e24ce83..e8c14e7c 100644 --- a/web/html/xui/form/stream/stream_grpc.html +++ b/web/html/xui/form/stream/stream_grpc.html @@ -1,22 +1,10 @@ {{define "form/streamGRPC"}} - - - - - - - - - - -
serviceName - - - -
MultiMode - - - -
+ + + + + + + {{end}} \ No newline at end of file diff --git a/web/html/xui/form/stream/stream_http.html b/web/html/xui/form/stream/stream_http.html index 124258a7..3d854743 100644 --- a/web/html/xui/form/stream/stream_http.html +++ b/web/html/xui/form/stream/stream_http.html @@ -1,24 +1,19 @@ {{define "form/streamHTTP"}} - - - - - - - - - - -
{{ i18n "path" }} - - - -
host - - - - - -
+ + + + + + + + {{end}} \ No newline at end of file diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html index 11a29219..c63fd987 100644 --- a/web/html/xui/form/stream/stream_kcp.html +++ b/web/html/xui/form/stream/stream_kcp.html @@ -1,86 +1,38 @@ {{define "form/streamKCP"}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ i18n "camouflage" }} - - - None (Not Camouflage) - SRTP (Camouflage Video Call) - UTP (Camouflage BT Download) - Wechat-Video (Camouflage WeChat Video) - DTLS (Camouflage DTLS 1.2 Packages) - Wireguard (Camouflage Wireguard Packages) - - -
{{ i18n "password" }} - - - -
MTU - - - -
TTI (ms) - - - -
Uplink Capacity (MB/S) - - - -
Downlink Capacity (MB/S) - - - -
Congestion - - - -
Read Buffer Size (MB) - - - -
Write Buffer Size (MB) - - - -
+ + + + none (not camouflage) + SRTP (video call) + UTP (BT DownloaD) + wechat-video (WeChat video) + DTLS (DTLS 1.2 packages) + WireGuard (WireGuard packages) + + + + + + + + + + + + + + + + + + + + + + + + + + {{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 1341d4f1..5cf6f7a3 100644 --- a/web/html/xui/form/stream/stream_quic.html +++ b/web/html/xui/form/stream/stream_quic.html @@ -1,43 +1,24 @@ {{define "form/streamQUIC"}} - - - - - - - - - - - - - - -
{{ i18n "pages.inbounds.stream.quic.encryption" }} - - - none - aes-128-gcm - chacha20-poly1305 - - -
{{ i18n "password" }} - - - -
{{ i18n "camouflage" }} - - - none (not camouflage) - srtp (camouflage video call) - utp (camouflage BT download) - wechat-video (camouflage WeChat video) - dtls (camouflage DTLS 1.2 packages) - wireguard (camouflage wireguard packages) - - -
+ + + + none + aes-128-gcm + chacha20-poly1305 + + + + + + + + none (not camouflage) + SRTP (video call) + UTP (BT Download) + wechat-video (WeChat video) + DTLS (DTLS 1.2 packages) + WireGuard (WireGuard Packages) + + {{end}} \ No newline at end of file diff --git a/web/html/xui/form/stream/stream_settings.html b/web/html/xui/form/stream/stream_settings.html index 7a0069c5..85935af0 100644 --- a/web/html/xui/form/stream/stream_settings.html +++ b/web/html/xui/form/stream/stream_settings.html @@ -1,9 +1,9 @@ {{define "form/streamSettings"}} - - + + + :dropdown-class-name="themeSwitcher.currentTheme"> TCP KCP WS @@ -43,7 +43,6 @@ -