vpanel-stack/panel/ui/vhost/users-user.html
2024-09-18 12:36:22 -07:00

57 lines
1.3 KiB
HTML

<include href="header.html" />
<table>
<tr>
<th>Username</th>
<th>Password</th>
<th>Jailed</th>
<th>PHP Workers</th>
<th>Action</th>
</tr>
<tr>
<td>{{ @users_array.username }}</td>
<td><span class="hidden">{{ @users_array.passwd }}</span></td>
<td>{{ @users_array.jailed }}</td>
<td>{{ @users_array.fpmmax }}</td>
<td><a href="{{@REALM}}/Edit">Edit</a> <a href="{{@REALM}}/Delete">Delete</a></td>
</tr>
</table>
<br><br>
<h3>Websites</h3>
<br>
<check if="isset(@vhosts_array)">
<true>
<table>
<tr>
<th>Website</th>
<th>Username</th>
<th>Status</th>
<th>PHP Version</th>
<th>Action</th>
</tr>
<repeat group="{{ @vhosts_array }}" value="{{ @vhost_domain }}">
<tr>
<td><a href="{{@BASE}}/Websites/{{ @vhost_domain.virtualhost }}">{{ @vhost_domain.virtualhost }}</a></td>
<td>{{ @vhost_domain.username }}</td>
<td>{{ @vhost_domain.status }}</td>
<td>{{ @vhost_domain.php }}</td>
<td><a href="{{@BASE}}/Websites/{{ @vhost_domain.virtualhost }}/Disable">Disable</a> <a href="{{@BASE}}/Websites/{{ @vhost_domain.virtualhost }}/Delete">Delete</a></td>
</tr>
</repeat>
</table>
</true>
<false>
There are no websites for this user.
</false>
</check>
<include href="footer.html" />