diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-27 22:23:58 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-27 22:23:58 +0000 |
commit | a9abc440cc0c411f9975e1827d71776364bdb659 (patch) | |
tree | 0349ee555b0d16a24ca5f911b3e329fa530a02e5 /src/lib/Server/Hostbase/hostbase/webtemplates/zones.html | |
parent | 82c3087ee2cf83c423127c348b6b5a12461242dd (diff) | |
download | bcfg2-a9abc440cc0c411f9975e1827d71776364bdb659.tar.gz bcfg2-a9abc440cc0c411f9975e1827d71776364bdb659.tar.bz2 bcfg2-a9abc440cc0c411f9975e1827d71776364bdb659.zip |
changes in database models for zone information
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2335 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/zones.html')
-rw-r--r-- | src/lib/Server/Hostbase/hostbase/webtemplates/zones.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/zones.html b/src/lib/Server/Hostbase/hostbase/webtemplates/zones.html new file mode 100644 index 000000000..dcf9a3431 --- /dev/null +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/zones.html @@ -0,0 +1,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" %} +{% endblock %} + +{% block content %} + +{% if zones %} +<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 zones %} + <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 %} + |