Domain / Host view: rearrange functional blocks
This commit is contained in:
parent
8e9b272c70
commit
1536ffae1e
@ -15,6 +15,12 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h3>Generate New Secret</h3>
|
||||
<p>You can generate a new shared secret here. If you do so, you have to put it into your nameserver config also.
|
||||
We'll show you an example config...</p>
|
||||
<form action="{% url 'generate_ns_secret_view' domain.pk %}" method="get">
|
||||
<button type="submit" class="btn btn-primary">Generate New</button>
|
||||
</form>
|
||||
<h3>Delete Domain</h3>
|
||||
<p>
|
||||
Deleting a domain is not undoable. If you need it back, you'll have to add it again and configure a new shared secret.
|
||||
@ -22,12 +28,6 @@
|
||||
<form method="get" action="{% url 'delete_domain' domain.pk %}">
|
||||
<button type="submit" class="btn btn-primary">Delete domain {{ domain.domain }}</button>
|
||||
</form>
|
||||
<h3>Generate New Secret</h3>
|
||||
<p>You can generate a new shared secret here. If you do so, you have to put it into your nameserver config also.
|
||||
We'll show you an example config...</p>
|
||||
<form action="{% url 'generate_ns_secret_view' domain.pk %}" method="get">
|
||||
<button type="submit" class="btn btn-primary">Generate New</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -13,13 +13,6 @@
|
||||
{{ form|bootstrap }}
|
||||
<button type="submit" class="btn btn-primary">Update</button>
|
||||
</form>
|
||||
<h3>Delete Host</h3>
|
||||
<p>
|
||||
Deleting a host is not undoable. If you need it back, you'll have to add it again and configure a new update secret.
|
||||
</p>
|
||||
<form method="get" action="{% url 'delete_host' host.pk %}">
|
||||
<button type="submit" class="btn btn-primary">Delete host {{ host.get_fqdn }}</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h3>Generate New Secret</h3>
|
||||
@ -27,6 +20,13 @@
|
||||
<form action="{% url 'generate_secret_view' host.pk %}" method="get">
|
||||
<button type="submit" class="btn btn-primary">Generate New</button>
|
||||
</form>
|
||||
<h3>Delete Host</h3>
|
||||
<p>
|
||||
Deleting a host is not undoable. If you need it back, you'll have to add it again and configure a new update secret.
|
||||
</p>
|
||||
<form method="get" action="{% url 'delete_host' host.pk %}">
|
||||
<button type="submit" class="btn btn-primary">Delete host {{ host.get_fqdn }}</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h3>Update Nameserver Entry</h3>
|
||||
|
Loading…
x
Reference in New Issue
Block a user