diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-08-11 01:47:44 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-08-11 01:47:44 +0300 |
| commit | 93d52bc86c4725fdfbdb629e87bbb5d24abf7d37 (patch) | |
| tree | ffd23266cd3118484dcd012e675e0e2b110e542c /web/html/xui/form | |
| parent | bda5c2c915977e0cbf9de867d918508ef688dd45 (diff) | |
new - vmess security (inbound client side - outbound)
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> |
