Delete Host / Update other Services - swap columns on UI

This commit is contained in:
Thomas Waldmann 2013-12-01 13:05:17 +01:00
parent 2c5e756f15
commit b74b280b63

View File

@ -11,10 +11,12 @@
{{ form|bootstrap }} {{ form|bootstrap }}
<button type="submit" class="btn btn-primary">Update</button> <button type="submit" class="btn btn-primary">Update</button>
</form> </form>
<h3>Update other Services</h3> <h3>Delete Host</h3>
<p>We can send updates to other services when we receive an update from you.</p> <p>
<form action="{% url 'updater_hostconfig_overview' host.pk %}" method="get"> Deleting a host is not undoable. If you need it back, you'll have to add it again and configure a new update secret.
<button type="submit" class="btn btn-primary">Configure Updaters</button> </p>
<form method="get" action="{% url 'delete_host' host.pk %}">
<button type="submit" class="btn btn-primary">Delete host</button>
</form> </form>
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
@ -40,12 +42,10 @@
<form action="{% url 'generate_secret_view' host.pk %}" method="get"> <form action="{% url 'generate_secret_view' host.pk %}" method="get">
<button type="submit" class="btn btn-primary">Generate New</button> <button type="submit" class="btn btn-primary">Generate New</button>
</form> </form>
<h3>Delete Host</h3> <h3>Update other Services</h3>
<p> <p>We can send updates to other services when we receive an update from you.</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. <form action="{% url 'updater_hostconfig_overview' host.pk %}" method="get">
</p> <button type="submit" class="btn btn-primary">Configure Updaters</button>
<form method="get" action="{% url 'delete_host' host.pk %}">
<button type="submit" class="btn btn-primary">Delete host {{ host.get_fqdn }}</button>
</form> </form>
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">