{% extends 'TopxiaAdminBundle::layout.html.twig' %}

{% set nav = 'user' %}

{% block content %}
  <div class="col-md-2">
    {% block sidebar %}
      <div class="list-group">
      {#   <a href="{{ url('admin_user') }}" class="list-group-item {% if menu == 'user' %}active{% endif %}">用户管理</a> #}

        <a href="{{ url('admin_student') }}" class="list-group-item {% if menu == 'student' %}active{% endif %}">学生管理</a>

        <a href="{{ url('admin_teacher') }}" class="list-group-item {% if menu == 'teacher' %}active{% endif %}">教师管理</a>

        <a href="{{ url('admin_parent') }}" class="list-group-item {% if menu == 'parent' %}active{% endif %}">家长管理</a>

        <a href="{{ url('admin_admin') }}" class="list-group-item {% if menu == 'admin' %}active{% endif %}">管理员管理</a>
      {#   <a href="{{ url('admin_approval_approving') }}" class="list-group-item {% if menu == 'approval' %}active{% endif %}">实名认证</a> hidden by wenqin #}

        <a href="{{ url('admin_message') }}" class="list-group-item {% if menu == 'message' %}active{% endif %}">私信管理</a>
        
        <a href="{{ url('admin_money_card') }}" class="list-group-item {% if menu == 'money_card' %}active{% endif %}" style="display:none;">充值卡管理</a>

        <a href="{{ url('admin_login_record') }}" class="list-group-item {% if menu == 'login_record' %}active{% endif %}">用户登录日志</a>
      </div>
    {% endblock %}
  </div>
  <div class="col-md-10">
      {% block main %}{% endblock %}
  </div>
{% endblock %}
{% block page_script %} app.load('user') {% endblock %}