vmess.html 870 B

123456789101112131415161718192021
  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. </tr>
  14. <tr v-for="(client, index) in inbound.settings.vmesses" :class="index % 2 == 1 ? 'client-table-odd-row' : ''">
  15. <td>[[ client.email ]]</td>
  16. <td>[[ client.id ]]</td>
  17. </tr>
  18. </table>
  19. </a-collapse-panel>
  20. </a-collapse>
  21. {{end}}