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/form/protocol')
-rw-r--r--web/html/form/protocol/shadowsocks.html7
-rw-r--r--web/html/form/protocol/trojan.html7
-rw-r--r--web/html/form/protocol/vless.html7
-rw-r--r--web/html/form/protocol/vmess.html7
4 files changed, 24 insertions, 4 deletions
diff --git a/web/html/form/protocol/shadowsocks.html b/web/html/form/protocol/shadowsocks.html
index 06e12075..04cd9399 100644
--- a/web/html/form/protocol/shadowsocks.html
+++ b/web/html/form/protocol/shadowsocks.html
@@ -13,7 +13,12 @@
<th>Password</th>
</tr>
<tr v-for="(client, index) in inbound.settings.shadowsockses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''">
- <td>[[ client.email ]]</td>
+ <td>
+ <div class="client-cell">
+ <div class="client-email">[[ client.email ]]</div>
+ <div v-if="client.comment && client.comment.trim()" class="client-comment">[[ client.comment ]]</div>
+ </div>
+ </td>
<td>[[ client.password ]]</td>
</tr>
</table>
diff --git a/web/html/form/protocol/trojan.html b/web/html/form/protocol/trojan.html
index fc327721..6c7b3773 100644
--- a/web/html/form/protocol/trojan.html
+++ b/web/html/form/protocol/trojan.html
@@ -12,7 +12,12 @@
<th>Password</th>
</tr>
<tr v-for="(client, index) in inbound.settings.trojans" :class="index % 2 == 1 ? 'client-table-odd-row' : ''">
- <td>[[ client.email ]]</td>
+ <td>
+ <div class="client-cell">
+ <div class="client-email">[[ client.email ]]</div>
+ <div v-if="client.comment && client.comment.trim()" class="client-comment">[[ client.comment ]]</div>
+ </div>
+ </td>
<td>[[ client.password ]]</td>
</tr>
</table>
diff --git a/web/html/form/protocol/vless.html b/web/html/form/protocol/vless.html
index 3cebda6e..88274f71 100644
--- a/web/html/form/protocol/vless.html
+++ b/web/html/form/protocol/vless.html
@@ -12,7 +12,12 @@
<th>ID</th>
</tr>
<tr v-for="(client, index) in inbound.settings.vlesses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''">
- <td>[[ client.email ]]</td>
+ <td>
+ <div class="client-cell">
+ <div class="client-email">[[ client.email ]]</div>
+ <div v-if="client.comment && client.comment.trim()" class="client-comment">[[ client.comment ]]</div>
+ </div>
+ </td>
<td>[[ client.id ]]</td>
</tr>
</table>
diff --git a/web/html/form/protocol/vmess.html b/web/html/form/protocol/vmess.html
index 3c5200ac..94a0cc58 100644
--- a/web/html/form/protocol/vmess.html
+++ b/web/html/form/protocol/vmess.html
@@ -13,7 +13,12 @@
<th>{{ i18n "security" }}</th>
</tr>
<tr v-for="(client, index) in inbound.settings.vmesses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''">
- <td>[[ client.email ]]</td>
+ <td>
+ <div class="client-cell">
+ <div class="client-email">[[ client.email ]]</div>
+ <div v-if="client.comment && client.comment.trim()" class="client-comment">[[ client.comment ]]</div>
+ </div>
+ </td>
<td>[[ client.id ]]</td>
<td>[[ client.security ]]</td>
</tr>