diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-09-16 14:51:36 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-09-16 14:51:36 +0300 |
| commit | 89c79c3ec394ea296753d9030948fde19fcdb693 (patch) | |
| tree | 213eb9828b04465c757c85381ad6532fea7fba46 | |
| parent | 566cd9e9c4b7f10f19b7eb647c6c7cad4647ac44 (diff) | |
more details - vmess security
| -rw-r--r-- | web/html/xui/client_bulk_modal.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/client.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vmess.html | 2 | ||||
| -rw-r--r-- | web/html/xui/inbound_info_modal.html | 6 |
4 files changed, 9 insertions, 3 deletions
diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html index 3cdc5ff6..c4e33bb1 100644 --- a/web/html/xui/client_bulk_modal.html +++ b/web/html/xui/client_bulk_modal.html @@ -28,7 +28,7 @@ <a-form-item label='{{ i18n "pages.client.clientCount" }}' v-if="clientsBulkModal.emailMethod < 2"> <a-input-number v-model="clientsBulkModal.quantity" :min="1" :max="100"></a-input-number> </a-form-item> - <a-form-item v-if="inbound.protocol === Protocols.VMESS" label='Security'> + <a-form-item label='{{ i18n "security" }}' v-if="inbound.protocol === Protocols.VMESS"> <a-select v-model="clientsBulkModal.security" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option> </a-select> diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index a0a1f8cd..070b962c 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -39,7 +39,7 @@ </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-form-item v-if="inbound.protocol === Protocols.VMESS" label='{{ i18n "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> diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 07d767e4..3c5200ac 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -10,7 +10,7 @@ <tr class="client-table-header"> <th>{{ i18n "pages.inbounds.email" }}</th> <th>ID</th> - <th>Security</th> + <th>{{ i18n "security" }}</th> </tr> <tr v-for="(client, index) in inbound.settings.vmesses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''"> <td>[[ client.email ]]</td> diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index 51efa308..062a9c51 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -139,6 +139,12 @@ <a-tag>[[ infoModal.clientSettings.id ]]</a-tag> </td> </tr> + <tr v-if="dbInbound.isVMess"> + <td>{{ i18n "security" }}</td> + <td> + <a-tag>[[ infoModal.clientSettings.security ]]</a-tag> + </td> + </tr> <tr v-if="infoModal.inbound.canEnableTlsFlow()"> <td>Flow</td> <td v-if="infoModal.clientSettings.flow"> |
