summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/hostbase/webtemplates/zones.html
blob: 405b748f928db079561b338e945b63a45f9802aa (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
{% 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" %}
{% include "logout" %}
{% endblock %}

{% block content %}
{% if zone_list %}
<table border="0" width="100%">
   <colgroup>
   <col width="200">
   <col width="75">
   <col width="50">
   <col width="*">
   <tr> <td><b>zone</b></td>
   </tr>
   {% for zone in zone_list|dictsort:"zone" %}
   <tr> <td> {{ zone.zone }}</td>
   <td> <a href="{{ zone.id }}">view</a> </td>
   <td> <a href="{{ zone.id }}/edit">edit</a> </td>
   </tr>
   {% endfor %}
</table>
{% else %}
There is no zone data currently in the database<br>
{% endif %}
{% endblock %}