Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-12-04 00:24:34 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-12-04 00:24:34 +0300
commitb859327b8ad84dd2b44b9bd3a336a63646833701 (patch)
tree7584764c810c6d0b7d4252654797cd6270e9a669 /web/html
parent3e8fc59213e8567715affb8bff4e398a1f7f7fbc (diff)
splithttp to xhttp
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/form/outbound.html12
-rw-r--r--web/html/xui/form/stream/stream_settings.html8
-rw-r--r--web/html/xui/form/stream/stream_xhttp.html (renamed from web/html/xui/form/stream/stream_splithttp.html)38
-rw-r--r--web/html/xui/inbound_info_modal.html6
4 files changed, 32 insertions, 32 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index a337ab28..e6d12ee4 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -273,7 +273,7 @@
<a-select-option value="http">HTTP</a-select-option>
<a-select-option value="grpc">gRPC</a-select-option>
<a-select-option value="httpupgrade">HTTPUpgrade</a-select-option>
- <a-select-option value="splithttp">SplitHTTP (XHTTP)</a-select-option>
+ <a-select-option value="xhttp">XHTTP</a-select-option>
</a-select>
</a-form-item>
<template v-if="outbound.stream.network === 'tcp'">
@@ -375,16 +375,16 @@
</a-form-item>
</template>
- <!-- splithttp -->
- <template v-if="outbound.stream.network === 'splithttp'">
+ <!-- xhttp -->
+ <template v-if="outbound.stream.network === 'xhttp'">
<a-form-item label='{{ i18n "host" }}'>
- <a-input v-model="outbound.stream.splithttp.host"></a-input>
+ <a-input v-model="outbound.stream.xhttp.host"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "path" }}'>
- <a-input v-model.trim="outbound.stream.splithttp.path"></a-input>
+ <a-input v-model.trim="outbound.stream.xhttp.path"></a-input>
</a-form-item>
<a-form-item label='Mode'>
- <a-select v-model="outbound.stream.splithttp.mode" :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select v-model="outbound.stream.xhttp.mode" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option v-for="key in MODE_OPTION" :value="key">[[ key ]]</a-select-option>
</a-select>
</a-form-item>
diff --git a/web/html/xui/form/stream/stream_settings.html b/web/html/xui/form/stream/stream_settings.html
index 89493e75..cab4e727 100644
--- a/web/html/xui/form/stream/stream_settings.html
+++ b/web/html/xui/form/stream/stream_settings.html
@@ -10,7 +10,7 @@
<a-select-option value="http">HTTP</a-select-option>
<a-select-option value="grpc">gRPC</a-select-option>
<a-select-option value="httpupgrade">HTTPUpgrade</a-select-option>
- <a-select-option value="splithttp">SplitHTTP (XHTTP)</a-select-option>
+ <a-select-option value="xhttp">XHTTP</a-select-option>
</a-select>
</a-form-item>
</a-form>
@@ -45,9 +45,9 @@
{{template "form/streamHTTPUpgrade"}}
</template>
-<!-- splithttp -->
-<template v-if="inbound.stream.network === 'splithttp'">
- {{template "form/streamSplitHTTP"}}
+<!-- xhttp -->
+<template v-if="inbound.stream.network === 'xhttp'">
+ {{template "form/streamXHTTP"}}
</template>
<!-- sockopt -->
diff --git a/web/html/xui/form/stream/stream_splithttp.html b/web/html/xui/form/stream/stream_xhttp.html
index 2d5177bd..621189a0 100644
--- a/web/html/xui/form/stream/stream_splithttp.html
+++ b/web/html/xui/form/stream/stream_xhttp.html
@@ -1,16 +1,16 @@
-{{define "form/streamSplitHTTP"}}
+{{define "form/streamXHTTP"}}
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label='{{ i18n "host" }}'>
- <a-input v-model.trim="inbound.stream.splithttp.host"></a-input>
+ <a-input v-model.trim="inbound.stream.xhttp.host"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "path" }}'>
- <a-input v-model.trim="inbound.stream.splithttp.path"></a-input>
+ <a-input v-model.trim="inbound.stream.xhttp.path"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestHeader" }}'>
- <a-button icon="plus" size="small" @click="inbound.stream.splithttp.addHeader('host', '')"></a-button>
+ <a-button icon="plus" size="small" @click="inbound.stream.xhttp.addHeader('host', '')"></a-button>
</a-form-item>
<a-form-item :wrapper-col="{span:24}">
- <a-input-group compact v-for="(header, index) in inbound.stream.splithttp.headers">
+ <a-input-group compact v-for="(header, index) in inbound.stream.xhttp.headers">
<a-input style="width: 50%" v-model.trim="header.name"
placeholder='{{ i18n "pages.inbounds.stream.general.name"}}'>
<template slot="addonBefore" style="margin: 0;">[[ index+1 ]]</template>
@@ -18,45 +18,45 @@
<a-input style="width: 50%" v-model.trim="header.value"
placeholder='{{ i18n "pages.inbounds.stream.general.value" }}'>
<a-button slot="addonAfter" size="small"
- @click="inbound.stream.splithttp.removeHeader(index)">-</a-button>
+ @click="inbound.stream.xhttp.removeHeader(index)">-</a-button>
</a-input>
</a-input-group>
</a-form-item>
<a-form-item label='Mode'>
- <a-select v-model="inbound.stream.splithttp.mode" style="width: 50%"
+ <a-select v-model="inbound.stream.xhttp.mode" style="width: 50%"
:dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option v-for="key in MODE_OPTION" :value="key">[[ key ]]</a-select-option>
</a-select>
</a-form-item>
<a-form-item label="Max Concurrent Upload">
- <a-input v-model.trim="inbound.stream.splithttp.scMaxConcurrentPosts"></a-input>
+ <a-input v-model.trim="inbound.stream.xhttp.scMaxConcurrentPosts"></a-input>
</a-form-item>
<a-form-item label="Max Upload Size (Byte)">
- <a-input v-model.trim="inbound.stream.splithttp.scMaxEachPostBytes"></a-input>
+ <a-input v-model.trim="inbound.stream.xhttp.scMaxEachPostBytes"></a-input>
</a-form-item>
<a-form-item label="Min Upload Interval (Ms)">
- <a-input v-model.trim="inbound.stream.splithttp.scMinPostsIntervalMs"></a-input>
+ <a-input v-model.trim="inbound.stream.xhttp.scMinPostsIntervalMs"></a-input>
</a-form-item>
<a-form-item label="Padding Bytes">
- <a-input v-model.trim="inbound.stream.splithttp.xPaddingBytes"></a-input>
+ <a-input v-model.trim="inbound.stream.xhttp.xPaddingBytes"></a-input>
</a-form-item>
<a-form-item label="No SSE Header">
- <a-switch v-model="inbound.stream.splithttp.noSSEHeader"></a-switch>
+ <a-switch v-model="inbound.stream.xhttp.noSSEHeader"></a-switch>
</a-form-item>
- <a-form-item label="Max Concurrency" v-if="!inbound.stream.splithttp.xmux.maxConnections">
- <a-input v-model="inbound.stream.splithttp.xmux.maxConcurrency"></a-input>
+ <a-form-item label="Max Concurrency" v-if="!inbound.stream.xhttp.xmux.maxConnections">
+ <a-input v-model="inbound.stream.xhttp.xmux.maxConcurrency"></a-input>
</a-form-item>
- <a-form-item label="Max Connections" v-if="!inbound.stream.splithttp.xmux.maxConcurrency">
- <a-input v-model="inbound.stream.splithttp.xmux.maxConnections"></a-input>
+ <a-form-item label="Max Connections" v-if="!inbound.stream.xhttp.xmux.maxConcurrency">
+ <a-input v-model="inbound.stream.xhttp.xmux.maxConnections"></a-input>
</a-form-item>
<a-form-item label="Max Reuse Times">
- <a-input v-model="inbound.stream.splithttp.xmux.cMaxReuseTimes"></a-input>
+ <a-input v-model="inbound.stream.xhttp.xmux.cMaxReuseTimes"></a-input>
</a-form-item>
<a-form-item label="Max Lifetime (ms)">
- <a-input v-model="inbound.stream.splithttp.xmux.cMaxLifetimeMs"></a-input>
+ <a-input v-model="inbound.stream.xhttp.xmux.cMaxLifetimeMs"></a-input>
</a-form-item>
<a-form-item label="No gRPC Header">
- <a-switch v-model="inbound.stream.splithttp.noGRPCHeader"></a-switch>
+ <a-switch v-model="inbound.stream.xhttp.noGRPCHeader"></a-switch>
</a-form-item>
</a-form>
{{end}} \ No newline at end of file
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index 0e0a18fc..c7e05f88 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -34,7 +34,7 @@
<a-tag color="green">[[ inbound.network ]]</a-tag>
</td>
</tr>
- <template v-if="inbound.isTcp || inbound.isWs || inbound.isH2 || inbound.isHttpupgrade || inbound.isSplithttp">
+ <template v-if="inbound.isTcp || inbound.isWs || inbound.isH2 || inbound.isHttpupgrade || inbound.isXHTTP">
<tr>
<td>{{ i18n "host" }}</td>
<td v-if="inbound.host">
@@ -58,11 +58,11 @@
</td>
</tr>
</template>
- <template v-if="inbound.isSplithttp">
+ <template v-if="inbound.isXHTTP">
<tr>
<td>Mode</td>
<td>
- <a-tag>[[ inbound.stream.splithttp.mode ]]</a-tag>
+ <a-tag>[[ inbound.stream.xhttp.mode ]]</a-tag>
</td>
</tr>
</template>