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-05-08 22:38:08 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-05-08 22:38:08 +0300
commitbe9747dcbc26a8d34dfb0f110d2c4120b48b5db6 (patch)
tree4d7242a15c24d675aea3dc3d819b86f483544f14 /web/html
parent94eb27d2c49757a026f29b17c5b5d63374416737 (diff)
sniffing - metadataOnly, routeOnly
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/form/sniffing.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/web/html/xui/form/sniffing.html b/web/html/xui/form/sniffing.html
index a088dee7..f4230dd1 100644
--- a/web/html/xui/form/sniffing.html
+++ b/web/html/xui/form/sniffing.html
@@ -13,10 +13,18 @@
</span>
<a-switch v-model="inbound.sniffing.enabled"></a-switch>
</a-form-item>
- <a-form-item :wrapper-col="{span:24}">
- <a-checkbox-group v-model="inbound.sniffing.destOverride" v-if="inbound.sniffing.enabled">
- <a-checkbox v-for="key,value in SNIFFING_OPTION" :value="key">[[ value ]]</a-checkbox>
- </a-checkbox-group>
- </a-form-item>
+ <template v-if="inbound.sniffing.enabled">
+ <a-form-item :wrapper-col="{span:24}">
+ <a-checkbox-group v-model="inbound.sniffing.destOverride">
+ <a-checkbox v-for="key,value in SNIFFING_OPTION" :value="key">[[ value ]]</a-checkbox>
+ </a-checkbox-group>
+ </a-form-item>
+ <a-form-item label='Metadata Only'>
+ <a-switch v-model="inbound.sniffing.metadataOnly"></a-switch>
+ </a-form-item>
+ <a-form-item label='Route Only'>
+ <a-switch v-model="inbound.sniffing.routeOnly"></a-switch>
+ </a-form-item>
+ </template>
</a-form>
{{end}}