vpanel-stack/panel/ui/vdns/zones.html
Matthew Saunders Brown 144d8a23b3 add vdns code
2024-02-13 14:41:15 -08:00

48 lines
1.2 KiB
HTML

<include href="header.html" />
<check if="isset(@zones_array)">
<true>
<table>
<tr>
<th>Zone</th>
<th>Nameservers</th>
<th>Action</th>
</tr>
<repeat group="{{ @zones_array }}" value="{{ @zone }}">
<tr>
<td>{{ @zone.zone }}</td>
<check if="{{ @zone.ns_status=='Verified' }}">
<true><td>&check; {{ @zone.ns_status }}</td></true>
<false><td style="color:red">{{ @zone.ns_status }} <small>- click view for details &rarr;</small></td></false>
</check>
<td><a href="{{@REALM}}/{{ @zone.zone }}">View</a> <a href="{{@REALM}}/{{ @zone.zone }}/Delete">Delete</a></td>
</tr>
</repeat>
</table>
</true>
<false>
<p>There are no DNS Zones on this server.</p>
</false>
</check>
<p>
<b>Zone</b> is what a Domain Name is called in DNS.<br>
<b>View</b> zone to see list of all DNS entries.<br>
<b>Delete</b> will remove the zone from DNS entirely.<br>
</p>
<check if="isset(@PHPMYPDNSURL)">
<p><b>phpMyPDNS</b> can be used to manage DNS entries here: <a href="{{ @PHPMYPDNSURL }}">{{ @PHPMYPDNSURL }}</a></p>
</check>
<p>
<a href="{{@NAV.fullpath}}/Add">Add new DNS Zone</a>
</p>
<include href="footer.html" />