diff options
Diffstat (limited to 'web/html/xui/form/client.html')
| -rw-r--r-- | web/html/xui/form/client.html | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 017bd7dc..5f65756c 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -23,16 +23,35 @@ <a-icon v-if="inbound.protocol === Protocols.SHADOWSOCKS" @click="client.password = RandomUtil.randomShadowsocksPassword()" type="sync"> </a-icon> <a-input v-model.trim="client.password" style="width: 300px;" ></a-input> </a-form-item> + <br> <a-form-item label='{{ i18n "additional" }} ID' v-if="inbound.protocol === Protocols.VMESS"> <a-input-number v-model="client.alterId"></a-input-number> </a-form-item> <a-form-item label="ID" v-if="inbound.protocol === Protocols.VMESS || inbound.protocol === Protocols.VLESS"> <a-input v-model.trim="client.id" style="width: 300px;"></a-input> </a-form-item> - <a-form-item label="Subscription" v-if="client.email"> + <a-form-item v-if="client.email"> + <span slot="label"> + Subscription + <a-tooltip> + <template slot="title"> + <span>{{ i18n "pages.inbounds.subscriptionDesc" }}</span> + </template> + <a-icon type="question-circle" theme="filled"></a-icon> + </a-tooltip> + </span> <a-input v-model.trim="client.subId"></a-input> - </a-form-item> - <a-form-item label="Telegram Username" v-if="client.email"> +</a-form-item> + <a-form-item v-if="client.email"> + <span slot="label"> + Telegram ID + <a-tooltip> + <template slot="title"> + <span>{{ i18n "pages.inbounds.telegramDesc" }}</span> + </template> + <a-icon type="question-circle" theme="filled"></a-icon> + </a-tooltip> + </span> <a-input v-model.trim="client.tgId"></a-input> </a-form-item> <a-form-item> |
