diff options
| author | MHSanaei <33454419+MHSanaei@users.noreply.github.com> | 2023-03-24 16:24:21 +0300 |
|---|---|---|
| committer | MHSanaei <33454419+MHSanaei@users.noreply.github.com> | 2023-03-24 16:24:21 +0300 |
| commit | 03a6c131f994e0d7984b07b153acc6a6ca943f10 (patch) | |
| tree | 41dc25ddcdacd26e6da3e63cf136835ced81d5f1 /web | |
| parent | 8dad9a4338142a566de038ee409bf3ce9b4ab949 (diff) | |
[infoModal] better display
Diffstat (limited to 'web')
| -rw-r--r-- | web/html/xui/inbound_info_modal.html | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index 0e1b1415..6de729f9 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -59,13 +59,11 @@ </table> <template v-if="infoModal.clientSettings"> <a-divider>{{ i18n "pages.inbounds.client" }}</a-divider> - <table style="margin-bottom: 10px; width: 100%;"> - <tr> - <th v-for="col in Object.keys(infoModal.clientSettings).slice(0, 3)">[[ col ]]</th> - </tr> - <tr> - <td v-for="col in Object.values(infoModal.clientSettings).slice(0, 3)"><a-tag color="green">[[ col ]]</a-tag></td> - </table> + <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> + </table> <table style="margin-bottom: 10px; width: 100%;"> <tr><th>{{ i18n "usage" }}</th><th>{{ i18n "pages.inbounds.totalFlow" }}</th><th>{{ i18n "pages.inbounds.expireDate" }}</th><th>{{ i18n "enable" }}</th></tr> <tr> |
