Created
September 30, 2012 21:33
-
-
Save tobnee/3808506 to your computer and use it in GitHub Desktop.
ChemVector Integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- knockout js bind --> | |
<div data-bind="visible: searchable"> | |
<div class="well"> | |
<strong class="control-label">Name:</strong> | |
<p id="selectstype" data-bind="text: selectedProduct().name"> </p> | |
<strong class="control-label">CAS:</strong> | |
<p id="selectc" data-bind="text: selectedProduct().cas"> </p> | |
<div class="cell" id="resize-cell"> | |
<div class="structure" id="resize-structure"> | |
<object width="300" height="150" class="chemvector-object" id="resize-object"> | |
<!-- link to a mol file --> | |
<param name="src" value="@routes.ChemicalDataController.chemLookup("50-02-2","mol")"> | |
</object> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment