界面框架初步提交
This commit is contained in:
89
src/main/webapp/WEB-INF/include/left_menu.jsp
Normal file
89
src/main/webapp/WEB-INF/include/left_menu.jsp
Normal file
@@ -0,0 +1,89 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/include/taglib.jsp"%>
|
||||
|
||||
|
||||
|
||||
<c:forEach items="${fns:getLeftMenuTreeList()}" var="menu" varStatus="idxStatus">
|
||||
|
||||
<ul id="menu_${menu.id }" class="hide accordion page-sidebar-menu page-header-fixed page-sidebar-menu-light"
|
||||
data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200">
|
||||
|
||||
<c:if test="${not empty menu.children }">
|
||||
<c:forEach items="${menu.children}" var="secondMenu" varStatus="secondStatus">
|
||||
|
||||
<li class="nav-item <c:if test="${secondStatus.index==0 }"> active open</c:if>">
|
||||
|
||||
<a class="nav-link nav-toggle"
|
||||
|
||||
<c:if test="${secondMenu.href != null && secondMenu.href != ''}" var="secondHref">
|
||||
href="${ctx}/${secondMenu.href }" target="mainFrame" >
|
||||
</c:if>
|
||||
<c:if test="${!secondHref }">
|
||||
href="javascript:;" class="nav-link nav-toggle">
|
||||
</c:if>
|
||||
|
||||
<i class="${secondMenu.icon }"></i>
|
||||
<span class="title"> ${secondMenu.name } <%-- <spring:message code="${secondMenu.code}"></spring:message> --%></span>
|
||||
<c:if test="${not empty secondMenu.children }" var="secondClid">
|
||||
<span class="arrow open"></span>
|
||||
</c:if>
|
||||
</a>
|
||||
|
||||
|
||||
<c:if test="${secondClid}">
|
||||
<ul class="sub-menu">
|
||||
|
||||
<c:forEach items="${secondMenu.children}" var="thirdMenu" varStatus="thirdStatus">
|
||||
|
||||
|
||||
<li class="nav-item <c:if test="${not empty thirdMenu.children && thirdStatus.index==0}">active open</c:if>">
|
||||
|
||||
<a class="nav-link nav-toggle"
|
||||
|
||||
<c:if test="${thirdMenu.href != null && thirdMenu.href != ''}" var="thirdHref">
|
||||
href="${ctx}/${thirdMenu.href }" target="mainFrame" >
|
||||
</c:if>
|
||||
<c:if test="${!thirdHref }">
|
||||
href="javascript:;" class="nav-link nav-toggle">
|
||||
</c:if>
|
||||
|
||||
<span class="title">${thirdMenu.name } <%-- <spring:message code="${thirdMenu.code}"></spring:message> --%></span>
|
||||
<c:if test="${not empty thirdMenu.children }" var="thiredClid">
|
||||
<span class="arrow open"></span>
|
||||
</c:if>
|
||||
</a>
|
||||
|
||||
<c:if test="${thiredClid}">
|
||||
<ul class="sub-menu">
|
||||
<c:forEach items="${thirdMenu.children}" var="fourthMenu">
|
||||
<li class="nav-item">
|
||||
<a href="${ctx}/${fourthMenu.href }" target="mainFrame" class="nav-link ">
|
||||
${fourthMenu.name } <%-- <spring:message code="${fourthMenu.code}"></spring:message> --%>
|
||||
<!-- <span class="badge badge-danger">1</span> -->
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</c:forEach>
|
||||
</ul>
|
||||
</c:if>
|
||||
</li>
|
||||
|
||||
</c:forEach>
|
||||
</ul>
|
||||
</c:if>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</c:forEach>
|
||||
|
||||
</c:if>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</c:forEach>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user