diff options
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/outbound.html | 12 | ||||
| -rw-r--r-- | web/html/xui/settings.html | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index d4e9e5f6..84652c3f 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -506,12 +506,12 @@ </a-form> </a-tab-pane> <a-tab-pane key="2" tab="JSON" force-render="true"> - <a-form-item style="margin: 10px 0"> Link: <a-input v-model.trim="outModal.link" style="width: 300px; margin-right: 5px;" placeholder="vmess:// vless:// trojan:// ss://"></a-input> - <a-button @click="convertLink" type="primary"> - <a-icon type="form"></a-icon> - </a-button> - </a-form-item> - <textarea style="position:absolute; left: -800px;" id="outboundJson"></textarea> + <a-space direction="vertical" :size="10" style="margin-top: 10px;"> + <a-input addon-before='{{ i18n "pages.xray.outbound.link" }}' v-model.trim="outModal.link" placeholder="vmess:// vless:// trojan:// ss://"> + <a-icon slot="addonAfter" type="form" @click="convertLink"></a-icon> + </a-input> + <textarea style="position:absolute; left: -800px;" id="outboundJson"></textarea> + </a-space> </a-tab-pane> </a-tabs> {{end}} diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index d13af57e..7ccada90 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -377,7 +377,7 @@ <template #title>{{ i18n "pages.settings.tgNotifyCpu" }}</template> <template #description>{{ i18n "pages.settings.tgNotifyCpuDesc" }}</template> <template #control> - <a-input-number :min="0" :min="100" v-model="allSetting.tgCpu"></a-switch> + <a-input-number :min="0" :min="100" v-model="allSetting.tgCpu" style="width: 100%;"></a-switch> </template> </a-setting-list-item> </a-collapse-panel> |
