123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- {% extends "base.html" %}
- {% block title %}
- group List
- {% endblock %}
- {% block content %}
- <div class="btn-toolbar">
- <div class="btn-group">
- {% url "adduserurl" as theadduserurl %}
- <a class="btn btn-default {%if request.path = theadduserurl%} active {%endif%}" href={{ theadduserurl }}><span class="glyphicon glyphicon-edit"></span>新建用户</a>
- {% url "listuserurl" as thelistuserurl %}
- <a class="btn btn-default {%if request.path = thelistuserurl%} active {%endif%}" href={{ thelistuserurl }}><span class="glyphicon glyphicon-list"></span>用户列表</a>
- {% url "addxlsuserurl" as theaddxlsuserurl %}
- <a class="btn btn-default {%if request.path = theaddxlsuserurl%} active {%endif%}" href={{ theaddxlsuserurl }}><span class="glyphicon glyphicon-list"></span>批量导入</a>
- {% url "removegroupsurl" as theremovegroupsurl %}
- <a class="btn btn-default {%if request.path = theremovegroupsurl%} active {%endif%}" href={{ theremovegroupsurl }}><span class="glyphicon glyphicon-list"></span>批量删除</a>
- </div>
- </div>
- <hr/>
- <table class="table table-hover table-striped table-bordered table-condensed">
- <tr>
- <th>分组ID</th>
- <th>分组名称</th>
- <th>操作</th>
- </tr>
- {% for i in lPage %}
- <tr style="font-size: 13px;">
- <td>{{ i.classid }} </td>
- <td>{{ i.name }} </td>
- <td>
- <a href={% url "editgroupurl" i.id %} onclick="return confirm('确认编辑分组吗??')"><span class="glyphicon glyphicon-edit btn-xs"></span></a>
- <a href={% url "deletegroupurl" i.id %} onclick="return confirm('确认删除分组吗??')"><span class="glyphicon glyphicon-trash btn-xs"></span></a>
- </td>
- </tr>
- {% endfor %}
- </table>
- {% include "common/paginator.html" %}
- {% endblock %}
|