<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %> <%@ taglib uri="tags-lams" prefix="lams" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-function" prefix="fn" %> <%@ taglib uri="tags-html" prefix="html" %> <%@ taglib uri="tags-logic" prefix="logic" %> <fmt:message key="title.lams"/> :: <fmt:message key="planner.title" />
<%-- We might need to alter that for RTL layout --%>

<%-- Errors are displayed at the top of the page --%>


<%-- List of the existing nodes --%>
<%-- This part creates path like "> Root > Some node > Some subnode" with links to upper level nodes --%> <%-- Always add root node at the beginning --%> > <%-- Iterate through subnodes, if any --%> > " onclick="javascript:filterNodes('${filterNodeUrl}',false)" />
<%-- List of subnodes --%> <%-- If the list of subnodes is empty, we display only a message --%> <%-- Iterate through subnodes --%> <%-- Width is in percent, otherwise IE does not display it as desired --%>
<%-- Title and full description of the node, only if we are not in filtering mode--%>

<%-- If we are not in the edit mode and the node leads to a template rather then subnodes, we display links --%>
"> ">
${node.fullDescription}
<%-- Filter mode: what were we looking for and in what node --%>

<%-- Cell with icons (info or actions like remove node) --%> <%-- If we are in the edit mode (and not in filter mode), we display remove and move up/down images --%> " onclick="javascript:leaveNodeEditor('','${removeNodeUrl}')" /> " onclick="javascript:leaveNodeEditor(null,'${upNodeUrl}')" /> " onclick="javascript:leaveNodeEditor(null,'${downNodeUrl}')" /> <%-- Link to the subnode and its brief description below --%>
"> ">
<%-- If we are in filter mode, we display the path where was the subnode found --%> <%-- Always add root node at the beginning --%> > <%-- Iterate through subnodes, if any --%> >
${subnode.briefDescription}
<%-- Form for editing the node --%>
<%-- Do we edit the current node or create a subnode? --%> <%-- Import node form --%>

" class="button" />
<%-- If the node is locked i.e. comes with LAMS distribution, we do not allow editing --%>

<%-- If we are in the create subnode mode, the node we edit is actually the new subnode rather the parent node itself --%>





<%-- DIVs below are displayed/hidden depending of the subnode type: containing subnodes or opening a template --%>
<%-- DIV with "Browse" button to find the template --%>
style="display: none;" > ${node.fileName}


<%-- Buttons below --%>