Make some of the html tag inheritance with tr, div, script and body more correct.
This commit is contained in:
parent
a7b531cf9b
commit
412b75b8cb
|
@ -7,8 +7,11 @@
|
|||
</head>
|
||||
{% endblock header %}
|
||||
|
||||
<div class="row-fluid">
|
||||
<body>
|
||||
<script src="http://code.jquery.com/jquery.js"></script>
|
||||
<script src="{{ STATIC_URL }}bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
{% block navigation %}
|
||||
<ul class="nav nav-list">
|
||||
|
@ -20,10 +23,6 @@
|
|||
</div>
|
||||
|
||||
<div class="span10">
|
||||
<body>
|
||||
<script src="http://code.jquery.com/jquery.js"></script>
|
||||
<script src="{{ STATIC_URL }}bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<div class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<a class="brand" href="#">
|
||||
|
@ -45,9 +44,10 @@
|
|||
|
||||
{% block body %}
|
||||
{% endblock body %}
|
||||
</body>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
||||
{% block footer %}
|
||||
{% endblock footer %}
|
||||
|
|
|
@ -7,6 +7,7 @@ Zone listing for {{ zone_name }}
|
|||
{% block body %}
|
||||
|
||||
{% if not errors %}
|
||||
<form action="/delete_record/" method="post">{% csrf_token %}
|
||||
<table class="table table-hover">
|
||||
<tr>
|
||||
<th>Select</th>
|
||||
|
@ -18,7 +19,6 @@ Zone listing for {{ zone_name }}
|
|||
<th></th>
|
||||
</tr>
|
||||
|
||||
<form action="/delete_record/" method="post">{% csrf_token %}
|
||||
<input type="hidden" name="dns_server" value="{{ dns_server }}">
|
||||
<input type="hidden" name="zone_name" value="{{ zone_name }}">
|
||||
{% for current_record in zone_array %}
|
||||
|
@ -45,7 +45,9 @@ Zone listing for {{ zone_name }}
|
|||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
<td colspan="7"><a href="/add_record/{{ dns_server }}/{{ zone_name }}/">Add Record</a></td>
|
||||
<tr>
|
||||
<td colspan="7"><a href="/add_record/{{ dns_server }}/{{ zone_name }}/">Add Record</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" value="Delete Selected"/>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue