summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/hostbase/webtemplates/zoneview.html
blob: e4a3a3fde8c75bd5f20c9b9e9afc1d98c15e4548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{% extends "base.html" %}

{% block pagebanner %}
  <div class="header">
      <h2>Zones</h2>
      <p>Hostbase generates DNS zone files for the following zones.
  </div>
  <br/>
{% endblock %}

{% block sidebar %}
{% include "navbar" %}
<ul class="sidebar">
<li><a href="/hostbase/zones/{{ zone.id }}/edit/" class="sidebar">edit zone</a><br>
</li>
</ul>
{% include "logout" %}
{% endblock %}

{% block content %}
<table border="0" width="100%">
   <colgroup>
   <col width="200">
   <col width="*">
   <tr> <td> <b>zone</b></td>
   <td> {{ zone.zone }}</td></tr>			 
   <tr> <td> <b>serial</b></td>
   <td> {{ zone.serial }}</td></tr>
   <tr> <td> <b>admin</b></td>
   <td> {{ zone.admin }}</td></tr>
   <tr> <td> <b>primary_master</b></td>
   <td> {{ zone.primary_master }}</td></tr>
   <tr> <td> <b>expire</b></td>
   <td> {{ zone.expire }}</td></tr>
   <tr> <td> <b>retry</b></td>
   <td> {{ zone.retry }}</td></tr>
   <tr> <td> <b>refresh</b></td>
   <td> {{ zone.refresh }}</td></tr>
   <tr> <td> <b>ttl</b></td>
   <td> {{ zone.ttl }}</td></tr>

   <tr><td valign="top"> <b>nameservers</b></td>
   <td>
   {% for nameserver in nameservers %}
   {{ nameserver.name }}<br>
   {% endfor %}
   </td></tr>
   <tr><td valign="top"> <b>mxs</b></td>
   <td>
   {% for mx in mxs %}
   {{ mx.priority }} {{ mx.mx }}<br>
   {% endfor %}
   </td></tr>
   {% if addresses %}
   <tr><td valign="top"> <b>A records</b></td>
   <td>
   {% for address in addresses %}
   {{ address.ip_addr }}<br>
   {% endfor %}
   </td></tr>
   {% endif %}

   <tr> <td valign="top"> <b>aux</b></td>
   <td> 
   {{ zone.aux|linebreaksbr }}
   </td></tr>

</table>
<br><br>
{% endblock %}