2011-04-14 19:29:58 +00:00
|
|
|
{% extends "base.htm" %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
2011-04-15 00:43:04 +00:00
|
|
|
<table>
|
|
|
|
<tr>
|
2011-04-23 02:29:45 +00:00
|
|
|
<th></th>
|
2011-04-15 00:43:04 +00:00
|
|
|
<th>Name</th>
|
|
|
|
<th>TTL</th>
|
|
|
|
<th>Class</th>
|
|
|
|
<th>Type</th>
|
|
|
|
<th>Data</th>
|
|
|
|
</tr>
|
|
|
|
|
2011-04-25 02:11:43 +00:00
|
|
|
<form action="/delete_record/" method="post">{% csrf_token %}
|
2011-04-23 02:29:45 +00:00
|
|
|
<input type="hidden" name="rr_server" value="{{ rr_server }}">
|
2011-04-25 02:11:43 +00:00
|
|
|
<input type="hidden" name="rr_domain" value="{{ rr_domain }}">
|
2011-04-14 19:29:58 +00:00
|
|
|
{% for current_record in record_array %}
|
2011-04-15 00:43:04 +00:00
|
|
|
<tr>
|
2011-11-25 12:58:43 +00:00
|
|
|
<td><input type="checkbox" name="rr_array" value="{{ current_record.rr_name }}.{{ rr_domain }}"></td>
|
2011-04-15 00:43:04 +00:00
|
|
|
<td>{{ current_record.rr_name }}</td>
|
|
|
|
<td>{{ current_record.rr_ttl }}</td>
|
|
|
|
<td>{{ current_record.rr_class }}</td>
|
|
|
|
<td>{{ current_record.rr_type }}</td>
|
|
|
|
<td>{{ current_record.rr_data }}</td>
|
|
|
|
</tr>
|
2011-04-14 19:29:58 +00:00
|
|
|
{% endfor %}
|
2011-04-23 20:23:25 +00:00
|
|
|
<td colspan="6" align="right"><a href="/add_record/{{ rr_server }}/{{ rr_domain }}/">Add Record</a></td>
|
2011-04-15 00:43:04 +00:00
|
|
|
</table>
|
2011-04-23 02:29:45 +00:00
|
|
|
<input type="submit" value="Delete Selected"/>
|
|
|
|
</form>
|
2011-04-14 19:29:58 +00:00
|
|
|
|
|
|
|
{% endblock body %}
|