PartMenuView.html 607 Bytes
Newer Older
1
<% var latticeData = allLattices[cellType].connection[connectionType].type[latticeType]; %>
2
3
Part Type: &nbsp;&nbsp;
    <div class="btn-group">
4
        <button data-toggle="dropdown" class="btn dropdown-toggle" type="button"><%= latticeData.parts[partType].name %><span class="caret"></span></button>
5
        <ul role="menu" class="dropdown-menu">
6
7
            <% _.each(latticeData.parts, function(val, key){ %>
                <li><a class="lattice dropdownSelector" data-property="partType" data-value="<%= key %>" href="#"><%= val.name %></a></li>
8
9
            <% }); %>
        </ul>
10
    </div><br/><br/>