ESetupMenuView.html 2.28 KB
Newer Older
Amanda Ghassaei's avatar
Amanda Ghassaei committed
1
<% if (overlapDetected) { %>
2
    <div class="inlineWarning">Overlapping cells detected, check that hierarchical cells are not placed on top of one another.  Simulation results may be inaccurate.</div>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
3
<% } %>
4
5
6
7
Simulation Type: &nbsp;&nbsp;
    <div class="btn-group">
        <button data-toggle="dropdown" class="btn dropdown-toggle" type="button"><%= allMaterialClasses[materialClass] %><span class="caret"></span></button>
        <ul role="menu" class="dropdown-menu">
Amanda Ghassaei's avatar
Amanda Ghassaei committed
8
            <% _.each(allLattices[cellType].connection[connectionType].type[latticeType].materialClasses || _.keys(allMaterialClasses), function(key){ %>
9
10
11
12
                <li><a class="appState dropdownSelector" data-property="materialClass" data-value="<%= key %>" href="#"><%= allMaterialClasses[key] %></a></li>
            <% }); %>
        </ul>
    </div><br/><br/>
13
<a href="#" id="calcConnectivity" class="btn btn-block btn-lg btn-default"><% if(conductorGroups){ %>Re-<% } %>Calculate Connectivity</a><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
14
<% if(conductorGroups){ %>
15
16
    Num Connected Conductors: &nbsp;&nbsp<%= _.keys(conductorGroups).length %><br/>
    <% if(_.keys(conductorGroups).length > 0){ %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
17
        <label class="radio">
Amanda Ghassaei's avatar
Amanda Ghassaei committed
18
19
20
21
22
            <input type="radio" <% if (visibleConductorGroup == -2){ %>checked<% } %> name="visibleConductorGroup" value="-2" data-toggle="radio" class="custom-radio eSim"><span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
            Show Everything
        </label>
        <label class="radio">
            <input type="radio" <% if (visibleConductorGroup == -1){ %>checked<% } %> name="visibleConductorGroup" value="-1" data-toggle="radio" class="custom-radio eSim"><span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
23
            Show All Conducting Groups
Amanda Ghassaei's avatar
Amanda Ghassaei committed
24
        </label>
25
        <% var index = 0;  _.each(conductorGroups, function(groupData, id){ %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
26
            <label class="radio">
27
28
                <input type="radio" <% if (id == visibleConductorGroup){ %>checked<% } %> name="visibleConductorGroup" value="<%= id %>" data-toggle="radio" class="custom-radio eSim"><span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
                Group <%= ++index %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
29
30
31
            </label>
        <% }); %>
    <% } %>
32
<% } %>