improve rendering of Domains, give key an own row
This commit is contained in:
parent
1cc4236d58
commit
cdb4f9af20
@ -9,24 +9,27 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Domain</th>
|
<th>Domain</th>
|
||||||
<th>Nameserver IP</th>
|
|
||||||
<th>Update key</th>
|
|
||||||
<th>Algorithm</th>
|
|
||||||
<th>Public?</th>
|
<th>Public?</th>
|
||||||
|
<th>Available?</th>
|
||||||
|
<th>Nameserver IP</th>
|
||||||
|
<th>Algorithm</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{% for domain in domains %}
|
{% for domain in domains %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{{ domain.domain }}</b></td>
|
<td rowspan="2" style="vertical-align: middle"><b>{{ domain.domain }}</b></td>
|
||||||
|
<td>{{ domain.public|yesno }}</td>
|
||||||
|
<td>{{ domain.available|yesno }}</td>
|
||||||
<td>{{ domain.nameserver_ip }}</td>
|
<td>{{ domain.nameserver_ip }}</td>
|
||||||
<td>{{ domain.nameserver_update_key }}</td>
|
|
||||||
<td>{{ domain.get_nameserver_update_algorithm_display }}</td>
|
<td>{{ domain.get_nameserver_update_algorithm_display }}</td>
|
||||||
<td>{{ domain.available_for_everyone|yesno }}</td>
|
<td rowspan="2" style="vertical-align: middle">
|
||||||
<td>
|
|
||||||
<a href="{% url 'delete_domain' domain.pk %}"><i class="icon icon-remove"></i> delete</a>
|
<a href="{% url 'delete_domain' domain.pk %}"><i class="icon icon-remove"></i> delete</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="4">Key: {{ domain.nameserver_update_key }}</td>
|
||||||
|
</tr>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<tr><td colspan="6">No domains yet.</td></tr>
|
<tr><td colspan="6">No domains yet.</td></tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user