blob: abf75180be83fe7b995f7aff525876c57b77c6fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
:javascript
$(document).ready(function(){
addExternalLinks();
});
%div.modal-body{:style=>"padding:10px;"}
%button.close{ :type=>" button", data: { dismiss:"modal"}} ×
%h3
Names and synonyms:
%p= embedded_svg(@compound.svg, :title=>"x")
%p
%b="SMILES:"
%p= @smiles
%br
%b="InChI:"
%p= @inchi
%br
- cid = @compound.cid
- if cid
%b="CID:"
%p= cid
%br
%b="Names:"
%p{:style=>"padding-left:0.5em;"}
- if @names !~ /^no names/i
= @names.join("; ")
- else
= @names
%hr
%p{:style=>"padding-left:0.5em;"}
/ pubchem link
- if cid
%a.btn.btn-primary{:href=>"http://aop.in-silico.ch/cid/#{cid}", :title=>"Link opens in new window.", :alt=>"pubchem read across", :rel=>"external"} PubChem read across
- else
%a.btn.btn-primary{:href=>"http://aop.in-silico.ch/", :title=>"Link opens in new window.", :alt=>"pubchem read across", :rel=>"external"} PubChem read across
%i (experimental)
%br
|