wip: first integration of rewritten engine into canvas
[fnpeditor.git] / src / editor / modules / nodeBreadCrumbs / template.html
1 <div class="rng-module-nodeBreadCrumbs">
2     <ul class="breadcrumb">
3     <% if(node && parents) { %>
4         <% for(var i = parents.length - 1; i >= 0; i--) { %>
5             <li><a href="#"> <%= tagNames[parents[i].getWlxmlTag()] %><% if(parents[i].getWlxmlClass()) { %>.<%= classNames[parents[i].getWlxmlClass()] %> <% } %></a><span class="divider">/</span></li>
6         <% } %>
7             <li class="active"><%= tagNames[node.getWlxmlTag()] %><% if(node.getWlxmlClass()) { %>.<%= classNames[node.getWlxmlClass()] %> <% } %></span></li>
8     <% } %>
9     </ul>
10 </div>