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/stream/stream_grpc.html | 24 +++- web/html/xui/form/stream/stream_http.html | 28 +++-- web/html/xui/form/stream/stream_kcp.html | 125 +++++++++++++------- web/html/xui/form/stream/stream_quic.html | 60 ++++++---- web/html/xui/form/stream/stream_settings.html | 3 +- web/html/xui/form/stream/stream_tcp.html | 160 +++++++++++++++----------- web/html/xui/form/stream/stream_ws.html | 10 +- 7 files changed, 263 insertions(+), 147 deletions(-) (limited to 'web/html/xui/form/stream') diff --git a/web/html/xui/form/stream/stream_grpc.html b/web/html/xui/form/stream/stream_grpc.html index 21c95f99..0e24ce83 100644 --- a/web/html/xui/form/stream/stream_grpc.html +++ b/web/html/xui/form/stream/stream_grpc.html @@ -1,10 +1,22 @@ {{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 57574ce5..124258a7 100644 --- a/web/html/xui/form/stream/stream_http.html +++ b/web/html/xui/form/stream/stream_http.html @@ -1,12 +1,24 @@ {{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 59b708bf..11a29219 100644 --- a/web/html/xui/form/stream/stream_kcp.html +++ b/web/html/xui/form/stream/stream_kcp.html @@ -1,47 +1,86 @@ {{define "form/streamKCP"}} - - - 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 "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) + + + +
{{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 d4e22dd7..1341d4f1 100644 --- a/web/html/xui/form/stream/stream_quic.html +++ b/web/html/xui/form/stream/stream_quic.html @@ -1,25 +1,43 @@ {{define "form/streamQUIC"}} - - - none - aes-128-gcm - chacha20-poly1305 - - - - - - - - - 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 "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) + + +
{{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 78b393dd..7a0069c5 100644 --- a/web/html/xui/form/stream/stream_settings.html +++ b/web/html/xui/form/stream/stream_settings.html @@ -2,7 +2,8 @@ - + TCP KCP WS diff --git a/web/html/xui/form/stream/stream_tcp.html b/web/html/xui/form/stream/stream_tcp.html index 0560e92a..bdf9c7da 100644 --- a/web/html/xui/form/stream/stream_tcp.html +++ b/web/html/xui/form/stream/stream_tcp.html @@ -1,7 +1,7 @@ {{define "form/streamTCP"}} - + @@ -14,68 +14,100 @@ - - - - - - - - + - - - - - - - -
- - - {{ i18n "pages.inbounds.stream.general.requestHeader" }}: - + - - - - - - - - - -
- - - - - - - - - - - - - - - {{ i18n "pages.inbounds.stream.tcp.responseHeader" }}: - + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{{ i18n "pages.inbounds.stream.tcp.requestVersion" }} + + + +
{{ i18n "pages.inbounds.stream.tcp.requestMethod" }} + + + +
{{ i18n "pages.inbounds.stream.tcp.requestPath" }} + + + + + + + - + + + +
+ + {{ i18n "pages.inbounds.stream.general.requestHeader" }}: + + + + + + + + - + + + +
{{ i18n "pages.inbounds.stream.tcp.responseVersion" }} + + + +
{{ i18n "pages.inbounds.stream.tcp.responseStatus" }} + + + +
{{ i18n "pages.inbounds.stream.tcp.responseStatusDescription" }} + + + +
+ + {{ i18n "pages.inbounds.stream.tcp.responseHeader" }}: + + + + + + + + + + + +
{{end}} \ No newline at end of file diff --git a/web/html/xui/form/stream/stream_ws.html b/web/html/xui/form/stream/stream_ws.html index 25d1299c..92e4e138 100644 --- a/web/html/xui/form/stream/stream_ws.html +++ b/web/html/xui/form/stream/stream_ws.html @@ -11,15 +11,17 @@ {{ i18n "pages.inbounds.stream.general.requestHeader" }}: - + + + + addon-before='{{ i18n "pages.inbounds.stream.general.name"}}'> + addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'> -- cgit v1.2.3