blob: 9f6915f11b90a0335eb71926816a0bf9cd895664 (
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=>"/stylesheets/screen.css", :media=>"screen, projection", :rel=>"stylesheet", :type=>"text/css"}
.content
%button{:id=>"closebutton", :onclick=>"parent.$('#iframe_details').bPopup().close();parent.$('#iframe_overview').bPopup().close();"}
X
.details{:style=>"padding:0.5em;min-height:400px;"}
%h2{:style=>"margin:0px;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 tab", :alt=>"pubchem link", :target=>"_blank"} PubChem read across
%i (experimental)
|