LatticeMenuView.html 3.06 KB
Newer Older
1
2
Cell Type:   
    <div class="btn-group">
3
        <button data-toggle="dropdown" class="btn dropdown-toggle" type="button"><%= allLattices[cellType].name %><span class="caret"></span></button>
4
        <ul role="menu" class="dropdown-menu">
5
6
            <% _.each(allLattices, function(cellTypeData, key){ %>
                <li><a class="lattice dropdownSelector" data-property="cellType" data-value="<%= key %>" href="#"><%= cellTypeData.name %></a></li>
7
8
9
10
11
            <% }); %>
        </ul>
    </div><br/><br/>
Cell Connection:&nbsp;&nbsp;
    <div class="btn-group">
12
        <button data-toggle="dropdown" class="btn dropdown-toggle" type="button"><%= allLattices[cellType].connection[connectionType].name %>-Connected<span class="caret"></span></button>
13
        <ul role="menu" class="dropdown-menu">
14
15
16
17
18
19
20
21
22
23
24
            <% _.each(allLattices[cellType].connection, function(connectionTypeData, key){ %>
                <li><a class="lattice dropdownSelector" data-property="connectionType" data-value="<%= key %>" href="#"><%= connectionTypeData.name %></a></li>
            <% }); %>
        </ul>
    </div><br/><br/>
Type:&nbsp;&nbsp;
    <div class="btn-group">
        <button data-toggle="dropdown" class="btn dropdown-toggle" type="button"><%= allLattices[cellType].connection[connectionType].type[latticeType].name %><span class="caret"></span></button>
        <ul role="menu" class="dropdown-menu">
            <% _.each(allLattices[cellType].connection[connectionType].type, function(latticeTypeData, key){ %>
                <li><a class="lattice dropdownSelector" data-property="latticeType" data-value="<%= key %>" href="#"><%= latticeTypeData.name %></a></li>
25
26
27
            <% }); %>
        </ul>
    </div><br/><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
28
29
30
31
Aspect Ratio:&nbsp;&nbsp;
    <input data-property="aspectRatio" data-key="x" value="<%= aspectRatio.x %>" placeholder="X" class="form-control floatInput" type="text">&nbsp;
    <input data-property="aspectRatio" data-key="y" value="<%= aspectRatio.y %>" placeholder="Y" class="form-control floatInput" type="text">&nbsp;
    <input data-property="aspectRatio" data-key="z" value="<%= aspectRatio.z %>" placeholder="Z" class="form-control floatInput" type="text"><br/><br/>
32
<% if (connectionType == "gik") { %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
33
    GIK Length:&nbsp;&nbsp;<input data-property="gikLength" value="<%= gikLength %>" placeholder="GIK length" class="form-control intInput appState" type="text"><br/><br/>
34
35
36
37
38
39
40
<% } %>
<a href="#" class="clearCells btn btn-block btn-lg btn-danger">Clear All Cells</a><br/>
Num Cells:&nbsp;&nbsp;<%= numCells %><br/>
<!--//Cell Separation <% if (connectionType != "freeformFace"){ %>(xy, z): &nbsp;&nbsp;<input data-type="xy" value="<%= cellSeparation.xy %>" placeholder="XY" class="form-control numberInput cellSeparation" type="text">-->
<!--//&nbsp;<input data-type="z" value="<%= cellSeparation.z %>" placeholder="Z" class="form-control numberInput cellSeparation" type="text">-->
<!--//<% } else { %>( radial ): &nbsp;&nbsp;<input data-type="xy" value="<%= cellSeparation.xy %>" placeholder="XY" class="form-control numberInput cellSeparation" type="text"><% } %>-->
<!--//<br/><br/>-->