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:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-06-21 13:32:13 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-06-21 13:32:13 +0300
commitf57e6930234bf00c7df0eb5c167f6a4e8a58c7ed (patch)
tree7644c43d6a0133ad304d4e425630fe949c1133c2 /web/html/xui/inbound_info_modal.html
parent83f6f13b5049a6995bf308d37a6bf8b540bf1227 (diff)
better clients info tables
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/inbound_info_modal.html')
-rw-r--r--web/html/xui/inbound_info_modal.html18
1 files changed, 15 insertions, 3 deletions
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index 23bd5af1..d44634a0 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -68,9 +68,21 @@
<template v-if="infoModal.clientSettings">
<a-divider>{{ i18n "pages.inbounds.client" }}</a-divider>
<table style="margin-bottom: 10px;">
- <tr v-for="col,index in Object.keys(infoModal.clientSettings).slice(0, 3)">
- <td>[[ col ]]</td>
- <td><a-tag color="green">[[ infoModal.clientSettings[col] ]]</a-tag></td>
+ <tr>
+ <td>{{ i18n "pages.inbounds.email" }}</td>
+ <td><a-tag color="green">[[ infoModal.clientSettings.email ]]</a-tag></td>
+ </tr>
+ <tr v-if="infoModal.clientSettings.id">
+ <td>ID</td>
+ <td><a-tag color="green">[[ infoModal.clientSettings.id ]]</a-tag></td>
+ </tr>
+ <tr v-if="infoModal.inbound.canEnableTlsFlow()">
+ <td>Flow</td>
+ <td><a-tag color="green">[[ infoModal.clientSettings.flow ]]</a-tag></td>
+ </tr>
+ <tr v-if="infoModal.clientSettings.password">
+ <td>Password</td>
+ <td><a-tag color="green">[[ infoModal.clientSettings.password ]]</a-tag></td>
</tr>
<tr>
<td>{{ i18n "status" }}</td>