This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/webapp/WEB-INF/include/left_menu.jsp

90 lines
3.2 KiB
Plaintext
Raw Normal View History

2018-02-02 17:58:32 +08:00
<%@ 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>">
2018-02-06 10:40:59 +08:00
<a class="nav-link nav-toggle"
2018-02-02 17:58:32 +08:00
<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">
2018-02-06 10:40:59 +08:00
</c:if>
2018-02-02 17:58:32 +08:00
<i class="${secondMenu.icon }"></i>
2018-02-06 10:40:59 +08:00
<span class="title">
<%-- ${secondMenu.name } --%> <spring:message code="${secondMenu.code}"></spring:message></span>
2018-02-02 17:58:32 +08:00
<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>">
2018-02-06 10:40:59 +08:00
<a class="nav-link nav-toggle"
2018-02-02 17:58:32 +08:00
<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">
2018-02-06 10:40:59 +08:00
</c:if>
2018-02-02 17:58:32 +08:00
2018-02-06 10:40:59 +08:00
<span class="title">
<%-- ${thirdMenu.name } --%><spring:message code="${thirdMenu.code}"></spring:message></span>
2018-02-02 17:58:32 +08:00
<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 ">
2018-02-06 10:40:59 +08:00
<%-- ${fourthMenu.name } --%> <spring:message code="${fourthMenu.code}"></spring:message>
2018-02-02 17:58:32 +08:00
<!-- <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>