diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-03-12 18:53:48 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-03-12 18:53:48 +0300 |
| commit | 10f54cd9370a8be5676c59faeb02e662bbc4934b (patch) | |
| tree | 9e5d3944c8d367c21f0d487cf186846aad569799 /web/html | |
| parent | b21758e6a6be72925a005d636e742a1419ce5290 (diff) | |
[xray] add outbound sendThrough + warp typo fix
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/outbound.html | 3 | ||||
| -rw-r--r-- | web/html/xui/warp_modal.html | 27 |
2 files changed, 16 insertions, 14 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 6432dca7..70e8f6a7 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -11,6 +11,9 @@ <a-form-item label='{{ i18n "pages.xray.outbound.tag" }}' has-feedback :validate-status="outModal.duplicateTag? 'warning' : 'success'"> <a-input v-model.trim="outbound.tag" @change="outModal.check()" placeholder='{{ i18n "pages.xray.outbound.tagDesc" }}'></a-input> </a-form-item> + <a-form-item label='{{ i18n "pages.xray.outbound.sendThrough" }}'> + <a-input v-model="outbound.sendThrough"></a-input> + </a-form-item> <!-- freedom settings--> <template v-if="outbound.protocol === Protocols.Freedom"> diff --git a/web/html/xui/warp_modal.html b/web/html/xui/warp_modal.html index 526e5bb7..b349ce43 100644 --- a/web/html/xui/warp_modal.html +++ b/web/html/xui/warp_modal.html @@ -12,7 +12,7 @@ <td>[[ warpModal.warpData.access_token ]]</td> </tr> <tr> - <td>Devide ID</td> + <td>Device ID</td> <td>[[ warpModal.warpData.device_id ]]</td> </tr> <tr class="client-table-odd-row"> @@ -24,19 +24,19 @@ <td>[[ warpModal.warpData.private_key ]]</td> </tr> </table> - <a-divider style="margin: 0;">{{ i18n "pages.settings.toasts.modifySettings" }}</a-divider> + <a-divider style="margin: 0;">{{ i18n "pages.xray.outbound.settings" }}</a-divider> <a-collapse style="margin: 10px 0;"> <a-collapse-panel header='WARP/WARP+ License Key'> - <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> - <a-form-item label="License Key"> + <a-form :colon="false" :label-col="{ md: {span:6} }" :wrapper-col="{ md: {span:14} }"> + <a-form-item label="Key"> <a-input v-model="warpPlus"></a-input> <a-button @click="updateLicense(warpPlus)" :disabled="warpPlus.length<26" :loading="warpModal.confirmLoading">{{ i18n "pages.inbounds.update" }}</a-button> </a-form-item> </a-form> </a-collapse-panel> </a-collapse> - <a-divider style="margin: 0;">{{ i18n "pages.settings.toasts.getSettings" }}</a-divider> - <a-button icon="sync" @click="getConfig" style="margin-bottom: 10px;" :loading="warpModal.confirmLoading">{{ i18n "info" }}</a-button> + <a-divider style="margin: 0;">{{ i18n "pages.xray.outbound.accountInfo" }}</a-divider> + <a-button icon="sync" @click="getConfig" style="margin-top: 5px; margin-bottom: 10px;" :loading="warpModal.confirmLoading" type="primary">{{ i18n "info" }}</a-button> <template v-if="!ObjectUtil.isEmpty(warpModal.warpConfig)"> <table style="width: 100%"> <tr class="client-table-odd-row"> @@ -48,7 +48,7 @@ <td>[[ warpModal.warpConfig.model ]]</td> </tr> <tr class="client-table-odd-row"> - <td>Device Active</td> + <td>Device Enabled</td> <td>[[ warpModal.warpConfig.enabled ]]</td> </tr> <template v-if="!ObjectUtil.isEmpty(warpModal.warpConfig.account)"> @@ -61,7 +61,7 @@ <td>[[ warpModal.warpConfig.account.role ]]</td> </tr> <tr> - <td>Premium Data</td> + <td>WARP+ Data</td> <td>[[ sizeFormat(warpModal.warpConfig.account.premium_data) ]]</td> </tr> <tr class="client-table-odd-row"> @@ -74,16 +74,15 @@ </tr> </template> </table> - <a-divider style="margin: 10px 0;">WARP {{ i18n "pages.xray.rules.outbound" }}</a-divider> + <a-divider style="margin: 10px 0;">{{ i18n "pages.xray.outbound.outboundStatus" }}</a-divider> <a-form :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> - <a-form-item label='{{ i18n "status" }}'> <template v-if="warpOutboundIndex>=0"> - <a-tag color="green">{{ i18n "enabled" }}</a-tag> - <a-button @click="resetOutbound" :loading="warpModal.confirmLoading">{{ i18n "reset" }}</a-button> + <a-tag color="green" style="line-height: 31px;">{{ i18n "enabled" }}</a-tag> + <a-button @click="resetOutbound" :loading="warpModal.confirmLoading" type="danger">{{ i18n "reset" }}</a-button> </template> <template v-else> - <a-tag color="orange">{{ i18n "disabled" }}</a-tag> - <a-button @click="addOutbound" :loading="warpModal.confirmLoading">{{ i18n "pages.xray.outbound.addOutbound" }}</a-button> + <a-tag color="orange" style="line-height: 31px;">{{ i18n "disabled" }}</a-tag> + <a-button @click="addOutbound" :loading="warpModal.confirmLoading" type="primary">{{ i18n "pages.xray.outbound.addOutbound" }}</a-button> </template> </a-form-item> </a-form> |
