mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-05-13 17:46:02 +00:00
25 lines
No EOL
932 B
HTML
25 lines
No EOL
932 B
HTML
{{define "form/trojan"}}
|
|
<a-collapse activeKey="0" v-for="(client, index) in inbound.settings.trojans.slice(0,1)" v-if="!isEdit">
|
|
<a-collapse-panel header='{{ i18n "pages.inbounds.client" }}'>
|
|
{{template "form/client" .}}
|
|
</a-collapse-panel>
|
|
</a-collapse>
|
|
<a-collapse v-else>
|
|
<a-collapse-panel :header="'{{ i18n "pages.client.clientCount"}} : ' + inbound.settings.trojans.length">
|
|
<table width="100%">
|
|
<tr class="client-table-header">
|
|
<th>{{ i18n "pages.inbounds.email" }}</th>
|
|
<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>[[ client.password ]]</td>
|
|
</tr>
|
|
</table>
|
|
</a-collapse-panel>
|
|
</a-collapse>
|
|
<template v-if=" inbound.isTcp">
|
|
{{template "form/fallbacks" .}}
|
|
<a-divider style="margin:5px 0;"></a-divider>
|
|
</template>
|
|
{{end}} |