vpanel-stack/panel/ui/vhost/vhosts.html
2023-03-30 10:15:11 -07:00

42 lines
1.1 KiB
HTML

<include href="header.html" />
<check if="isset(@vhosts_array)">
<true>
<table>
<tr>
<th>Website</th>
<th>Username</th>
<th>Config</th>
<th>Status</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.config }}</td>
<td>{{ @vhost_domain.status }}</td>
</tr>
</repeat>
</table>
<p>
Select a <b>Website</b> name above for more details and options.<br>
<b>Username</b> is the system username that owns the website files.<br>
<b>Config</b> is the Apache server Macro Virtualhost config currently set for the site.<br>
<b>Status</b> can be used to disable a site without deleting any files or other configs.<br>
</p>
</true>
<false>
<p>There are no website domains on this server.</p>
</false>
</check>
<p>
<a href="{{@NAV.fullpath}}/Add">Add new Website form</a>
</p>
<include href="footer.html" />