mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
48 lines
2.1 KiB
HTML
48 lines
2.1 KiB
HTML
{{define "form/vmess"}}
|
|
<a-form layout="inline">
|
|
<a-form layout="inline">
|
|
<a-form-item label="Email">
|
|
<a-input v-model.trim="inbound.settings.vmesses[0].email"></a-input>
|
|
</a-form-item>
|
|
<a-form-item>
|
|
<span slot="label">
|
|
IP Count Limit
|
|
<a-tooltip>
|
|
<template slot="title">
|
|
disable inbound if more than entered count (0 for disable limit ip)
|
|
</template>
|
|
<a-icon type="question-circle" theme="filled"></a-icon>
|
|
</a-tooltip>
|
|
</span>
|
|
|
|
<a-input type="number" v-model.number="inbound.settings.vmesses[0].limitIp"></a-input>
|
|
</a-form-item>
|
|
<a-form-item v-if="inbound.settings.vmesses[0].email && inbound.settings.vmesses[0].limitIp > 0 && isEdit">
|
|
<span slot="label">
|
|
Client IP Log
|
|
<a-tooltip>
|
|
<template slot="title">
|
|
IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log)
|
|
</template>
|
|
<a-icon type="question-circle" theme="filled"></a-icon>
|
|
</a-tooltip>
|
|
</span>
|
|
|
|
<a-textarea disabled :input="getDBClientIps(inbound.settings.vmesses[0].email)" v-model="clientIps" :auto-size="{ minRows: 3, maxRows: 3 }">
|
|
</a-textarea>
|
|
|
|
<a-button type="danger" @click="clearDBClientIps(inbound.settings.vmesses[0].email)" >clear log</a-button>
|
|
</a-form-item>
|
|
|
|
</a-form>
|
|
<a-form-item label="id">
|
|
<a-input v-model.trim="inbound.settings.vmesses[0].id"></a-input>
|
|
</a-form-item>
|
|
<a-form-item label='{{ i18n "additional" }} ID'>
|
|
<a-input type="number" v-model.number="inbound.settings.vmesses[0].alterId"></a-input>
|
|
</a-form-item>
|
|
<a-form-item label='{{ i18n "pages.inbounds.disableInsecureEncryption" }}'>
|
|
<a-switch v-model.number="inbound.settings.disableInsecure"></a-switch>
|
|
</a-form-item>
|
|
</a-form>
|
|
{{end}} |