<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
    <div class="span2">
          	<div class="sidebar">
	            <ul class="nav nav-pills nav-stacked sidenav">
	              <li <c:if test="${subMenu eq 'list' }">class='active'</c:if>><a href="javascript:void(0)" onclick="changMenu('examPaper', 'list', '/examPaper/list')"><i class="icon-edit icon-white"></i> 试卷检索</a></li>
	              <li <c:if test="${subMenu eq 'stock' }">class='active'</c:if>><a href="javascript:void(0)" onclick="changMenu('examPaper', 'stock', '/examPaper/stock')"><i class="icon-edit icon-white"></i> 库存信息</a></li>
		          <li <c:if test="${subMenu eq 'batch' }">class='active'</c:if>><a href="javascript:void(0)" onclick="changMenu('examPaper', 'batch', '/examPaper/batch')"><i class="icon-edit icon-white"></i> 批次管理</a></li>
				  
				   <li <c:if test="${subMenu eq 'setting' }">class='active'</c:if>><a href="javascript:void(0)" onclick="changMenu('examSetting', 'setting', '/examSetting/setting')"><i class="icon-edit icon-white "></i><span> 文件过滤</span></a></li>
		          <security:authorize ifAnyGranted="SYS_ADMIN">
		          <li <c:if test="${subMenu eq 'pswSetting' }">class='active'</c:if>><a href="javascript:void(0)" onclick="changMenu('examSetting', 'pswSetting', '/examSetting/pswSetting')"><i class="icon-edit icon-white"></i><span> 密码管理</span></a></li>
		          <li <c:if test="${subMenu eq 'backups' }">class='active'</c:if>><a href="javascript:void(0)" onclick="changMenu('examSetting', 'backups', '/examSetting/backups')"><i class="icon-edit icon-white"></i><span> 备份还原</span></a></li>
		          </security:authorize>
		          
				  <security:authorize ifAnyGranted="SYS_ADMIN">
		          <li <c:if test="${subMenu eq 'userlist' }">class='active'</c:if>><a href="javascript:void(0)" onclick="changMenu('user', 'userlist', '/user/list')"><i class="icon-edit icon-white"></i> 用户管理</a></li>
		          </security:authorize>
		          
	              <li <c:if test="${subMenu eq 'info' }">class='active'</c:if>><a href="javascript:void(0)" onclick="changMenu('user', 'info', '/user/info')"><i class="icon-edit icon-white"></i> 个人信息</a></li>
	              
	            </ul>
			</div>
    </div>