Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/settings/xray/basics.html')
-rw-r--r--web/html/settings/xray/basics.html163
1 files changed, 112 insertions, 51 deletions
diff --git a/web/html/settings/xray/basics.html b/web/html/settings/xray/basics.html
index 71aa0d7c..9a31038a 100644
--- a/web/html/settings/xray/basics.html
+++ b/web/html/settings/xray/basics.html
@@ -4,18 +4,22 @@
<a-row :xs="24" :sm="24" :lg="12">
<a-alert type="warning" :style="{ textAlign: 'center' }">
<template slot="message">
- <a-icon type="exclamation-circle" theme="filled" :style="{ color: '#FFA031' }"></a-icon>
+ <a-icon type="exclamation-circle" theme="filled"
+ :style="{ color: '#FFA031' }"></a-icon>
<span>{{ i18n "pages.xray.generalConfigsDesc" }}</span>
</template>
</a-alert>
</a-row>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.FreedomStrategy" }}</template>
- <template #description>{{ i18n "pages.xray.FreedomStrategyDesc" }}</template>
+ <template #description>{{ i18n "pages.xray.FreedomStrategyDesc"
+ }}</template>
<template #control>
- <a-select v-model="freedomStrategy" :dropdown-class-name="themeSwitcher.currentTheme"
+ <a-select v-model="freedomStrategy"
+ :dropdown-class-name="themeSwitcher.currentTheme"
:style="{ width: '100%' }">
- <a-select-option v-for="s in OutboundDomainStrategies" :value="s">
+ <a-select-option v-for="s in OutboundDomainStrategies"
+ :value="s">
<span>[[ s ]]</span>
</a-select-option>
</a-select>
@@ -23,42 +27,63 @@
</a-setting-list-item>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.RoutingStrategy" }}</template>
- <template #description>{{ i18n "pages.xray.RoutingStrategyDesc" }}</template>
+ <template #description>{{ i18n "pages.xray.RoutingStrategyDesc"
+ }}</template>
<template #control>
- <a-select v-model="routingStrategy" :dropdown-class-name="themeSwitcher.currentTheme"
+ <a-select v-model="routingStrategy"
+ :dropdown-class-name="themeSwitcher.currentTheme"
:style="{ width: '100%' }">
- <a-select-option v-for="s in routingDomainStrategies" :value="s">
+ <a-select-option v-for="s in routingDomainStrategies"
+ :value="s">
<span>[[ s ]]</span>
</a-select-option>
</a-select>
</template>
</a-setting-list-item>
+ <a-setting-list-item paddings="small">
+ <template #title>{{ i18n "pages.xray.outboundTestUrl" }}</template>
+ <template #description>{{ i18n "pages.xray.outboundTestUrlDesc"
+ }}</template>
+ <template #control>
+ <a-input v-model="outboundTestUrl"
+ :placeholder="'https://www.google.com/generate_204'"
+ :style="{ width: '100%' }"></a-input>
+ </template>
+ </a-setting-list-item>
</a-collapse-panel>
<a-collapse-panel key="2" header='{{ i18n "pages.xray.statistics" }}'>
<a-setting-list-item paddings="small">
- <template #title>{{ i18n "pages.xray.statsInboundUplink" }}</template>
- <template #description>{{ i18n "pages.xray.statsInboundUplinkDesc" }}</template>
+ <template #title>{{ i18n "pages.xray.statsInboundUplink"
+ }}</template>
+ <template #description>{{ i18n "pages.xray.statsInboundUplinkDesc"
+ }}</template>
<template #control>
<a-switch v-model="statsInboundUplink"></a-switch>
</template>
</a-setting-list-item>
<a-setting-list-item paddings="small">
- <template #title>{{ i18n "pages.xray.statsInboundDownlink" }}</template>
- <template #description>{{ i18n "pages.xray.statsInboundDownlinkDesc" }}</template>
+ <template #title>{{ i18n "pages.xray.statsInboundDownlink"
+ }}</template>
+ <template #description>{{ i18n "pages.xray.statsInboundDownlinkDesc"
+ }}</template>
<template #control>
<a-switch v-model="statsInboundDownlink"></a-switch>
</template>
</a-setting-list-item>
<a-setting-list-item paddings="small">
- <template #title>{{ i18n "pages.xray.statsOutboundUplink" }}</template>
- <template #description>{{ i18n "pages.xray.statsOutboundUplinkDesc" }}</template>
+ <template #title>{{ i18n "pages.xray.statsOutboundUplink"
+ }}</template>
+ <template #description>{{ i18n "pages.xray.statsOutboundUplinkDesc"
+ }}</template>
<template #control>
<a-switch v-model="statsOutboundUplink"></a-switch>
</template>
</a-setting-list-item>
<a-setting-list-item paddings="small">
- <template #title>{{ i18n "pages.xray.statsOutboundDownlink" }}</template>
- <template #description>{{ i18n "pages.xray.statsOutboundDownlinkDesc" }}</template>
+ <template #title>{{ i18n "pages.xray.statsOutboundDownlink"
+ }}</template>
+ <template #description>{{ i18n
+ "pages.xray.statsOutboundDownlinkDesc" }}</template>
<template #control>
<a-switch v-model="statsOutboundDownlink"></a-switch>
</template>
@@ -68,16 +93,20 @@
<a-row :xs="24" :sm="24" :lg="12">
<a-alert type="warning" :style="{ textAlign: 'center' }">
<template slot="message">
- <a-icon type="exclamation-circle" theme="filled" :style="{ color: '#FFA031' }"></a-icon>
+ <a-icon type="exclamation-circle" theme="filled"
+ :style="{ color: '#FFA031' }"></a-icon>
<span>{{ i18n "pages.xray.logConfigsDesc" }}</span>
</template>
</a-alert>
</a-row>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.logLevel" }}</template>
- <template #description>{{ i18n "pages.xray.logLevelDesc" }}</template>
+ <template #description>{{ i18n "pages.xray.logLevelDesc"
+ }}</template>
<template #control>
- <a-select v-model="logLevel" :dropdown-class-name="themeSwitcher.currentTheme" :style="{ width: '100%' }">
+ <a-select v-model="logLevel"
+ :dropdown-class-name="themeSwitcher.currentTheme"
+ :style="{ width: '100%' }">
<a-select-option v-for="s in log.loglevel" :value="s">
<span>[[ s ]]</span>
</a-select-option>
@@ -86,10 +115,13 @@
</a-setting-list-item>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.accessLog" }}</template>
- <template #description>{{ i18n "pages.xray.accessLogDesc" }}</template>
+ <template #description>{{ i18n "pages.xray.accessLogDesc"
+ }}</template>
<template #control>
- <a-select v-model="accessLog" :dropdown-class-name="themeSwitcher.currentTheme" :style="{ width: '100%' }">
- <a-select-option value=''>
+ <a-select v-model="accessLog"
+ :dropdown-class-name="themeSwitcher.currentTheme"
+ :style="{ width: '100%' }">
+ <a-select-option value>
<span>Empty</span>
</a-select-option>
<a-select-option v-for="s in log.access" :value="s">
@@ -100,10 +132,13 @@
</a-setting-list-item>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.errorLog" }}</template>
- <template #description>{{ i18n "pages.xray.errorLogDesc" }}</template>
+ <template #description>{{ i18n "pages.xray.errorLogDesc"
+ }}</template>
<template #control>
- <a-select v-model="errorLog" :dropdown-class-name="themeSwitcher.currentTheme" :style="{ width: '100%' }">
- <a-select-option value=''>
+ <a-select v-model="errorLog"
+ :dropdown-class-name="themeSwitcher.currentTheme"
+ :style="{ width: '100%' }">
+ <a-select-option value>
<span>Empty</span>
</a-select-option>
<a-select-option v-for="s in log.error" :value="s">
@@ -114,11 +149,13 @@
</a-setting-list-item>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.maskAddress" }}</template>
- <template #description>{{ i18n "pages.xray.maskAddressDesc" }}</template>
+ <template #description>{{ i18n "pages.xray.maskAddressDesc"
+ }}</template>
<template #control>
- <a-select v-model="maskAddressLog" :dropdown-class-name="themeSwitcher.currentTheme"
+ <a-select v-model="maskAddressLog"
+ :dropdown-class-name="themeSwitcher.currentTheme"
:style="{ width: '100%' }">
- <a-select-option value=''>
+ <a-select-option value>
<span>Empty</span>
</a-select-option>
<a-select-option v-for="s in log.maskAddress" :value="s">
@@ -139,7 +176,8 @@
<a-row :xs="24" :sm="24" :lg="12">
<a-alert type="warning" :style="{ textAlign: 'center' }">
<template slot="message">
- <a-icon type="exclamation-circle" theme="filled" :style="{ color: '#FFA031' }"></a-icon>
+ <a-icon type="exclamation-circle" theme="filled"
+ :style="{ color: '#FFA031' }"></a-icon>
<span>{{ i18n "pages.xray.blockConfigsDesc" }}</span>
</template>
</a-alert>
@@ -153,17 +191,21 @@
<a-row :xs="24" :sm="24" :lg="12">
<a-alert type="warning" :style="{ textAlign: 'center' }">
<template slot="message">
- <a-icon type="exclamation-circle" theme="filled" :style="{ color: '#FFA031' }"></a-icon>
- <span>{{ i18n "pages.xray.blockConnectionsConfigsDesc" }}</span>
+ <a-icon type="exclamation-circle" theme="filled"
+ :style="{ color: '#FFA031' }"></a-icon>
+ <span>{{ i18n "pages.xray.blockConnectionsConfigsDesc"
+ }}</span>
</template>
</a-alert>
</a-row>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.blockips" }}</template>
<template #control>
- <a-select mode="tags" v-model="blockedIPs" :style="{ width: '100%' }"
+ <a-select mode="tags" v-model="blockedIPs"
+ :style="{ width: '100%' }"
:dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="p.value" :label="p.label" v-for="p in settingsData.IPsOptions">
+ <a-select-option :value="p.value" :label="p.label"
+ v-for="p in settingsData.IPsOptions">
<span>[[ p.label ]]</span>
</a-select-option>
</a-select>
@@ -172,28 +214,35 @@
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.blockdomains" }}</template>
<template #control>
- <a-select mode="tags" v-model="blockedDomains" :style="{ width: '100%' }"
+ <a-select mode="tags" v-model="blockedDomains"
+ :style="{ width: '100%' }"
:dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="p.value" :label="p.label" v-for="p in settingsData.BlockDomainsOptions">
+ <a-select-option :value="p.value" :label="p.label"
+ v-for="p in settingsData.BlockDomainsOptions">
<span>[[ p.label ]]</span>
</a-select-option>
</a-select>
</template>
</a-setting-list-item>
<a-row :xs="24" :sm="24" :lg="12">
- <a-alert type="warning" :style="{ textAlign: 'center', marginTop: '20px' }">
+ <a-alert type="warning"
+ :style="{ textAlign: 'center', marginTop: '20px' }">
<template slot="message">
- <a-icon type="exclamation-circle" theme="filled" :style="{ color: '#FFA031' }"></a-icon>
- <span>{{ i18n "pages.xray.directConnectionsConfigsDesc" }}</span>
+ <a-icon type="exclamation-circle" theme="filled"
+ :style="{ color: '#FFA031' }"></a-icon>
+ <span>{{ i18n "pages.xray.directConnectionsConfigsDesc"
+ }}</span>
</template>
</a-alert>
</a-row>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.directips" }}</template>
<template #control>
- <a-select mode="tags" :style="{ width: '100%' }" v-model="directIPs"
+ <a-select mode="tags" :style="{ width: '100%' }"
+ v-model="directIPs"
:dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="p.value" :label="p.label" v-for="p in settingsData.IPsOptions">
+ <a-select-option :value="p.value" :label="p.label"
+ v-for="p in settingsData.IPsOptions">
<span>[[ p.label ]]</span>
</a-select-option>
</a-select>
@@ -202,18 +251,22 @@
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.directdomains" }}</template>
<template #control>
- <a-select mode="tags" :style="{ width: '100%' }" v-model="directDomains"
+ <a-select mode="tags" :style="{ width: '100%' }"
+ v-model="directDomains"
:dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="p.value" :label="p.label" v-for="p in settingsData.DomainsOptions">
+ <a-select-option :value="p.value" :label="p.label"
+ v-for="p in settingsData.DomainsOptions">
<span>[[ p.label ]]</span>
</a-select-option>
</a-select>
</template>
</a-setting-list-item>
<a-row :xs="24" :sm="24" :lg="12">
- <a-alert type="warning" :style="{ textAlign: 'center', marginTop: '20px' }">
+ <a-alert type="warning"
+ :style="{ textAlign: 'center', marginTop: '20px' }">
<template slot="message">
- <a-icon type="exclamation-circle" theme="filled" :style="{ color: '#FFA031' }"></a-icon>
+ <a-icon type="exclamation-circle" theme="filled"
+ :style="{ color: '#FFA031' }"></a-icon>
<span>{{ i18n "pages.xray.ipv4RoutingDesc" }}</span>
</template>
</a-alert>
@@ -221,18 +274,22 @@
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.ipv4Routing" }}</template>
<template #control>
- <a-select mode="tags" :style="{ width: '100%' }" v-model="ipv4Domains"
+ <a-select mode="tags" :style="{ width: '100%' }"
+ v-model="ipv4Domains"
:dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="p.value" :label="p.label" v-for="p in settingsData.ServicesOptions">
+ <a-select-option :value="p.value" :label="p.label"
+ v-for="p in settingsData.ServicesOptions">
<span>[[ p.label ]]</span>
</a-select-option>
</a-select>
</template>
</a-setting-list-item>
<a-row :xs="24" :sm="24" :lg="12">
- <a-alert type="warning" :style="{ textAlign: 'center', marginTop: '20px' }">
+ <a-alert type="warning"
+ :style="{ textAlign: 'center', marginTop: '20px' }">
<template slot="message">
- <a-icon type="exclamation-circle" theme="filled" :style="{ color: '#FFA031' }"></a-icon>
+ <a-icon type="exclamation-circle" theme="filled"
+ :style="{ color: '#FFA031' }"></a-icon>
{{ i18n "pages.xray.warpRoutingDesc" }}
</template>
</a-alert>
@@ -241,20 +298,24 @@
<template #title>{{ i18n "pages.xray.warpRouting" }}</template>
<template #control>
<template v-if="WarpExist">
- <a-select mode="tags" :style="{ width: '100%' }" v-model="warpDomains"
+ <a-select mode="tags" :style="{ width: '100%' }"
+ v-model="warpDomains"
:dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="p.value" :label="p.label" v-for="p in settingsData.ServicesOptions">
+ <a-select-option :value="p.value" :label="p.label"
+ v-for="p in settingsData.ServicesOptions">
<span>[[ p.label ]]</span>
</a-select-option>
</a-select>
</template>
<template v-else>
- <a-button type="primary" icon="cloud" @click="showWarp()">WARP</a-button>
+ <a-button type="primary" icon="cloud"
+ @click="showWarp()">WARP</a-button>
</template>
</template>
</a-setting-list-item>
</a-collapse-panel>
- <a-collapse-panel key="6" header='{{ i18n "pages.settings.resetDefaultConfig"}}'>
+ <a-collapse-panel key="6"
+ header='{{ i18n "pages.settings.resetDefaultConfig"}}'>
<a-space direction="horizontal" :style="{ padding: '0 20px' }">
<a-button type="danger" @click="resetXrayConfigToDefault">
<span>{{ i18n "pages.settings.resetDefaultConfig" }}</span>