| 28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
| 29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
| 30 |
30 |
| 31 <jsp:useBean id="navMenu" type="de.uapcore.lightpit.viewmodel.NavMenu" scope="request" /> |
31 <jsp:useBean id="navMenu" type="de.uapcore.lightpit.viewmodel.NavMenu" scope="request" /> |
| 32 |
32 |
| |
33 <div class="menuEntry level-0"> |
| |
34 <input id="show-all-projects" type="checkbox" <c:if test="${show_all_projects}">checked</c:if> onclick="toggleShowAllProjects()"/> |
| |
35 <label for="show-all-projects"><fmt:message key="navmenu.showall"/> </label> |
| |
36 </div> |
| 33 <c:forEach var="entry" items="${navMenu.entries}"> |
37 <c:forEach var="entry" items="${navMenu.entries}"> |
| 34 <div class="menuEntry level-${entry.level}" |
38 <div class="menuEntry level-${entry.level}" |
| 35 <c:if test="${entry.active}"> data-active </c:if> |
39 <c:if test="${entry.active}"> data-active </c:if> |
| |
40 <c:if test="${entry.hidden}"> data-hidden </c:if> |
| 36 <c:if test="${not empty entry.title}">title="<fmt:message key="${entry.title}"/>" </c:if> |
41 <c:if test="${not empty entry.title}">title="<fmt:message key="${entry.title}"/>" </c:if> |
| 37 > |
42 > |
| 38 <c:if test="${not empty entry.iconColor}"> |
43 <c:if test="${not empty entry.iconColor}"> |
| 39 <c:if test="${entry.iconUseCssClass}"> |
44 <c:if test="${entry.iconUseCssClass}"> |
| 40 <div class="navmenu-icon ${entry.iconColor}"></div> |
45 <div class="navmenu-icon ${entry.iconColor}"></div> |