diff options
Diffstat (limited to 'views/significant_fragments.haml')
-rw-r--r-- | views/significant_fragments.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/views/significant_fragments.haml b/views/significant_fragments.haml index e441a9a..bd3598d 100644 --- a/views/significant_fragments.haml +++ b/views/significant_fragments.haml @@ -3,7 +3,7 @@ - if @type =~ /classification/i %div.row %div.col-md-4 - %h2{:style=>"margin-left:8px;"} + %h3{:style=>"margin-left:8px;"} Significant fragments: %img{:src=>"#{@compound.uri}/image", :alt=>"#{@compound.smiles}", :title=>"#{@compound.smiles}", :width=>"300px", :heigth=>"300px"} - if !@significant_fragments.empty? @@ -38,15 +38,15 @@ - if fragments[0] == @value_map.index("active") %tr %td - %img{:src => "http://smartsview.de/smartsview/auto/png/1/both/#{CGI.escape(fragments[1])}", :class => "smarts"} + -#%img{:src => "http://smartsview.de/smartsview/auto/png/1/both/#{CGI.escape(fragments[1])}", :class => "smarts"} = fragments[1] %td = fragments[2] - + %br - if @type =~ /regression/i %div.row %div.col-md-4 - %h2 + %h3 Descriptors: %img{:src=>"#{@compound.uri}/image", :alt=>"#{@compound.smiles}", :title=>"#{@compound.smiles}", :width=>"300px", :heigth=>"300px"} - if !@significant_fragments.empty? @@ -63,4 +63,4 @@ = fragments[0] %td = fragments[1][0].round(3) - + %br |