1
0

vmess.html 964 B

1234567891011121314151617181920212223
  1. {{define "form/vmess"}}
  2. <a-collapse activeKey="0" v-for="(client, index) in inbound.settings.vmesses.slice(0,1)" v-if="!isEdit">
  3. <a-collapse-panel header='{{ i18n "pages.inbounds.client" }}'>
  4. {{template "form/client"}}
  5. </a-collapse-panel>
  6. </a-collapse>
  7. <a-collapse v-else>
  8. <a-collapse-panel :header="'{{ i18n "pages.client.clientCount"}} : ' + inbound.settings.vmesses.length">
  9. <table width="100%">
  10. <tr class="client-table-header">
  11. <th>{{ i18n "pages.inbounds.email" }}</th>
  12. <th>ID</th>
  13. <th>{{ i18n "security" }}</th>
  14. </tr>
  15. <tr v-for="(client, index) in inbound.settings.vmesses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''">
  16. <td>[[ client.email ]]</td>
  17. <td>[[ client.id ]]</td>
  18. <td>[[ client.security ]]</td>
  19. </tr>
  20. </table>
  21. </a-collapse-panel>
  22. </a-collapse>
  23. {{end}}