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:
Diffstat (limited to 'web/html/form/stream/stream_sockopt.html')
-rw-r--r--web/html/form/stream/stream_sockopt.html79
1 files changed, 19 insertions, 60 deletions
diff --git a/web/html/form/stream/stream_sockopt.html b/web/html/form/stream/stream_sockopt.html
index 84a96c2b..dd7acbd2 100644
--- a/web/html/form/stream/stream_sockopt.html
+++ b/web/html/form/stream/stream_sockopt.html
@@ -1,49 +1,27 @@
{{define "form/streamSockopt"}}
<a-divider :style="{ margin: '5px 0 0' }"></a-divider>
-<a-form
- :colon="false"
- :label-col="{ md: {span:8} }"
- :wrapper-col="{ md: {span:14} }"
->
+<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label="Sockopt">
<a-switch v-model="inbound.stream.sockoptSwitch"></a-switch>
</a-form-item>
<template v-if="inbound.stream.sockoptSwitch">
<a-form-item label="Route Mark">
- <a-input-number
- v-model.number="inbound.stream.sockopt.mark"
- :min="0"
- ></a-input-number>
+ <a-input-number v-model.number="inbound.stream.sockopt.mark" :min="0"></a-input-number>
</a-form-item>
<a-form-item label="TCP Keep Alive Interval">
- <a-input-number
- v-model.number="inbound.stream.sockopt.tcpKeepAliveInterval"
- :min="0"
- ></a-input-number>
+ <a-input-number v-model.number="inbound.stream.sockopt.tcpKeepAliveInterval" :min="0"></a-input-number>
</a-form-item>
<a-form-item label="TCP Keep Alive Idle">
- <a-input-number
- v-model.number="inbound.stream.sockopt.tcpKeepAliveIdle"
- :min="0"
- ></a-input-number>
+ <a-input-number v-model.number="inbound.stream.sockopt.tcpKeepAliveIdle" :min="0"></a-input-number>
</a-form-item>
<a-form-item label="TCP Max Seg">
- <a-input-number
- v-model.number="inbound.stream.sockopt.tcpMaxSeg"
- :min="0"
- ></a-input-number>
+ <a-input-number v-model.number="inbound.stream.sockopt.tcpMaxSeg" :min="0"></a-input-number>
</a-form-item>
<a-form-item label="TCP User Timeout">
- <a-input-number
- v-model.number="inbound.stream.sockopt.tcpUserTimeout"
- :min="0"
- ></a-input-number>
+ <a-input-number v-model.number="inbound.stream.sockopt.tcpUserTimeout" :min="0"></a-input-number>
</a-form-item>
<a-form-item label="TCP Window Clamp">
- <a-input-number
- v-model.number="inbound.stream.sockopt.tcpWindowClamp"
- :min="0"
- ></a-input-number>
+ <a-input-number v-model.number="inbound.stream.sockopt.tcpWindowClamp" :min="0"></a-input-number>
</a-form-item>
<a-form-item label="Proxy Protocol">
<a-switch v-model="inbound.stream.sockopt.acceptProxyProtocol"></a-switch>
@@ -61,33 +39,20 @@
<a-switch v-model.trim="inbound.stream.sockopt.V6Only"></a-switch>
</a-form-item>
<a-form-item label="Domain Strategy">
- <a-select
- v-model="inbound.stream.sockopt.domainStrategy"
- :style="{ width: '50%' }"
- :dropdown-class-name="themeSwitcher.currentTheme"
- >
- <a-select-option v-for="key in DOMAIN_STRATEGY_OPTION" :value="key"
- >[[ key ]]</a-select-option
- >
+ <a-select v-model="inbound.stream.sockopt.domainStrategy" :style="{ width: '50%' }"
+ :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select-option v-for="key in DOMAIN_STRATEGY_OPTION" :value="key">[[ key ]]</a-select-option>
</a-select>
</a-form-item>
<a-form-item label="TCP Congestion">
- <a-select
- v-model="inbound.stream.sockopt.tcpcongestion"
- :style="{ width: '50%' }"
- :dropdown-class-name="themeSwitcher.currentTheme"
- >
- <a-select-option v-for="key in TCP_CONGESTION_OPTION" :value="key"
- >[[ key ]]</a-select-option
- >
+ <a-select v-model="inbound.stream.sockopt.tcpcongestion" :style="{ width: '50%' }"
+ :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select-option v-for="key in TCP_CONGESTION_OPTION" :value="key">[[ key ]]</a-select-option>
</a-select>
</a-form-item>
<a-form-item label="TProxy">
- <a-select
- v-model="inbound.stream.sockopt.tproxy"
- :style="{ width: '50%' }"
- :dropdown-class-name="themeSwitcher.currentTheme"
- >
+ <a-select v-model="inbound.stream.sockopt.tproxy" :style="{ width: '50%' }"
+ :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option value="off">Off</a-select-option>
<a-select-option value="redirect">Redirect</a-select-option>
<a-select-option value="tproxy">TProxy</a-select-option>
@@ -100,15 +65,9 @@
<a-input v-model="inbound.stream.sockopt.interfaceName"></a-input>
</a-form-item>
<a-form-item label="Trusted X-Forwarded-For">
- <a-select
- mode="tags"
- v-model="inbound.stream.sockopt.trustedXForwardedFor"
- :style="{ width: '100%' }"
- :dropdown-class-name="themeSwitcher.currentTheme"
- >
- <a-select-option value="CF-Connecting-IP"
- >CF-Connecting-IP</a-select-option
- >
+ <a-select mode="tags" v-model="inbound.stream.sockopt.trustedXForwardedFor" :style="{ width: '100%' }"
+ :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select-option value="CF-Connecting-IP">CF-Connecting-IP</a-select-option>
<a-select-option value="X-Real-IP">X-Real-IP</a-select-option>
<a-select-option value="True-Client-IP">True-Client-IP</a-select-option>
<a-select-option value="X-Client-IP">X-Client-IP</a-select-option>
@@ -116,4 +75,4 @@
</a-form-item>
</template>
</a-form>
-{{end}}
+{{end}} \ No newline at end of file