Merge branch 'Dunedan-form-cancel-buttons'
This commit is contained in:
commit
84704d879e
|
@ -64,6 +64,7 @@ Add CNAME record for {{ originating_record }}
|
|||
</div>
|
||||
|
||||
<button type="submit" class="btn">Save Changes</button>
|
||||
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a>
|
||||
</form>
|
||||
|
||||
{% endblock body %}
|
||||
|
|
|
@ -97,6 +97,7 @@ Add record in {{ zone_name }}
|
|||
</div>
|
||||
|
||||
<button type="submit" class="btn">Save Changes</button>
|
||||
<button class="btn btn-warning"><a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a></buton>
|
||||
</form>
|
||||
|
||||
{% endblock body %}
|
||||
|
|
|
@ -40,7 +40,8 @@ Delete record(s) in {{ zone_name }}
|
|||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="Yes, I really want to delete them."/>
|
||||
<button type="submit" class="btn">Yes, I really want to delete them.</button>
|
||||
<button class="btn btn-warning"><a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a></button>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
|
|
@ -9,6 +9,8 @@ Zone listing for {{ zone_name }} on {{ dns_server }}
|
|||
{% if not errors %}
|
||||
<form action="{% url "delete_record" %}" method="post">{% csrf_token %}
|
||||
<table class="table table-hover sortable">
|
||||
<button class="btn btn-default"><a href="{% url "add_record" dns_server=dns_server zone_name=zone_name %}">Add Record</a></button>
|
||||
|
||||
<tr>
|
||||
<th>Select</th>
|
||||
<th>Name</th>
|
||||
|
@ -47,8 +49,7 @@ Zone listing for {{ zone_name }} on {{ dns_server }}
|
|||
|
||||
</table>
|
||||
|
||||
<a href="{% url "add_record" dns_server=dns_server zone_name=zone_name %}">Add Record</a>
|
||||
<input type="submit" value="Delete Selected"/>
|
||||
<button class="btn btn-danger" type="submit">Delete Selected</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endblock body %}
|
||||
|
|
Loading…
Reference in New Issue