From 1a685503c053931513172969399e0e1df4d4d52d Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 6 Oct 2014 10:57:21 +0200 Subject: update jsme_version/stylesheet --- views/prediction.haml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'views/prediction.haml') diff --git a/views/prediction.haml b/views/prediction.haml index f2d938c..3cd2f3f 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -14,12 +14,11 @@ %tbody %tr - %td{:id=>"compound", :style=>"align:center;"} + %td{:id=>"compound", :style=>"width: 200px;padding:0.2em;"} %a{:href => to("/prediction/#{CGI.escape(@compound.uri)}/details"), :id=>"linkCompound", :target=>"details_overview"} + Names and synonyms %img{:src=>"#{@compound.uri}/image", :alt=>"Compound image not available", :title=>"#{@compound.smiles}", :width=>"150", :height=>"150"} %p - %a{:href => to("/prediction/#{CGI.escape(@compound.uri)}/details"), :id=>"linkCompound", :target=>"details_overview"} Names and synonyms - %p :javascript $(function() { $("a#linkCompound").on('click', function(e) { @@ -124,9 +123,8 @@ }); %p - if c != '' - %b Neighbors: %a{:href=> "#tabs", :id=>"link#{count}"} - %img{:src=>"/images/arrow_down_float.png", :alt=>"v"} + %b Neighbors :javascript $("a#link#{count}").click(function () { $(".results").show(); -- cgit v1.2.3