From f86c084311282036ffa7b4588c0fa0d5b59af95b Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 24 Nov 2016 16:03:09 +0000 Subject: several fixes; works with lazar tree e111369ce5564f159b3f5f85c92afdd22352eaa1 --- views/details.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/details.haml') diff --git a/views/details.haml b/views/details.haml index 8a57440..bb8250d 100644 --- a/views/details.haml +++ b/views/details.haml @@ -19,6 +19,6 @@ %hr %p{:style=>"padding-left:0.5em;"} / pubchem link - %a.btn.btn-primary{:href=>"http://aop.in-silico.ch/", :title=>"Link opens in new window.", :alt=>"pubchem read across", :target=>"_blank"} PubChem read across + %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 -- cgit v1.2.3 From 55bf06381a42c9bb1e1e991e990f5d6e90c8e33e Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 7 Dec 2016 12:07:13 +0000 Subject: rebuild code for public release;prepared to work with lazar v1.0.0;reintroduced compound details --- views/details.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'views/details.haml') diff --git a/views/details.haml b/views/details.haml index bb8250d..be4948a 100644 --- a/views/details.haml +++ b/views/details.haml @@ -1,8 +1,12 @@ +:javascript + $(document).ready(function(){ + addExternalLinks(); + }); %div.modal-body{:style=>"padding:10px;"} %button.close{ :type=>" button", data: { dismiss:"modal"}} × %h3 Names and synonyms: - %img.img-responsive{:src=>"#{@compound.uri}/image", :alt=>"Compound image not available", :width=>"300px", :heigth=>"300px", :style=>"float:left;"} + %p= @compound.svg %p %b="SMILES:" %p= @smiles -- cgit v1.2.3