make every cancel/delete action link a button
This commit is contained in:
parent
7a83de8c84
commit
448d18f8f9
|
@ -97,7 +97,7 @@ Add record in {{ zone_name }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit" class="btn">Save Changes</button>
|
<button type="submit" class="btn">Save Changes</button>
|
||||||
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a>
|
<button class="btn btn-warning"><a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a></buton>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock body %}
|
{% endblock body %}
|
||||||
|
|
|
@ -41,7 +41,7 @@ Delete record(s) in {{ zone_name }}
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<button type="submit" class="btn">Yes, I really want to delete them.</button>
|
<button type="submit" class="btn">Yes, I really want to delete them.</button>
|
||||||
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a>
|
<button class="btn btn-warning"><a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a></button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -9,6 +9,8 @@ Zone listing for {{ zone_name }} on {{ dns_server }}
|
||||||
{% if not errors %}
|
{% if not errors %}
|
||||||
<form action="{% url "delete_record" %}" method="post">{% csrf_token %}
|
<form action="{% url "delete_record" %}" method="post">{% csrf_token %}
|
||||||
<table class="table table-hover sortable">
|
<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>
|
<tr>
|
||||||
<th>Select</th>
|
<th>Select</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
@ -47,8 +49,7 @@ Zone listing for {{ zone_name }} on {{ dns_server }}
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<a href="{% url "add_record" dns_server=dns_server zone_name=zone_name %}">Add Record</a>
|
<button class="btn btn-danger" type="submit">Delete Selected</button>
|
||||||
<button type="submit" class="btn">Delete Selected</button>
|
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock body %}
|
{% endblock body %}
|
||||||
|
|
Loading…
Reference in New Issue