<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
									<c:forEach items="${list.dataList}" var="menu" varStatus="vs">
										<tr class="table_${menu.parentid}" id="forRemove${menu.menuid}">
											<td width="20%">
												<span level="${menu.level}"  menuid="${menu.menuid }" class="Meunbut" style="margin-left:${(menu.level-1) *20}px;">
												
												
													<i class="fa fa-minus-square" style="margin-right: 10px;"></i>${menu.menucnname}
												
												
												</span>
											</td>
											<td width="20%">${menu.menuurl}</td>
											<td width="10%">${menu.pmenucnname}</td>
											<c:if test="${menu.level == 1}">
												<td width="10%"><i class="${menu.icon}"></i></td>
											</c:if>
											<c:if test="${menu.level != 1}">
												<td width="10%"><i class=""></i></td>
											</c:if>
											<c:choose>
												<c:when test="${menu.menutype =='Page'}"> 
													<td width="10%" ><span class="label label-success">
														<c:out value="页面"/>
													</span></td>
												</c:when>
												<c:when test="${menu.menutype =='Button'}"> 
													<td width="10%"><span class="label label-primary">
													<c:out value="按钮"/>
													</span></td>
												</c:when>
												<c:otherwise > 
													<td><span class="label label-info">
														<c:out value="数据"/>
													</span></td>
												</c:otherwise>
											</c:choose>
											<!-- </span></td> -->
											<td width="10%"><span class="sysmenu_satus_${menu.menuid }">
												<c:choose>
		                            				<c:when test="${menu.isenable}">
		                            					<i class="fa fa-minus text-danger"></i>	
		                            				</c:when>
		                            				<c:otherwise>
		                            					<i class="fa fa-check text-navy"></i>
		                            				</c:otherwise>
	                            				</c:choose>
											</span></td>
											<td width="10%">${menu.createdusername}</td>
											<td width="10%">
												<div class="dropdown">
													<a data-toggle="dropdown" class="dropdown-toggle" href="#">
														<span class="text-muted text-xs block">操作 <b class="caret"></b></span>
													</a>

													<ul class="dropdown-menu animated fadeInRight m-t-xs">
														<li><a href="editMenu?id=${menu.menuid }"
															>编辑</a></li>
														<li><a href="javascript:void(0);" class="sysmenu_enable" 
															menuId="${menu.menuid }" >
															<c:choose>
						                            			<c:when test="${menu.isenable}">
				                            						解冻
				                            					</c:when>
				                            					<c:otherwise>
					                            					冻结
					                            				</c:otherwise>
						                            		</c:choose>	
															</a></li>
														<li><a href="#" onclick= "deleteMenufunc('${menu.menuid }')">删除</a></li>
														<c:if test="${menu.level < 3}">
															<li class="divider"></li>
															<li><a level="${menu.level}"  href="javascript:void(0)" class="moveUp" menuId="${menu.menuid }">上移</a>  </li>
															<li><a level="${menu.level}"  href="javascript:void(0)" class="moveDown" menuId="${menu.menuid }">下移</a>  </li>
														</c:if>
													</ul>
												</div>
											</td>
										</tr>
										</c:forEach>