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/protocol/tun.html')
-rw-r--r--web/html/form/protocol/tun.html85
1 files changed, 47 insertions, 38 deletions
diff --git a/web/html/form/protocol/tun.html b/web/html/form/protocol/tun.html
index 08f80620..7972c742 100644
--- a/web/html/form/protocol/tun.html
+++ b/web/html/form/protocol/tun.html
@@ -1,44 +1,53 @@
{{define "form/tun"}}
-<a-form :colon="false" :label-col="{ md: {span:8} }"
- :wrapper-col="{ md: {span:14} }">
- <a-form-item>
- <template slot="label">
- <a-tooltip>
- <template slot="title">
- <span>{{ i18n "pages.xray.tun.nameDesc" }}</span>
- </template>
- Interface Name
- <a-icon type="question-circle"></a-icon>
- </a-tooltip>
+<a-form
+ :colon="false"
+ :label-col="{ md: {span:8} }"
+ :wrapper-col="{ md: {span:14} }"
+>
+ <a-form-item>
+ <template slot="label">
+ <a-tooltip>
+ <template slot="title">
+ <span>{{ i18n "pages.xray.tun.nameDesc" }}</span>
</template>
- <a-input v-model.trim="inbound.settings.name"
- placeholder="xray0"></a-input>
- </a-form-item>
- <a-form-item>
- <template slot="label">
- <a-tooltip>
- <template slot="title">
- <span>{{ i18n "pages.xray.tun.mtuDesc" }}</span>
- </template>
- MTU
- <a-icon type="question-circle"></a-icon>
- </a-tooltip>
+ Interface Name
+ <a-icon type="question-circle"></a-icon>
+ </a-tooltip>
+ </template>
+ <a-input v-model.trim="inbound.settings.name" placeholder="xray0"></a-input>
+ </a-form-item>
+ <a-form-item>
+ <template slot="label">
+ <a-tooltip>
+ <template slot="title">
+ <span>{{ i18n "pages.xray.tun.mtuDesc" }}</span>
</template>
- <a-input-number v-model.number="inbound.settings.mtu" :min="1"
- :max="9000" placeholder="1500"></a-input-number>
- </a-form-item>
- <a-form-item>
- <template slot="label">
- <a-tooltip>
- <template slot="title">
- <span>{{ i18n "pages.xray.tun.userLevelDesc" }}</span>
- </template>
- {{ i18n "pages.xray.tun.userLevel" }}
- <a-icon type="question-circle"></a-icon>
- </a-tooltip>
+ MTU
+ <a-icon type="question-circle"></a-icon>
+ </a-tooltip>
+ </template>
+ <a-input-number
+ v-model.number="inbound.settings.mtu"
+ :min="1"
+ :max="9000"
+ placeholder="1500"
+ ></a-input-number>
+ </a-form-item>
+ <a-form-item>
+ <template slot="label">
+ <a-tooltip>
+ <template slot="title">
+ <span>{{ i18n "pages.xray.tun.userLevelDesc" }}</span>
</template>
- <a-input-number v-model.number="inbound.settings.userLevel" :min="0"
- placeholder="0"></a-input-number>
- </a-form-item>
+ {{ i18n "pages.xray.tun.userLevel" }}
+ <a-icon type="question-circle"></a-icon>
+ </a-tooltip>
+ </template>
+ <a-input-number
+ v-model.number="inbound.settings.userLevel"
+ :min="0"
+ placeholder="0"
+ ></a-input-number>
+ </a-form-item>
</a-form>
{{end}}