Commit d728c068 authored by guanghongwei's avatar guanghongwei

修改bug

parent b5242070
...@@ -7,7 +7,6 @@ ...@@ -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 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment