summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-03-28 17:19:06 +0100
committergebele <gebele@in-silico.ch>2013-03-28 17:19:06 +0100
commiteea0ab2649d998249dc2ea3bba3ecbdd2b3b8a5b (patch)
tree23b951be401decf3d44360a217b957f16846205e /views/prediction.haml
parentde03020a09cdc6438d27916207cab1de554a70f2 (diff)
colored by result
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml9
1 files changed, 5 insertions, 4 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index ed51d09..dd90847 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -14,15 +14,16 @@
%tbody
%tr
%td{:id=>"compound"}
- %img{:src=>"#{@compound.uri}/image", :alt=>@compound.uri, :width=>"100px"}
+ %img{:src=>"#{@compound.uri}/image", :alt=>@compound.uri, :width=>"100"}
- count=0
- @@predictions.each do |pa|
- pa.each do |p|
- p.get
- %td
- %b= @@prediction_models[count].title
-
+ %td{:class => p.data_entries[0][1]}
+ %b{:class => "title"}
+ = @@prediction_models[count].title
%br
+ %br
= "Result:\n"
%b= p.data_entries[0][1]
%br