diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-06-21 13:32:13 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-06-21 13:32:13 +0300 |
| commit | f57e6930234bf00c7df0eb5c167f6a4e8a58c7ed (patch) | |
| tree | 7644c43d6a0133ad304d4e425630fe949c1133c2 /web/html/xui/form/protocol/shadowsocks.html | |
| parent | 83f6f13b5049a6995bf308d37a6bf8b540bf1227 (diff) | |
better clients info tables
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/form/protocol/shadowsocks.html')
| -rw-r--r-- | web/html/xui/form/protocol/shadowsocks.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html index e9b01ea5..7af96373 100644 --- a/web/html/xui/form/protocol/shadowsocks.html +++ b/web/html/xui/form/protocol/shadowsocks.html @@ -96,10 +96,12 @@ <a-collapse-panel :header="'{{ i18n "pages.client.clientCount"}} : ' + inbound.settings.shadowsockses.length"> <table width="100%"> <tr class="client-table-header"> - <th v-for="col in Object.keys(inbound.settings.shadowsockses[0]).slice(0, 3)">[[ col ]]</th> + <th>{{ i18n "pages.inbounds.email" }}</th> + <th>Password</th> </tr> <tr v-for="(client, index) in inbound.settings.shadowsockses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''"> - <td v-for="col in Object.values(client).slice(0, 3)">[[ col ]]</td> + <td>[[ client.email ]]</td> + <td>[[ client.password ]]</td> </tr> </table> </a-collapse-panel> |
