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-13 18:57:36 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-12-13 19:03:11 +0300
commit8d18c8e98f1b6531d1997feb6933419d71401968 (patch)
tree1283d10c68f3a9b9b2cbeeec95fb34a84e9689e3 /web/html/xui/form/sniffing.html
parent82e2241bdd9552f57d24c8de4fce6c5320efba4c (diff)
[gui] redesign forms
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/form/sniffing.html')
-rw-r--r--web/html/xui/form/sniffing.html37
1 files changed, 19 insertions, 18 deletions
diff --git a/web/html/xui/form/sniffing.html b/web/html/xui/form/sniffing.html
index 65b3312d..6f3a636c 100644
--- a/web/html/xui/form/sniffing.html
+++ b/web/html/xui/form/sniffing.html
@@ -1,21 +1,22 @@
{{define "form/sniffing"}}
-<a-form layout="inline">
- <a-form-item>
- <span slot="label">
- Sniffing
- <a-tooltip>
- <template slot="title">
- <span>{{ i18n "pages.inbounds.noRecommendKeepDefault" }}</span>
- </template>
- <a-icon type="question-circle" theme="filled"></a-icon>
- </a-tooltip>
- </span>
- <a-switch v-model="inbound.sniffing.enabled"></a-switch>
- </a-form-item>
- <a-form-item>
- <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>
+<a-divider style="margin:0;"></a-divider>
+<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
+ <a-form-item>
+ <span slot="label">
+ Sniffing
+ <a-tooltip>
+ <template slot="title">
+ <span>{{ i18n "pages.inbounds.noRecommendKeepDefault" }}</span>
+ </template>
+ <a-icon type="question-circle"></a-icon>
+ </a-tooltip>
+ </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>
</a-form>
{{end}} \ No newline at end of file