diff options
| author | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-03-17 04:26:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-17 04:26:59 +0300 |
| commit | 7ae855e7c939560aa9f42616b3796da392a87dc5 (patch) | |
| tree | 2146397e10317b5d8bec29aad016decf4b8d1699 /web/html | |
| parent | b9307c6c9c26c7d87819ef60c18eccce134f09ea (diff) | |
chore: some improvements (#2782)
* chore: improve outbound link input
* chore: ui improvement
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> |
