blob: 02d7b66e82e4c9eccbe65cd3fed13ba729a3b982 (
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
|
%link{ :href=>"/style.css", :media=>"screen, projection", :rel=>"stylesheet", :type=>"text/css"}
.content{:style=>"margin-top:0;"}
.details{:style=>"padding:0.7em;padding-bottom:5em;"}
%button{:id=>"closebutton", :onclick=>"parent.$('#iframe_details').bPopup().close();parent.$('#iframe_overview').bPopup().close();"}
X
%h2{:style=>"margin-left:8px;"}
Names and synonyms:
%img{:src=>"#{@compound.uri}/image", :alt=>"Compound image not available", :width=>"300px", :heigth=>"300px"}
%p
%b="SMILES:"
%p= @smiles
%br
%b="InChI:"
%p= @inchi
%br
%b="Names:"
%p{:style=>"padding-left:0.5em;"}
- if @names !~ /^no names/i
= @names.join("; ")
- else
= @names
%p{:style=>"padding-left:0.5em;"}
/ pubchem link
%a{:href=>"http://aop.in-silico.ch/", :title=>"Link opens in new window.", :alt=>"pubchem read across", :target=>"_blank"} PubChem read across
%i (experimental)
|