summaryrefslogtreecommitdiff
path: root/views/compound.haml
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2013-01-09 15:33:03 +0100
committerrautenberg <rautenberg@in-silico.ch>2013-01-09 15:33:03 +0100
commit8bbb95839061259b642b16ef85f7aa4a0f878e2c (patch)
tree0a0410a34c11cce75448e15aed72e21be0abb6d8 /views/compound.haml
parent8bf8a6b0494faef24d9c413833d274b152ec0b6e (diff)
basic layout with css / w3c conformity
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