diff options
Diffstat (limited to 'web/html/xui/form')
| -rw-r--r-- | web/html/xui/form/client.html | 5 | ||||
| -rw-r--r-- | web/html/xui/form/outbound.html | 5 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vmess.html | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 845f9408..aa558824 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -39,6 +39,11 @@ </template> <a-input v-model.trim="client.id"></a-input> </a-form-item> + <a-form-item v-if="inbound.protocol === Protocols.VMESS" label='Security'> + <a-select v-model="client.security" :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option> + </a-select> + </a-form-item> <a-form-item v-if="client.email && app.subSettings.enable"> <template slot="label"> <a-tooltip> diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 90b9e60b..61af06e0 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -160,6 +160,11 @@ <a-form-item label='ID'> <a-input v-model.trim="outbound.settings.id"></a-input> </a-form-item> + <a-form-item label='Security'> + <a-select v-model="outbound.settings.security" :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option> + </a-select> + </a-form-item> <!-- vless settings --> <template v-if="outbound.canEnableTlsFlow()"> diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 4e9fe749..07d767e4 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -10,10 +10,12 @@ <tr class="client-table-header"> <th>{{ i18n "pages.inbounds.email" }}</th> <th>ID</th> + <th>Security</th> </tr> <tr v-for="(client, index) in inbound.settings.vmesses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''"> <td>[[ client.email ]]</td> <td>[[ client.id ]]</td> + <td>[[ client.security ]]</td> </tr> </table> </a-collapse-panel> |
