From cdb4f9af20fef4c3705635881496dc3a3e5754de Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 27 Oct 2013 12:14:21 +0100 Subject: [PATCH] improve rendering of Domains, give key an own row --- .../main/templates/main/domain_overview.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/nsupdate/main/templates/main/domain_overview.html b/nsupdate/main/templates/main/domain_overview.html index 9987ab4..07f2eed 100644 --- a/nsupdate/main/templates/main/domain_overview.html +++ b/nsupdate/main/templates/main/domain_overview.html @@ -9,24 +9,27 @@ Domain - Nameserver IP - Update key - Algorithm Public? + Available? + Nameserver IP + Algorithm Action {% for domain in domains %} - {{ domain.domain }} + {{ domain.domain }} + {{ domain.public|yesno }} + {{ domain.available|yesno }} {{ domain.nameserver_ip }} - {{ domain.nameserver_update_key }} {{ domain.get_nameserver_update_algorithm_display }} - {{ domain.available_for_everyone|yesno }} - + delete + + Key: {{ domain.nameserver_update_key }} + {% empty %} No domains yet. {% endfor %}