dnmgmt/templates/domains/overview.html

57 lines
1.5 KiB
HTML
Raw Normal View History

2017-03-14 20:18:57 +01:00
{% extends "base.html" %}
{% block content %}
<div class="row">
<div class="col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">Resource Requests</div>
<div class="panel-body">
<p>
Your nameservers (<a href="{% url "domains:nameserver-create" %}">New nameserver</a>)
2017-03-15 02:22:08 +01:00
<table class="table">
<tr>
<th>Nameserver</th>
<th>Glue IPv4</th>
<th>Glue IPv6</th>
<th>MNTs</th>
<th></th>
</tr>
2017-03-14 20:18:57 +01:00
{% for nameserver in nameservers %}
2017-03-15 02:22:08 +01:00
<tr>
<td><a href="{% url "domains:nameserver-show" nameserver.name %}">{{ nameserver.name }}</a></td>
<td></td>
<td></td>
<td></td>
<td><a href="{% url "domains:nameserver-edit" nameserver.name %}">Edit</a> <a href="{% url "domains:nameserver-delete" nameserver.name %}">Delete</a></td>
</tr>
2017-03-14 20:18:57 +01:00
{% endfor %}
2017-03-15 02:22:08 +01:00
</table>
2017-03-14 20:18:57 +01:00
</p>
<p>
Your domains (<a href="{% url "domains:domain-create" %}">New domain</a>)
2017-03-15 02:22:08 +01:00
<table class="table">
<tr>
<th>Domain</th>
<th>Nameserver</th>
<th>Glue IPv6</th>
<th>MNTs</th>
<th></th>
</tr>
2017-03-14 20:18:57 +01:00
{% for domain in domains %}
2017-03-15 02:22:08 +01:00
<tr>
<td><a href="{% url "domains:domain-show" domain.name %}">{{ domain.name }}</a></td>
<td></td>
<td></td>
<td></td>
<td><a href="{% url "domains:domain-edit" domain.name %}">Edit</a> <a href="{% url "domains:domain-delete" domain.name %}">Delete</a></td>
</tr>
2017-03-14 20:18:57 +01:00
{{ domain }}<br />
{% endfor %}
2017-03-15 02:22:08 +01:00
</table>
2017-03-14 20:18:57 +01:00
</div>
</div>
</div>
</div>
{% endblock %}