MaterialEditorMenuView.html 4.33 KB
Newer Older
Amanda Ghassaei's avatar
Amanda Ghassaei committed
1
Name: &nbsp;&nbsp;<input data-property="name" value="<%= name %>" placeholder="Enter Name" class="seventyFiveWidth form-control textInput materialEditor" type="text"><br/><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
2
Display Color: &nbsp;&nbsp;
Amanda Ghassaei's avatar
Amanda Ghassaei committed
3
    <input id="materialColor" style="border-color: <%= altColor %> ;" data-property="altColor" value="<%= altColor %>" placeholder="Enter HEX" class="halfWidth materialEditor form-control hexInput" type="text"><br/><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
4 5 6
<a id="newRandomColor" href="#" class="btn btn-block btn-lg btn-default">New Random Display Color</a><br/>
Realistic Color: &nbsp;&nbsp;
    <input id="materialAltColor" style="border-color: <%= color %> ;" data-property="color" value="<%= color %>" placeholder="Enter HEX" class="halfWidth materialEditor form-control hexInput" type="text"><br/><br/>
amandaghassaei's avatar
amandaghassaei committed
7
Material Properties:<br/><br/>
Amanda Ghassaei's avatar
eod  
Amanda Ghassaei committed
8
    <div class="tab1">
amandaghassaei's avatar
amandaghassaei committed
9
        <label class="checkbox normalStylingCheckbox" for="conductive">
Amanda Ghassaei's avatar
eod  
Amanda Ghassaei committed
10 11 12 13
        <input id="conductive" data-property="conductive" type="checkbox" <% if (properties.conductive){ %> checked="checked"<% } %> value="" data-toggle="checkbox" class="materialProperties custom-checkbox">
        <span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
        Conductive</label>
        Density (kg/m^3): &nbsp;&nbsp;<input data-property="density" value="<%= properties.density %>" placeholder="Density" class="form-control floatInput materialProperties" type="text"><br/><br/>
amandaghassaei's avatar
amandaghassaei committed
14 15 16 17 18 19 20 21 22 23 24 25 26
        Material Stiffness (XYZ):<br/><br/>
        Axial K: &nbsp;&nbsp;<input data-property="longitudalK" data-key="x" value="<%= properties.longitudalK.x %>" placeholder="X" class="form-control floatInput materialProperties" type="text">
            <input data-property="longitudalK" data-key="y" value="<%= properties.longitudalK.y %>" placeholder="X" class="form-control floatInput materialProperties" type="text">
            <input data-property="longitudalK" data-key="z" value="<%= properties.longitudalK.z %>" placeholder="X" class="form-control floatInput materialProperties" type="text"><br/><br/>
        Shear K: &nbsp;&nbsp;<input data-property="shearK" data-key="x" value="<%= properties.shearK.x %>" placeholder="X" class="form-control floatInput materialProperties" type="text">
            <input data-property="shearK" data-key="y" value="<%= properties.shearK.y %>" placeholder="X" class="form-control floatInput materialProperties" type="text">
            <input data-property="shearK" data-key="z" value="<%= properties.shearK.z %>" placeholder="X" class="form-control floatInput materialProperties" type="text"><br/><br/>
        Bending K: &nbsp;&nbsp;<input data-property="bendingK" data-key="x" value="<%= properties.bendingK.x %>" placeholder="X" class="form-control floatInput materialProperties" type="text">
            <input data-property="bendingK" data-key="y" value="<%= properties.bendingK.y %>" placeholder="X" class="form-control floatInput materialProperties" type="text">
            <input data-property="bendingK" data-key="z" value="<%= properties.bendingK.z %>" placeholder="X" class="form-control floatInput materialProperties" type="text"><br/><br/>
        Torsional K: &nbsp;&nbsp;<input data-property="torsionK" data-key="x" value="<%= properties.torsionK.x %>" placeholder="X" class="form-control floatInput materialProperties" type="text">
            <input data-property="torsionK" data-key="y" value="<%= properties.torsionK.y %>" placeholder="X" class="form-control floatInput materialProperties" type="text">
            <input data-property="torsionK" data-key="z" value="<%= properties.torsionK.z %>" placeholder="X" class="form-control floatInput materialProperties" type="text"><br/><br/>
Amanda Ghassaei's avatar
eod  
Amanda Ghassaei committed
27
    </div>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
28
<br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
29
<a id="saveExitMenu" href="#" class="btn btn-block btn-lg btn-success">Save Material</a><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
30
<% if (noDelete){ %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
31 32
    <a id="cancelExitMenu" href="#" class="btn btn-halfWidth btn-lg btn-default">Cancel / Exit</a>
    <a id="saveToFile" href="#" class="btn btn-halfWidth btn-lg pull-right btn-default">Save To File</a><br/><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
33
<% } else { %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
34 35 36
    <a id="deleteExitMenu" href="#" class="btn btn-halfWidth btn-lg btn-default"><span class="fui-trash"></span> Delete</a>
    <a id="cancelExitMenu" href="#" class="btn btn-halfWidth pull-right btn-lg btn-default">Cancel / Exit</a><br/><br/>
    <a id="saveToFile" href="#" class="btn btn-block btn-lg pull-right btn-default">Save Material To File</a><br/><br/>
37
<% } %>