show IP instead of domain for SFTP if DNS needs updating

This commit is contained in:
Matthew Saunders Brown 2023-09-28 12:49:33 -07:00
parent fa032ef6b8
commit 424837fe9a

View File

@ -92,7 +92,17 @@
<table>
<tr><th colspan="2">Remote Access</th></tr>
<tr><td style="text-align: right;">Protocol:</td><td>SFTP (SSH File Transfer Protocol)</td></tr>
<tr><td style="text-align: right;">Hostname:</td><td>{{ @vhost_array.virtualhost }}</td></tr>
<tr><td style="text-align: right;">Hostname:</td><td>
<check if="isset(@cert_array)">
<true>{{ @vhost_array.virtualhost }}</true>
<false>
<check if="{{ @dnsinfo.a.status=='Verified' }}">
<true>{{ @vhost_array.virtualhost }}</true>
<false>{{ @dnsinfo.server_addr }}</false>
</check>
</false>
</check>
</td></tr>
<tr><td style="text-align: right;">Username:</td><td>{{ @vhost_array.username }}</td></tr>
<tr><td style="text-align: right;">Password:</td><td><span class="hidden">{{ @users_array.passwd }}</span> <small>&larr; hover mouse here to reveal</small></td></tr>
<tr><td style="text-align: right;">Directory:</td><td>/srv/www/{{ @vhost_array.virtualhost }}/html/</td></tr>