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>
|
</head>
|
||||||
{% endblock header %}
|
{% 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">
|
<div class="span2">
|
||||||
{% block navigation %}
|
{% block navigation %}
|
||||||
<ul class="nav nav-list">
|
<ul class="nav nav-list">
|
||||||
|
@ -20,10 +23,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="span10">
|
<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">
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
<a class="brand" href="#">
|
<a class="brand" href="#">
|
||||||
|
@ -45,9 +44,10 @@
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% endblock body %}
|
{% endblock body %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
{% endblock footer %}
|
{% endblock footer %}
|
||||||
|
|
|
@ -7,6 +7,7 @@ Zone listing for {{ zone_name }}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
{% if not errors %}
|
{% if not errors %}
|
||||||
|
<form action="/delete_record/" method="post">{% csrf_token %}
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Select</th>
|
<th>Select</th>
|
||||||
|
@ -18,7 +19,6 @@ Zone listing for {{ zone_name }}
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<form action="/delete_record/" method="post">{% csrf_token %}
|
|
||||||
<input type="hidden" name="dns_server" value="{{ dns_server }}">
|
<input type="hidden" name="dns_server" value="{{ dns_server }}">
|
||||||
<input type="hidden" name="zone_name" value="{{ zone_name }}">
|
<input type="hidden" name="zone_name" value="{{ zone_name }}">
|
||||||
{% for current_record in zone_array %}
|
{% for current_record in zone_array %}
|
||||||
|
@ -45,7 +45,9 @@ Zone listing for {{ zone_name }}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
<tr>
|
||||||
<td colspan="7"><a href="/add_record/{{ dns_server }}/{{ zone_name }}/">Add Record</a></td>
|
<td colspan="7"><a href="/add_record/{{ dns_server }}/{{ zone_name }}/">Add Record</a></td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<input type="submit" value="Delete Selected"/>
|
<input type="submit" value="Delete Selected"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue