diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-11-21 10:09:48 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-11-21 10:09:48 +0100 |
commit | c38f9f2e4c2dec4ef163c6c76d64f5dbf4974a5a (patch) | |
tree | 4f4b71056b1e8728720fb2a5f6886dc2dfe634cd /views/index.haml | |
parent | 9661a67983ffc93ee02bc12b20b9afb38e199d79 (diff) |
Initial GUI
Diffstat (limited to 'views/index.haml')
-rw-r--r-- | views/index.haml | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/views/index.haml b/views/index.haml index b75a9ab..e69de29 100644 --- a/views/index.haml +++ b/views/index.haml @@ -1,27 +0,0 @@ -!!! 5 -%script{:type => "text/javascript", :src => "sorttable.js"} -%table{:class => "sortable"} - %tr - %th - = @neighbors.query.to_name - %br - %img{:src => @neighbors.query.to_image_uri} - %th Structure - %th Properties - %th Targets - %th Assays - - @neighbors.neighbors.each do |neighbor| - - sim = neighbor.structure_similarity @neighbors.query - %tr{:sorttable_customkey => sim} - %td - = neighbor.to_name - %br - %img{:src => neighbor.to_image_uri} - %td - = sim - %td - = neighbor.property_similarity @neighbors.query - %td - = neighbor.target_similarity @neighbors.query - %td - = neighbor.assay_similarity @neighbors.query |