Obsolete
/
dnsmanagerv1
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dnsmanagerv1/www/views/details.tt

95 lines
2.0 KiB
Plaintext

<% include header.tt %>
<% include sidebar.tt %>
<div id="page">
<h3>Fichier de zone de <% domain %></h3>
<% IF expert %>
<form class="form" action='/domain/update/<% domain %>' method="post" >
<textarea name="zoneupdated" rows="20" cols="100"><% domain_zone %></textarea>
<br />
<input type="submit" value="Mettre à jour la zone" />
</form>
<a href='/domain/details/<% domain %>' >Easy Mode</a>
<% ELSE %>
<table border=1 >
<caption>
<td>Name</td>
<td>Class</td>
<td>Type</td>
<td>Host</td>
<td>TTL</td>
</caption>
<% FOREACH address in ns %>
<tr>
<td><% address.name %></td>
<td><% address.class %></td>
<td>NS</td>
<td><% address.host %></td>
<td><% address.ttl %></td>
</tr>
<% END %>
<% FOREACH address in a %>
<tr>
<td><% address.name %></td>
<td><% address.class %></td>
<td>A</td>
<td><% address.host %></td>
<td><% address.ttl %></td>
</tr>
<% END %>
<% FOREACH address in aaaa %>
<tr>
<td><% address.name %></td>
<td><% address.class %></td>
<td>AAAA</td>
<td><% address.host %></td>
<td><% address.ttl %></td>
</tr>
<% END %>
<% FOREACH address in cname %>
<tr>
<td><% address.name %></td>
<td><% address.class %></td>
<td>CNAME</td>
<td><% address.host %></td>
<td><% address.ttl %></td>
</tr>
<% END %>
<% FOREACH address in ptr %>
<tr>
<td><% address.name %></td>
<td><% address.class %></td>
<td>PTR</td>
<td><% address.host %></td>
<td><% address.ttl %></td>
</tr>
<% END %>
<% FOREACH address in mx %>
<tr>
<td><% address.name %></td>
<td><% address.class %></td>
<td>MX</td>
<td><% address.host %> (<% address.priority %>)</td>
<td><% address.ttl %></td>
</tr>
<% END %>
</table>
<a href='/domain/details/<% domain %>?expert=1'>Expert Mode</a>
<% END %>
</div>
</div> <!-- fin de colonne -->
</div> <!-- fin de ligne -->