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:
authorAlireza Ahmadi <alireza7@gmail.com>2023-12-08 21:44:52 +0300
committerAlireza Ahmadi <alireza7@gmail.com>2023-12-08 21:44:52 +0300
commite5fc20b8ae357c7ddb456a17b39ab406cc6ad585 (patch)
tree5d39de554e578f7017550e207484334aa06d09b3 /web/html/xui/inbound_info_modal.html
parent68ee4e003c7189ca9530f8c1cb70a623ab47831c (diff)
small fixes #1300
Diffstat (limited to 'web/html/xui/inbound_info_modal.html')
-rw-r--r--web/html/xui/inbound_info_modal.html20
1 files changed, 8 insertions, 12 deletions
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index 1390bbcd..e92fc874 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -51,19 +51,15 @@
</table>
</td></tr>
<tr colspan="2" v-if="dbInbound.hasLink()">
- <td v-if="inbound.tls">
- tls: <a-tag color="green">{{ i18n "enabled" }}</a-tag><br />
- tls {{ i18n "domainName" }}: <a-tag :color="inbound.serverName ? 'green' : 'orange'">[[ inbound.serverName ? inbound.serverName : '' ]]</a-tag>
- </td>
- <td v-else-if="inbound.xtls">
- xtls: <a-tag color="green">{{ i18n "enabled" }}</a-tag><br />
- xtls {{ i18n "domainName" }}: <a-tag :color="inbound.serverName ? 'green' : 'orange'">[[ inbound.serverName ? inbound.serverName : '' ]]</a-tag>
- </td>
- <td v-else-if="inbound.reality">
- reality: <a-tag color="green">{{ i18n "enabled" }}</a-tag><br />
- reality Destination: <a-tag :color="inbound.stream.reality.dest ? 'green' : 'orange'">[[ inbound.stream.reality.dest ]]</a-tag>
+ <td>
+ {{ i18n "security" }}
+ <a-tag :color="inbound.stream.security == 'none' ? 'red' : 'green'">[[ inbound.stream.security ]]</a-tag>
+ <br />
+ <template v-if="inbound.stream.security != 'none'">
+ {{ i18n "domainName" }}
+ <a-tag :color="inbound.serverName ? 'green' : 'orange'">[[ inbound.serverName ? inbound.serverName : '' ]]</a-tag>
+ </template>
</td>
- <td v-else>tls: <a-tag color="red">{{ i18n "disabled" }}</a-tag></td>
</tr>
</table>
<table v-if="dbInbound.isSS" style="margin-bottom: 10px; width: 100%;">