diff options
author | gebele <gebele@in-silico.ch> | 2015-06-22 17:22:19 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2015-06-22 17:22:19 +0200 |
commit | 46166d66c458eb9d922f0c6c4958654a761a7529 (patch) | |
tree | fccd3baa4e36c4ba48f84567fe5cc445a74c2cca /views/significant_fragments.haml | |
parent | d356e84babc0b753ba29f27f589b5a85bbd2e982 (diff) |
several updates for browser compatibility
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 |