From 6a5e67cb9e48a1b96129e5400c1c8f470633b3b3 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 27 Oct 2013 12:46:44 +0100 Subject: [PATCH] simplify host overview even more, move deletion to host view --- nsupdate/main/templates/main/host.html | 7 +++++++ nsupdate/main/templates/main/overview.html | 6 +----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/nsupdate/main/templates/main/host.html b/nsupdate/main/templates/main/host.html index c51c5fe..8a7e4de 100644 --- a/nsupdate/main/templates/main/host.html +++ b/nsupdate/main/templates/main/host.html @@ -13,6 +13,13 @@ {{ form|bootstrap }} +

Delete Host

+

+ Deleting a host is not undoable. If you need it back, you'll have to add it again and configure a new update secret. +

+
+ +

Generate New Secret

diff --git a/nsupdate/main/templates/main/overview.html b/nsupdate/main/templates/main/overview.html index 8b42019..604e972 100644 --- a/nsupdate/main/templates/main/overview.html +++ b/nsupdate/main/templates/main/overview.html @@ -6,7 +6,7 @@

Your Hosts

- + {% for host in hosts %} @@ -14,10 +14,6 @@ - {% empty %} No hosts yet.
HostLast IP UpdateIPv4 AddressIPv6 AddressCommentAction
HostLast IP UpdateIPv4 AddressIPv6 AddressComment
{{ host.subdomain }}.{{ host.domain.domain }}{{ host.getIPv4 }} {{ host.getIPv6 }} {{ host.comment }} - edit | - delete -