diff options
| author | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-08 21:45:19 +0300 |
|---|---|---|
| committer | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-08 21:45:19 +0300 |
| commit | 38013e5ea942f35d7f187b476c2f8914281b6c18 (patch) | |
| tree | cc036744b8080d3c453d42a4e01cf9d7b5e23490 /web/html/xui/xray_reverse_modal.html | |
| parent | e5fc20b8ae357c7ddb456a17b39ab406cc6ad585 (diff) | |
fit xray settings #1300
Diffstat (limited to 'web/html/xui/xray_reverse_modal.html')
| -rw-r--r-- | web/html/xui/xray_reverse_modal.html | 101 |
1 files changed, 69 insertions, 32 deletions
diff --git a/web/html/xui/xray_reverse_modal.html b/web/html/xui/xray_reverse_modal.html index 71a21517..b3a69cc3 100644 --- a/web/html/xui/xray_reverse_modal.html +++ b/web/html/xui/xray_reverse_modal.html @@ -3,41 +3,78 @@ :confirm-loading="reverseModal.confirmLoading" :closable="true" :mask-closable="false" :ok-text="reverseModal.okText" cancel-text='{{ i18n "close" }}' :class="themeSwitcher.currentTheme"> <a-form layout="inline"> - <a-form-item label='{{ i18n "pages.xray.outbound.type" }}'> - <a-select v-model="reverseModal.reverse.type" style="width: 250px;" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option v-for="x,y in reverseTypes" :value="y">[[ x ]]</a-select-option> - </a-select> - </a-form-item> - <a-form-item label='{{ i18n "pages.xray.outbound.tag" }}'> - <a-input v-model.trim="reverseModal.reverse.tag" style="width: 250px"></a-input> - </a-form-item> - <a-form-item label='{{ i18n "pages.xray.outbound.domain" }}'> - <a-input v-model.trim="reverseModal.reverse.domain" style="width: 250px"></a-input> - </a-form-item> + <table width="100%" class="ant-table-tbody"> + <tr> + <td>{{ i18n "pages.xray.outbound.type" }}</td> + <td> + <a-form-item> + <a-select v-model="reverseModal.reverse.type" style="width: 250px;" :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select-option v-for="x,y in reverseTypes" :value="y">[[ x ]]</a-select-option> + </a-select> + </a-form-item> + </td> + </tr> + <tr> + <td>{{ i18n "pages.xray.outbound.tag" }}</td> + <td> + <a-form-item> + <a-input v-model.trim="reverseModal.reverse.tag" style="width: 250px"></a-input> + </a-form-item> + </td> + </tr> + <tr> + <td>{{ i18n "pages.xray.outbound.domain" }}</td> + <td> + <a-form-item> + <a-input v-model.trim="reverseModal.reverse.domain" style="width: 250px"></a-input> + </a-form-item> + </td> + </tr> <template v-if="reverseModal.reverse.type=='bridge'"> - <a-form-item label='{{ i18n "pages.xray.outbound.intercon" }}'> - <a-select v-model="reverseModal.rules[0].outboundTag" style="width: 250px;" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option v-for="x in reverseModal.outboundTags" :value="x">[[ x ]]</a-select-option> - </a-select> - </a-form-item> - <a-form-item label='{{ i18n "pages.xray.rules.outbound" }}'> - <a-select v-model="reverseModal.rules[1].outboundTag" style="width: 250px;" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option v-for="x in reverseModal.outboundTags" :value="x">[[ x ]]</a-select-option> - </a-select> - </a-form-item> + <tr> + <td>{{ i18n "pages.xray.outbound.intercon" }}</td> + <td> + <a-form-item> + <a-select v-model="reverseModal.rules[0].outboundTag" style="width: 250px;" :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select-option v-for="x in reverseModal.outboundTags" :value="x">[[ x ]]</a-select-option> + </a-select> + </a-form-item> + </td> + </tr> + <tr> + <td>{{ i18n "pages.xray.rules.outbound" }}</td> + <td> + <a-form-item> + <a-select v-model="reverseModal.rules[1].outboundTag" style="width: 250px;" :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select-option v-for="x in reverseModal.outboundTags" :value="x">[[ x ]]</a-select-option> + </a-select> + </a-form-item> + </td> + </tr> </template> <template v-else> - <a-form-item label='{{ i18n "pages.xray.outbound.intercon" }}'> - <a-checkbox-group - v-model="reverseModal.rules[0].inboundTag" - :options="reverseModal.inboundTags"></a-checkbox-group> - </a-form-item> - <a-form-item label='{{ i18n "pages.xray.rules.inbound" }}'> - <a-checkbox-group - v-model="reverseModal.rules[1].inboundTag" - :options="reverseModal.inboundTags"></a-checkbox-group> - </a-form-item> + <tr> + <td>{{ i18n "pages.xray.outbound.intercon" }}</td> + <td> + <a-form-item> + <a-checkbox-group + v-model="reverseModal.rules[0].inboundTag" + :options="reverseModal.inboundTags"></a-checkbox-group> + </a-form-item> + </td> + </tr> + <tr> + <td>{{ i18n "pages.xray.rules.inbound" }}</td> + <td> + <a-form-item> + <a-checkbox-group + v-model="reverseModal.rules[1].inboundTag" + :options="reverseModal.inboundTags"></a-checkbox-group> + </a-form-item> + </td> + </tr> </template> + </table> </a-form> </a-modal> <script> @@ -136,4 +173,4 @@ }); </script> -{{end}} +{{end}}
\ No newline at end of file |
