Skip to content

Commit ee4d7a0

Browse files
shahin-ioLOVECHEN
andauthored
Update xray.html (#1864)
* Fix Dockerfile (#1854) Fix wrong image * Update xray.html --------- Co-authored-by: LOVECHEN <[email protected]>
1 parent d6fd1c7 commit ee4d7a0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

web/html/xui/xray.html

+5-3
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
:class="themeSwitcher.currentTheme">
109109
<a-tab-pane key="tpl-1" tab='{{ i18n "pages.xray.basicTemplate"}}'>
110110
<a-space direction="horizontal" style="padding: 20px 20px">
111-
<a-button type="primary" @click="resetXrayConfigToDefault">{{ i18n "pages.settings.resetDefaultConfig" }}</a-button>
111+
<a-button type="danger" @click="resetXrayConfigToDefault">{{ i18n "pages.settings.resetDefaultConfig" }}</a-button>
112112
</a-space>
113113
<a-collapse>
114114
<a-collapse-panel header='{{ i18n "pages.xray.generalConfigs"}}'>
@@ -282,7 +282,7 @@
282282
<setting-list-item type="switch" title='{{ i18n "pages.xray.AppleWARP"}}' desc='{{ i18n "pages.xray.AppleWARPDesc"}}' v-model="AppleWARPSettings"></setting-list-item>
283283
<setting-list-item type="switch" title='{{ i18n "pages.xray.RedditWARP"}}' desc='{{ i18n "pages.xray.RedditWARPDesc"}}' v-model="RedditWARPSettings"></setting-list-item>
284284
</template>
285-
<a-button v-else style="margin: 10px 0;" @click="showWarp">WARP {{ i18n "pages.xray.rules.outbound" }}</a-button>
285+
<a-button v-else type="primary" icon="cloud" style="margin: 15px 20px;" @click="showWarp()">WARP</a-button>
286286
</a-collapse-panel>
287287
</a-collapse>
288288
</a-tab-pane>
@@ -407,7 +407,7 @@
407407
<a-col :xs="12" :sm="12" :lg="12">
408408
<a-button type="primary" icon="plus" @click="addOutbound()" style="margin-bottom: 10px;">{{ i18n
409409
"pages.xray.outbound.addOutbound" }}</a-button>
410-
<a-button type="primary" @click="showWarp()" style="margin-bottom: 10px;">WARP</a-button>
410+
<a-button type="primary" icon="cloud" @click="showWarp()" style="margin-bottom: 10px;">WARP</a-button>
411411
</a-col>
412412
<a-col :xs="12" :sm="12" :lg="12" style="text-align: right;">
413413
<a-icon type="sync" :spin="refreshing" @click="refreshOutboundTraffic()" style="margin: 0 5px;"></a-icon>
@@ -492,6 +492,8 @@
492492
</a-table>
493493
</a-tab-pane>
494494
<a-tab-pane key="tpl-balancers" tab='{{ i18n "pages.xray.Balancers"}}' style="padding-top: 20px;" force-render="true">
495+
<a-alert type="warning" style="margin-bottom: 10px; width: fit-content"
496+
message='{{ i18n "pages.xray.balancer.balancerDesc" }}' show-icon></a-alert>
495497
<a-button type="primary" icon="plus" @click="addBalancer()" style="margin-bottom: 10px;">{{ i18n "pages.xray.balancer.addBalancer"}}</a-button>
496498
<a-table :columns="balancerColumns" bordered
497499
:row-key="r => r.key"

0 commit comments

Comments
 (0)