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
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-12-09 18:18:06 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-12-09 18:18:06 +0300
commit0f1f3d843907ee35b19bd5f0aadc37958cee09e1 (patch)
treeaef111aecb13794a4e50debf042191a4f5dacb9b /web/html/xui/form/stream
parent2088a4f815a6ddbb1d8a991614640797fa6ed598 (diff)
<tr> <td> instead of <a-form-item>
convert the form structure to use <tr> and <td> instead of <a-form-item>,
Diffstat (limited to 'web/html/xui/form/stream')
-rw-r--r--web/html/xui/form/stream/stream_grpc.html24
-rw-r--r--web/html/xui/form/stream/stream_http.html28
-rw-r--r--web/html/xui/form/stream/stream_kcp.html125
-rw-r--r--web/html/xui/form/stream/stream_quic.html60
-rw-r--r--web/html/xui/form/stream/stream_settings.html3
-rw-r--r--web/html/xui/form/stream/stream_tcp.html160
-rw-r--r--web/html/xui/form/stream/stream_ws.html10
7 files changed, 263 insertions, 147 deletions
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"}}
<a-form layout="inline">
- <a-form-item label="ServiceName">
- <a-input v-model.trim="inbound.stream.grpc.serviceName"></a-input>
- </a-form-item>
- <a-form-item label="Multi Mode">
- <a-switch v-model="inbound.stream.grpc.multiMode"></a-switch>
- </a-form-item>
+ <table width="100%" class="ant-table-tbody">
+ <tr>
+ <td>serviceName</td>
+ <td>
+ <a-form-item>
+ <a-input v-model.trim="inbound.stream.grpc.serviceName" style="width: 250px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>MultiMode</td>
+ <td>
+ <a-form-item>
+ <a-switch v-model="inbound.stream.grpc.multiMode"></a-switch>
+ </a-form-item>
+ </td>
+ </tr>
+ </table>
</a-form>
{{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"}}
<a-form layout="inline">
- <a-form-item label='{{ i18n "path" }}'>
- <a-input v-model.trim="inbound.stream.http.path"></a-input>
- </a-form-item>
- <a-form-item label="Host">
- <a-row v-for="(host, index) in inbound.stream.http.host">
- <a-input v-model.trim="inbound.stream.http.host[index]"></a-input>
- </a-row>
- </a-form-item>
+ <table width="100%" class="ant-table-tbody">
+ <tr>
+ <td>{{ i18n "path" }}</td>
+ <td>
+ <a-form-item>
+ <a-input v-model.trim="inbound.stream.http.path" style="width: 250px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>host</td>
+ <td>
+ <a-form-item>
+ <a-row v-for="(host, index) in inbound.stream.http.host">
+ <a-input v-model.trim="inbound.stream.http.host[index]" style="width: 250px;"></a-input>
+ </a-row>
+ </a-form-item>
+ </td>
+ </tr>
+ </table>
</a-form>
{{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"}}
<a-form layout="inline">
- <a-form-item label='{{ i18n "camouflage" }}'>
- <a-select v-model="inbound.stream.kcp.type" style="width: 280px;" :dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option value="none">None (Not Camouflage)</a-select-option>
- <a-select-option value="srtp">SRTP (Camouflage Video Call)</a-select-option>
- <a-select-option value="utp">UTP (Camouflage BT Download)</a-select-option>
- <a-select-option value="wechat-video">Wechat-Video (Camouflage WeChat Video)</a-select-option>
- <a-select-option value="dtls">DTLS (Camouflage DTLS 1.2 Packages)</a-select-option>
- <a-select-option value="wireguard">Wireguard (Camouflage Wireguard Packages)</a-select-option>
- </a-select>
- </a-form-item>
- <br>
- <a-form-item label='{{ i18n "password" }}'>
- <a-icon @click="inbound.stream.kcp.seed = RandomUtil.randomSeq(10)" type="sync"> </a-icon>
- <a-input v-model="inbound.stream.kcp.seed" style="width: 150px;" ></a-input>
- </a-form-item>
- <br>
- <a-form-item label="MTU">
- <a-input-number v-model="inbound.stream.kcp.mtu"></a-input-number>
- </a-form-item>
- <br>
- <a-form-item label="TTI (ms)">
- <a-input-number v-model="inbound.stream.kcp.tti"></a-input-number>
- </a-form-item>
- <br>
- <a-form-item label="Uplink Capacity (MB/S)">
- <a-input-number v-model="inbound.stream.kcp.upCap"></a-input-number>
- </a-form-item>
- <br>
- <a-form-item label="Downlink Capacity (MB/S)">
- <a-input-number v-model="inbound.stream.kcp.downCap"></a-input-number>
- </a-form-item>
- <br>
- <a-form-item label="Congestion">
- <a-switch v-model="inbound.stream.kcp.congestion"></a-switch>
- </a-form-item>
- <br>
- <a-form-item label="Read Buffer Size (MB)">
- <a-input-number v-model="inbound.stream.kcp.readBuffer"></a-input-number>
- </a-form-item>
- <br>
- <a-form-item label="Write Buffer Size (MB)">
- <a-input-number v-model="inbound.stream.kcp.writeBuffer"></a-input-number>
- </a-form-item>
+ <table width="100%" class="ant-table-tbody">
+ <tr>
+ <td>{{ i18n "camouflage" }}</td>
+ <td>
+ <a-form-item>
+ <a-select v-model="inbound.stream.kcp.type" style="width: 250px;"
+ :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select-option value="none">None (Not Camouflage)</a-select-option>
+ <a-select-option value="srtp">SRTP (Camouflage Video Call)</a-select-option>
+ <a-select-option value="utp">UTP (Camouflage BT Download)</a-select-option>
+ <a-select-option value="wechat-video">Wechat-Video (Camouflage WeChat Video)</a-select-option>
+ <a-select-option value="dtls">DTLS (Camouflage DTLS 1.2 Packages)</a-select-option>
+ <a-select-option value="wireguard">Wireguard (Camouflage Wireguard Packages)</a-select-option>
+ </a-select>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>{{ i18n "password" }}</td>
+ <td>
+ <a-form-item>
+ <a-input v-model="inbound.stream.kcp.seed" style="width: 250px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>MTU</td>
+ <td>
+ <a-form-item>
+ <a-input-number v-model.number="inbound.stream.kcp.mtu"></a-input-number>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>TTI (ms)</td>
+ <td>
+ <a-form-item>
+ <a-input-number v-model.number="inbound.stream.kcp.tti"></a-input-number>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>Uplink Capacity (MB/S)</td>
+ <td>
+ <a-form-item>
+ <a-input-number v-model.number="inbound.stream.kcp.upCap"></a-input-number>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>Downlink Capacity (MB/S)</td>
+ <td>
+ <a-form-item>
+ <a-input-number v-model.number="inbound.stream.kcp.downCap"></a-input-number>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>Congestion</td>
+ <td>
+ <a-form-item>
+ <a-switch v-model="inbound.stream.kcp.congestion"></a-switch>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>Read Buffer Size (MB)</td>
+ <td>
+ <a-form-item>
+ <a-input-number v-model.number="inbound.stream.kcp.readBuffer"></a-input-number>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>Write Buffer Size (MB)</td>
+ <td>
+ <a-form-item>
+ <a-input-number v-model.number="inbound.stream.kcp.writeBuffer"></a-input-number>
+ </a-form-item>
+ </td>
+ </tr>
+ </table>
</a-form>
{{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"}}
<a-form layout="inline">
- <a-form-item label='{{ i18n "pages.inbounds.stream.quic.encryption" }}'>
- <a-select v-model="inbound.stream.quic.security" style="width: 165px;" :dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option value="none">none</a-select-option>
- <a-select-option value="aes-128-gcm">aes-128-gcm</a-select-option>
- <a-select-option value="chacha20-poly1305">chacha20-poly1305</a-select-option>
- </a-select>
- </a-form-item>
- <a-form-item label='{{ i18n "password" }}'>
- <a-icon @click="inbound.stream.quic.key = RandomUtil.randomSeq(10)" type="sync"> </a-icon>
- <a-input v-model.trim="inbound.stream.quic.key" style="width: 150px;"></a-input>
- </a-form-item>
- <a-form-item label='{{ i18n "camouflage" }}'>
- <a-select v-model="inbound.stream.quic.type" style="width: 280px;" :dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option value="none">none (not camouflage)</a-select-option>
- <a-select-option value="srtp">srtp (camouflage video call)</a-select-option>
- <a-select-option value="utp">utp (camouflage BT download)</a-select-option>
- <a-select-option value="wechat-video">wechat-video (camouflage WeChat video)</a-select-option>
- <a-select-option value="dtls">dtls (camouflage DTLS 1.2 packages)</a-select-option>
- <a-select-option value="wireguard">wireguard (camouflage wireguard packages)</a-select-option>
- </a-select>
- </a-form-item>
+ <table width="100%" class="ant-table-tbody">
+ <tr>
+ <td>{{ i18n "pages.inbounds.stream.quic.encryption" }}</td>
+ <td>
+ <a-form-item>
+ <a-select v-model="inbound.stream.quic.security" style="width: 250px;"
+ :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select-option value="none">none</a-select-option>
+ <a-select-option value="aes-128-gcm">aes-128-gcm</a-select-option>
+ <a-select-option value="chacha20-poly1305">chacha20-poly1305</a-select-option>
+ </a-select>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>{{ i18n "password" }}</td>
+ <td>
+ <a-form-item>
+ <a-input v-model.trim="inbound.stream.quic.key" style="width: 250px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>{{ i18n "camouflage" }}</td>
+ <td>
+ <a-form-item>
+ <a-select v-model="inbound.stream.quic.type" style="width: 280px;"
+ :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select-option value="none">none (not camouflage)</a-select-option>
+ <a-select-option value="srtp">srtp (camouflage video call)</a-select-option>
+ <a-select-option value="utp">utp (camouflage BT download)</a-select-option>
+ <a-select-option value="wechat-video">wechat-video (camouflage WeChat video)</a-select-option>
+ <a-select-option value="dtls">dtls (camouflage DTLS 1.2 packages)</a-select-option>
+ <a-select-option value="wireguard">wireguard (camouflage wireguard packages)</a-select-option>
+ </a-select>
+ </a-form-item>
+ </td>
+ </tr>
+ </table>
</a-form>
{{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 @@
<!-- select stream network -->
<a-form layout="inline">
<a-form-item label='{{ i18n "transmission" }}'>
- <a-select v-model="inbound.stream.network" @change="streamNetworkChange" :dropdown-class-name="themeSwitcher.currentTheme" style="width: 100px;">
+ <a-select v-model="inbound.stream.network" @change="streamNetworkChange"
+ :dropdown-class-name="themeSwitcher.currentTheme" style="width: 100px;">
<a-select-option value="tcp">TCP</a-select-option>
<a-select-option value="kcp">KCP</a-select-option>
<a-select-option value="ws">WS</a-select-option>
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"}}
<!-- tcp type -->
<a-form layout="inline">
- <a-form-item label="AcceptProxyProtocol">
+ <a-form-item label="Accept Proxy Protocol" v-if="inbound.canEnableTls()">
<a-switch v-model="inbound.stream.tcp.acceptProxyProtocol"></a-switch>
</a-form-item>
<a-form-item label='HTTP {{ i18n "camouflage" }}'>
@@ -14,68 +14,100 @@
<!-- tcp request -->
<a-form v-if="inbound.stream.tcp.type === 'http'" layout="inline">
- <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestVersion" }}'>
- <a-input v-model.trim="inbound.stream.tcp.request.version"></a-input>
- </a-form-item>
- <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestMethod" }}'>
- <a-input v-model.trim="inbound.stream.tcp.request.method"></a-input>
- </a-form-item>
- <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestPath" }}'>
- <a-button size="small" @click="inbound.stream.tcp.request.addPath('/')">+</a-button>
- <a-row v-for="(path, index) in inbound.stream.tcp.request.path">
- <a-input v-model.trim="inbound.stream.tcp.request.path[index]" style="width: 200px;">
- <a-button size="small" slot="addonAfter"
- @click="inbound.stream.tcp.request.removePath(index)"
- v-if="inbound.stream.tcp.request.path.length>1">-</a-button>
- </a-input>
- </a-row>
- </a-form-item>
- <br>
- <a-form-item>
- <a-row>
- <span>{{ i18n "pages.inbounds.stream.general.requestHeader" }}:</span>
- <a-button type="primary" size="small" style="margin-left: 10px" @click="inbound.stream.tcp.request.addHeader('Host', 'xxx.com')">+</a-button>
- </a-row>
- <a-input-group v-for="(header, index) in inbound.stream.tcp.request.headers">
- <a-input style="width: 50%" v-model.trim="header.name"
- addon-before='{{ i18n "pages.inbounds.stream.general.name" }}'></a-input>
- <a-input style="width: 50%" v-model.trim="header.value"
- addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'>
- <template slot="addonAfter">
- <a-button type="primary" size="small" style="margin-left: 10px" @click="inbound.stream.tcp.request.removeHeader(index)">-</a-button>
- </template>
- </a-input>
- </a-input-group>
- </a-form-item>
-
-</a-form>
-
-<!-- tcp response -->
-<a-form v-if="inbound.stream.tcp.type === 'http'" layout="inline">
- <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.responseVersion" }}'>
- <a-input v-model.trim="inbound.stream.tcp.response.version"></a-input>
- </a-form-item>
- <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.responseStatus" }}'>
- <a-input v-model.trim="inbound.stream.tcp.response.status"></a-input>
- </a-form-item>
- <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.responseStatusDescription" }}'>
- <a-input v-model.trim="inbound.stream.tcp.response.reason"></a-input>
- </a-form-item>
- <a-form-item>
- <a-row>
- <span>{{ i18n "pages.inbounds.stream.tcp.responseHeader" }}:</span>
- <a-button type="primary" size="small" style="margin-left: 10px" @click="inbound.stream.tcp.response.addHeader('Content-Type', 'application/octet-stream')">+</a-button>
- </a-row>
- <a-input-group v-for="(header, index) in inbound.stream.tcp.response.headers">
- <a-input style="width: 50%" v-model.trim="header.name"
- addon-before='{{ i18n "pages.inbounds.stream.general.name" }}'></a-input>
- <a-input style="width: 50%" v-model.trim="header.value"
- addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'>
- <template slot="addonAfter">
- <a-button type="primary" size="small" style="margin-left: 10px" @click="inbound.stream.tcp.response.removeHeader(index)">-</a-button>
- </template>
- </a-input>
- </a-input-group>
- </a-form-item>
+ <table width="100%" class="ant-table-tbody">
+ <tr>
+ <td>{{ i18n "pages.inbounds.stream.tcp.requestVersion" }}</td>
+ <td>
+ <a-form-item>
+ <a-input v-model.trim="inbound.stream.tcp.request.version" style="width: 200px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>{{ i18n "pages.inbounds.stream.tcp.requestMethod" }}</td>
+ <td>
+ <a-form-item>
+ <a-input v-model.trim="inbound.stream.tcp.request.method" style="width: 200px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top; padding-top: 10px;">{{ i18n "pages.inbounds.stream.tcp.requestPath" }}
+ <a-button size="small" @click="inbound.stream.tcp.request.addPath('/')">+</a-button>
+ </td>
+ <td>
+ <a-form-item>
+ <a-row v-for="(path, index) in inbound.stream.tcp.request.path">
+ <a-input v-model.trim="inbound.stream.tcp.request.path[index]" style="width: 200px;">
+ <a-button size="small" slot="addonAfter"
+ @click="inbound.stream.tcp.request.removePath(index)"
+ v-if="inbound.stream.tcp.request.path.length>1">-</a-button>
+ </a-input>
+ </a-row>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" width="100%">
+ <a-form-item>
+ <span>{{ i18n "pages.inbounds.stream.general.requestHeader" }}:</span>
+ <a-button size="small" style="margin-left: 10px" @click="inbound.stream.tcp.request.addHeader('', '')">+</a-button>
+ <a-input-group compact v-for="(header, index) in inbound.stream.tcp.request.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>
+ </a-input>
+ <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.tcp.request.removeHeader(index)">-</a-button>
+ </a-input>
+ </a-input-group>
+ </a-form-item>
+ </td>
+ </tr>
+ <!-- tcp response -->
+ <tr>
+ <td>{{ i18n "pages.inbounds.stream.tcp.responseVersion" }}</td>
+ <td>
+ <a-form-item>
+ <a-input v-model.trim="inbound.stream.tcp.response.version" style="width: 200px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>{{ i18n "pages.inbounds.stream.tcp.responseStatus" }}</td>
+ <td>
+ <a-form-item>
+ <a-input v-model.trim="inbound.stream.tcp.response.status" style="width: 200px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td>{{ i18n "pages.inbounds.stream.tcp.responseStatusDescription" }}</td>
+ <td>
+ <a-form-item>
+ <a-input v-model.trim="inbound.stream.tcp.response.reason" style="width: 200px;"></a-input>
+ </a-form-item>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" width="100%">
+ <a-form-item>
+ <span>{{ i18n "pages.inbounds.stream.tcp.responseHeader" }}:</span>
+ <a-button size="small" style="margin-left: 10px"
+ @click="inbound.stream.tcp.response.addHeader('Content-Type', 'application/octet-stream')">+</a-button>
+ <a-input-group compact v-for="(header, index) in inbound.stream.tcp.response.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>
+ </a-input>
+ <a-input style="width: 50%" v-model.trim="header.value"
+ placeholder='{{ i18n "pages.inbounds.stream.general.value" }}'>
+ <template slot="addonAfter">
+ <a-button size="small" @click="inbound.stream.tcp.response.removeHeader(index)">-</a-button>
+ </template>
+ </a-input>
+ </a-input-group>
+ </a-form-item>
+ </td>
+ </tr>
+ </table>
</a-form>
{{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 @@
<a-form-item>
<a-row>
<span>{{ i18n "pages.inbounds.stream.general.requestHeader" }}:</span>
- <a-button type="primary" size="small" style="margin-left: 10px" @click="inbound.stream.ws.addHeader('Host', '')">+</a-button>
+ <a-button type="primary" size="small" style="margin-left: 10px"
+ @click="inbound.stream.ws.addHeader('Host', '')">+</a-button>
</a-row>
<a-input-group v-for="(header, index) in inbound.stream.ws.headers">
<a-input style="width: 50%" v-model.trim="header.name"
- addon-before='{{ i18n "pages.inbounds.stream.general.name"}}'></a-input>
+ addon-before='{{ i18n "pages.inbounds.stream.general.name"}}'></a-input>
<a-input style="width: 50%" v-model.trim="header.value"
- addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'>
+ addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'>
<template slot="addonAfter">
- <a-button type="primary" size="small" style="margin-left: 10px" @click="inbound.stream.ws.removeHeader(index)">-</a-button>
+ <a-button type="primary" size="small" style="margin-left: 10px"
+ @click="inbound.stream.ws.removeHeader(index)">-</a-button>
</template>
</a-input>
</a-input-group>