diff options
Diffstat (limited to 'web/html/xui/form/stream')
| -rw-r--r-- | web/html/xui/form/stream/stream_kcp.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_quic.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_settings.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_tcp.html | 18 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_ws.html | 6 |
5 files changed, 12 insertions, 20 deletions
diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html index 07a7d600..1c7e87bf 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"}} <a-form layout="inline"> <a-form-item label='{{ i18n "camouflage" }}'> - <a-select v-model="inbound.stream.kcp.type" style="width: 280px;" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> + <a-select v-model="inbound.stream.kcp.type" style="width: 280px;" :dropdown-class-name="themeSwitcher.darkCardClass"> <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> diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html index 4d04587a..2dddfd87 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"}} <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="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> + <a-select v-model="inbound.stream.quic.security" style="width: 165px;" :dropdown-class-name="themeSwitcher.darkCardClass"> <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> @@ -11,7 +11,7 @@ <a-input v-model.trim="inbound.stream.quic.key"></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="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> + <a-select v-model="inbound.stream.quic.type" style="width: 280px;" :dropdown-class-name="themeSwitcher.darkCardClass"> <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> diff --git a/web/html/xui/form/stream/stream_settings.html b/web/html/xui/form/stream/stream_settings.html index 95d8df09..4a07947e 100644 --- a/web/html/xui/form/stream/stream_settings.html +++ b/web/html/xui/form/stream/stream_settings.html @@ -2,7 +2,7 @@ <!-- 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="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> + <a-select v-model="inbound.stream.network" @change="streamNetworkChange" :dropdown-class-name="themeSwitcher.darkCardClass"> <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 993fb0d0..cf4abe1b 100644 --- a/web/html/xui/form/stream/stream_tcp.html +++ b/web/html/xui/form/stream/stream_tcp.html @@ -13,8 +13,7 @@ </a-form> <!-- tcp request --> -<a-form v-if="inbound.stream.tcp.type === 'http'" - layout="inline"> +<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> @@ -28,8 +27,7 @@ </a-form-item> <a-form-item label='{{ i18n "pages.inbounds.stream.general.requestHeader" }}'> <a-row> - <a-button size="small" - @click="inbound.stream.tcp.request.addHeader('Host', 'xxx.com')"> + <a-button size="small" @click="inbound.stream.tcp.request.addHeader('Host', 'xxx.com')"> + </a-button> </a-row> @@ -39,8 +37,7 @@ <a-input style="width: 50%" v-model.trim="header.value" addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'> <template slot="addonAfter"> - <a-button size="small" - @click="inbound.stream.tcp.request.removeHeader(index)"> + <a-button size="small" @click="inbound.stream.tcp.request.removeHeader(index)"> - </a-button> </template> @@ -50,8 +47,7 @@ </a-form> <!-- tcp response --> -<a-form v-if="inbound.stream.tcp.type === 'http'" - layout="inline"> +<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> @@ -63,8 +59,7 @@ </a-form-item> <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.responseHeader" }}'> <a-row> - <a-button size="small" - @click="inbound.stream.tcp.response.addHeader('Content-Type', 'application/octet-stream')"> + <a-button size="small" @click="inbound.stream.tcp.response.addHeader('Content-Type', 'application/octet-stream')"> + </a-button> </a-row> @@ -74,8 +69,7 @@ <a-input style="width: 50%" v-model.trim="header.value" addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'> <template slot="addonAfter"> - <a-button size="small" - @click="inbound.stream.tcp.response.removeHeader(index)"> + <a-button size="small" @click="inbound.stream.tcp.response.removeHeader(index)"> - </a-button> </template> diff --git a/web/html/xui/form/stream/stream_ws.html b/web/html/xui/form/stream/stream_ws.html index 5b49ec88..3e09fbe8 100644 --- a/web/html/xui/form/stream/stream_ws.html +++ b/web/html/xui/form/stream/stream_ws.html @@ -10,8 +10,7 @@ </a-form-item> <a-form-item label='{{ i18n "pages.inbounds.stream.general.requestHeader" }}'> <a-row> - <a-button size="small" - @click="inbound.stream.ws.addHeader('Host', '')"> + <a-button size="small" @click="inbound.stream.ws.addHeader('Host', '')"> + </a-button> </a-row> @@ -21,8 +20,7 @@ <a-input style="width: 50%" v-model.trim="header.value" addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'> <template slot="addonAfter"> - <a-button size="small" - @click="inbound.stream.ws.removeHeader(index)"> + <a-button size="small" @click="inbound.stream.ws.removeHeader(index)"> - </a-button> </template> |
