summaryrefslogtreecommitdiff
path: root/views/compound.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/compound.haml')
-rw-r--r--views/compound.haml23
1 files changed, 12 insertions, 11 deletions
diff --git a/views/compound.haml b/views/compound.haml
index cea6fe8..0ed84c8 100644
--- a/views/compound.haml
+++ b/views/compound.haml
@@ -13,22 +13,23 @@
%table
%colgroup
- %col{:width => "25%"}
- %col{:width => "37%"}
- %col{:width => "37%"}
+ %col{:style => "width: 300px"}
+ %col{:style => "width: 47%"}
+ %col{:style => "width: 47%"}
%tr
- %td{:valign => "top"}
- %br
- = name(@cid)
- CID:
- = @cid
- %img{:src => image_uri(@cid)}
- %td{:valign => "top"}
+ %th{:colspan => "3"}
+ = name(@cid)
+ CID:
+ = @cid
+ %tr
+ %td{:style => "vertical-align:top;"}
+ %img{:src => image_uri(@cid), :alt => "#{name(@cid)} CID: #{@cid}", :class => "compound"}
+ %td{:style => "vertical-align:top;"}
.targets
.predicted_targets
.nontargets
.predicted_nontargets
- %td{:valign => "top"}
+ %td{:style => "vertical-align:top;"}
.active_assays
.predicted_active_assays
.inactive_assays