|
108 | 108 | :class="themeSwitcher.currentTheme">
|
109 | 109 | <a-tab-pane key="tpl-1" tab='{{ i18n "pages.xray.basicTemplate"}}'>
|
110 | 110 | <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> |
112 | 112 | </a-space>
|
113 | 113 | <a-collapse>
|
114 | 114 | <a-collapse-panel header='{{ i18n "pages.xray.generalConfigs"}}'>
|
|
282 | 282 | <setting-list-item type="switch" title='{{ i18n "pages.xray.AppleWARP"}}' desc='{{ i18n "pages.xray.AppleWARPDesc"}}' v-model="AppleWARPSettings"></setting-list-item>
|
283 | 283 | <setting-list-item type="switch" title='{{ i18n "pages.xray.RedditWARP"}}' desc='{{ i18n "pages.xray.RedditWARPDesc"}}' v-model="RedditWARPSettings"></setting-list-item>
|
284 | 284 | </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> |
286 | 286 | </a-collapse-panel>
|
287 | 287 | </a-collapse>
|
288 | 288 | </a-tab-pane>
|
|
407 | 407 | <a-col :xs="12" :sm="12" :lg="12">
|
408 | 408 | <a-button type="primary" icon="plus" @click="addOutbound()" style="margin-bottom: 10px;">{{ i18n
|
409 | 409 | "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> |
411 | 411 | </a-col>
|
412 | 412 | <a-col :xs="12" :sm="12" :lg="12" style="text-align: right;">
|
413 | 413 | <a-icon type="sync" :spin="refreshing" @click="refreshOutboundTraffic()" style="margin: 0 5px;"></a-icon>
|
|
492 | 492 | </a-table>
|
493 | 493 | </a-tab-pane>
|
494 | 494 | <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> |
495 | 497 | <a-button type="primary" icon="plus" @click="addBalancer()" style="margin-bottom: 10px;">{{ i18n "pages.xray.balancer.addBalancer"}}</a-button>
|
496 | 498 | <a-table :columns="balancerColumns" bordered
|
497 | 499 | :row-key="r => r.key"
|
|
0 commit comments