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
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/form/inbound.html12
-rw-r--r--web/html/form/outbound.html4
-rw-r--r--web/html/form/protocol/dokodemo.html2
-rw-r--r--web/html/form/protocol/socks.html4
-rw-r--r--web/html/modals/inbound_info_modal.html4
-rw-r--r--web/html/xray.html2
6 files changed, 14 insertions, 14 deletions
diff --git a/web/html/form/inbound.html b/web/html/form/inbound.html
index 9554d6aa..69f5fbb3 100644
--- a/web/html/form/inbound.html
+++ b/web/html/form/inbound.html
@@ -83,14 +83,14 @@
{{template "form/shadowsocks"}}
</template>
-<!-- dokodemo-door -->
-<template v-if="inbound.protocol === Protocols.DOKODEMO">
- {{template "form/dokodemo"}}
+<!-- tunnel -->
+<template v-if="inbound.protocol === Protocols.TUNNEL">
+ {{template "form/tunnel"}}
</template>
-<!-- socks -->
-<template v-if="inbound.protocol === Protocols.SOCKS">
- {{template "form/socks"}}
+<!-- mixed -->
+<template v-if="inbound.protocol === Protocols.MIXED">
+ {{template "form/mixed"}}
</template>
<!-- http -->
diff --git a/web/html/form/outbound.html b/web/html/form/outbound.html
index d2149b6d..271dea83 100644
--- a/web/html/form/outbound.html
+++ b/web/html/form/outbound.html
@@ -241,9 +241,9 @@
</template>
</template>
- <!-- Servers (trojan/shadowsocks/socks/http) settings -->
+ <!-- Servers (trojan/shadowsocks/mixed/http) settings -->
<template v-if="outbound.hasServers()">
- <!-- http / socks -->
+ <!-- http / mixed -->
<template v-if="outbound.hasUsername()">
<a-form-item label='{{ i18n "username" }}'>
<a-input v-model.trim="outbound.settings.user"></a-input>
diff --git a/web/html/form/protocol/dokodemo.html b/web/html/form/protocol/dokodemo.html
index 819b7727..b73a7641 100644
--- a/web/html/form/protocol/dokodemo.html
+++ b/web/html/form/protocol/dokodemo.html
@@ -1,4 +1,4 @@
-{{define "form/dokodemo"}}
+{{define "form/tunnel"}}
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label='{{ i18n "pages.inbounds.targetAddress"}}'>
<a-input v-model.trim="inbound.settings.address"></a-input>
diff --git a/web/html/form/protocol/socks.html b/web/html/form/protocol/socks.html
index e126c51c..979769da 100644
--- a/web/html/form/protocol/socks.html
+++ b/web/html/form/protocol/socks.html
@@ -1,4 +1,4 @@
-{{define "form/socks"}}
+{{define "form/mixed"}}
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label='{{ i18n "pages.inbounds.enable" }} UDP'>
<a-switch v-model="inbound.settings.udp"></a-switch>
@@ -15,7 +15,7 @@
<td width="45%">{{ i18n "username" }}</td>
<td width="45%">{{ i18n "password" }}</td>
<td>
- <a-button icon="plus" size="small" @click="inbound.settings.addAccount(new Inbound.SocksSettings.SocksAccount())"></a-button>
+ <a-button icon="plus" size="small" @click="inbound.settings.addAccount(new Inbound.MixedSettings.SocksAccount())"></a-button>
</td>
</tr>
</table>
diff --git a/web/html/modals/inbound_info_modal.html b/web/html/modals/inbound_info_modal.html
index 0f29d318..7b7b0af7 100644
--- a/web/html/modals/inbound_info_modal.html
+++ b/web/html/modals/inbound_info_modal.html
@@ -354,7 +354,7 @@
<code>[[ link.link ]]</code>
</tr-info-row>
</template>
- <table v-if="inbound.protocol == Protocols.DOKODEMO" class="tr-info-table">
+ <table v-if="inbound.protocol == Protocols.TUNNEL" class="tr-info-table">
<tr>
<th>{{ i18n "pages.inbounds.targetAddress" }}</th>
<th>{{ i18n "pages.inbounds.destinationPort" }}</th>
@@ -376,7 +376,7 @@
</td>
</tr>
</table>
- <table v-if="dbInbound.isSocks" class="tr-info-table">
+ <table v-if="dbInbound.isMixed" class="tr-info-table">
<tr>
<th>{{ i18n "password" }} Auth</th>
<th>{{ i18n "pages.inbounds.enable" }} udp</th>
diff --git a/web/html/xray.html b/web/html/xray.html
index 919989a4..2f2f415a 100644
--- a/web/html/xray.html
+++ b/web/html/xray.html
@@ -572,7 +572,7 @@
serverObj = o.settings.vnext;
break;
case Protocols.HTTP:
- case Protocols.Socks:
+ case Protocols.Mixed:
case Protocols.Shadowsocks:
case Protocols.Trojan:
serverObj = o.settings.servers;