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>2026-04-20 17:38:33 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2026-04-20 17:55:06 +0300
commit04b4fb438487ada373fb3e6437b4cdb28b5174de (patch)
tree3814ae9d0e10d2ee8e061bd3ff5495aab0ca48c4 /web/html/form/inbound.html
parentae5ad505d04fa347eb96a0d2bfb54ff541c3b709 (diff)
finalmask
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/form/inbound.html')
-rw-r--r--web/html/form/inbound.html30
1 files changed, 10 insertions, 20 deletions
diff --git a/web/html/form/inbound.html b/web/html/form/inbound.html
index 4e89024d..736a1fd4 100644
--- a/web/html/form/inbound.html
+++ b/web/html/form/inbound.html
@@ -1,7 +1,6 @@
{{define "form/inbound"}}
<!-- base -->
-<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='{{ i18n "enable" }}'>
<a-switch v-model="dbInbound.enable"></a-switch>
</a-form-item>
@@ -10,8 +9,7 @@
</a-form-item>
<a-form-item label='{{ i18n "protocol" }}'>
- <a-select v-model="inbound.protocol" :disabled="isEdit"
- :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select v-model="inbound.protocol" :disabled="isEdit" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option v-for="p in Protocols" :key="p" :value="p">[[ p
]]</a-select-option>
</a-select>
@@ -31,8 +29,7 @@
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.port" }}'>
- <a-input-number v-model.number="inbound.port" :min="1"
- :max="65535"></a-input-number>
+ <a-input-number v-model.number="inbound.port" :min="1" :max="65535"></a-input-number>
</a-form-item>
<a-form-item>
@@ -45,8 +42,7 @@
<a-icon type="question-circle"></a-icon>
</a-tooltip>
</template>
- <a-input-number v-model.number="dbInbound.totalGB"
- :min="0"></a-input-number>
+ <a-input-number v-model.number="dbInbound.totalGB" :min="0"></a-input-number>
</a-form-item>
<a-form-item>
@@ -55,10 +51,8 @@
<template slot="title">
<span>{{ i18n "pages.inbounds.periodicTrafficResetDesc"
}}</span>
- <br
- v-if="dbInbound.lastTrafficResetTime && dbInbound.lastTrafficResetTime > 0">
- <span
- v-if="dbInbound.lastTrafficResetTime && dbInbound.lastTrafficResetTime > 0">
+ <br v-if="dbInbound.lastTrafficResetTime && dbInbound.lastTrafficResetTime > 0">
+ <span v-if="dbInbound.lastTrafficResetTime && dbInbound.lastTrafficResetTime > 0">
<strong>{{ i18n "pages.inbounds.lastReset" }}:</strong>
<span>[[
IntlUtil.formatDate(dbInbound.lastTrafficResetTime)
@@ -69,8 +63,7 @@
<a-icon type="question-circle"></a-icon>
</a-tooltip>
</template>
- <a-select v-model="dbInbound.trafficReset"
- :dropdown-class-name="themeSwitcher.currentTheme">
+ <a-select v-model="dbInbound.trafficReset" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option value="never">{{ i18n
"pages.inbounds.periodicTrafficReset.never" }}</a-select-option>
<a-select-option value="hourly">{{ i18n
@@ -98,13 +91,10 @@
<a-icon type="question-circle"></a-icon>
</a-tooltip>
</template>
- <a-date-picker :style="{ width: '100%' }"
- v-if="datepicker == 'gregorian'" :show-time="{ format: 'HH:mm:ss' }"
- format="YYYY-MM-DD HH:mm:ss"
- :dropdown-class-name="themeSwitcher.currentTheme"
+ <a-date-picker :style="{ width: '100%' }" v-if="datepicker == 'gregorian'" :show-time="{ format: 'HH:mm:ss' }"
+ format="YYYY-MM-DD HH:mm:ss" :dropdown-class-name="themeSwitcher.currentTheme"
v-model="dbInbound._expiryTime"></a-date-picker>
- <a-persian-datepicker v-else
- placeholder='{{ i18n "pages.settings.datepickerPlaceholder" }}'
+ <a-persian-datepicker v-else placeholder='{{ i18n "pages.settings.datepickerPlaceholder" }}'
value="dbInbound._expiryTime" v-model="dbInbound._expiryTime">
</a-persian-datepicker>
</a-form-item>