修改bug

pull/2/head
guanghongwei 2014-11-03 10:57:23 +08:00
parent b52420708e
commit d728c06851
1 changed files with 5 additions and 6 deletions

View File

@ -7,7 +7,6 @@
<thead> <thead>
<tr> <tr>
<th><input onclick="selectAll()" type="checkbox" name="select_all" style="select_all" id="select_all"/></th> <th><input onclick="selectAll()" type="checkbox" name="select_all" style="select_all" id="select_all"/></th>
<th>id</th>
<th>用户名</th> <th>用户名</th>
<th>主机</th> <th>主机</th>
<th>监控</th> <th>监控</th>
@ -36,16 +35,16 @@
</form> </form>
<nav> <nav>
<ul class="pager"> <ul class="pager">
{% if contacts.has_previous %} {% if logs.has_previous %}
<li><a href="?page={{ contacts.previous_page_number }}">上一页</a></li> <li><a href="?page={{ logs.previous_page_number }}">上一页</a></li>
{% endif %} {% endif %}
<span class="current"> <span class="current">
Page {{ contacts.number }} of {{ contacts.paginator.num_pages }}. Page {{ logs.number }} of {{ logs.paginator.num_pages }}.
</span> </span>
{% if contacts.has_next %} {% if logs.has_next %}
<li><a href="?page={{ contacts.next_page_number }}">下一页</a></li> <li><a href="?page={{ logs.next_page_number }}">下一页</a></li>
{% endif %} {% endif %}
</ul> </ul>
</nav> </nav>