diff options
author | gebele <gebele@in-silico.ch> | 2013-03-15 13:47:38 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-03-15 13:47:38 +0100 |
commit | 53321ba549175f7ffb40a5d5515a0047f369203d (patch) | |
tree | 06bfc29319c2b34122fe15c9a25f684fa89405ad /views/prediction.haml | |
parent | d5649c3bb4eb992c722c24c7fa96a912df2cbf8f (diff) |
version with iframes for neighbours and details view
Diffstat (limited to 'views/prediction.haml')
-rw-r--r-- | views/prediction.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/views/prediction.haml b/views/prediction.haml index 623275d..47a4dfa 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -21,7 +21,7 @@ - p.get %td %b= @@prediction_models[count].title - - count+=1 + %br = "Result:\n" %b= p.data_entries[0][1] @@ -29,11 +29,11 @@ = "Confidence:\n" = p.data_entries[0][2].round(3) %br - %a{:href=> to("/prediction/neighbours"), :target=> "neighbours"} + %a{:href=> to("/prediction/neighbours/#{count}"), :target=> "neighbours"} %img{:src=>"/images/arrow_down_float.png", :alt=>"arrow"} + - count+=1 - - %iframe{:name=>"neighbours", :width=>"50%", :height=>"400px", :style=>"float:left; border:0px"} - %iframe{:name=>"details", :width=>"50%", :height=>"400px", :style=>"border:0px"} + %iframe{:id=>"neighbours", :name=>"neighbours", :width=>"50%", :height=>"400px", :style=>"float:left; border:0px"} + %iframe{:id=>"details", :name=>"details", :width=>"50%", :height=>"400px", :style=>"border:0px"} |