diff options
author | gebele <gebele@in-silico.ch> | 2016-02-02 10:55:28 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2016-02-02 10:55:28 +0100 |
commit | 6697948a6c925b165ab5d4dda87849a5f450003a (patch) | |
tree | e361996c7431e487dcc4f269c1be2cf2e73b26f6 /views | |
parent | eb9f19e89e34eb4d573b67d9a2a7ad45ea71f393 (diff) |
final adjustments, issue tracker link
Diffstat (limited to 'views')
-rw-r--r-- | views/layout.haml | 2 | ||||
-rw-r--r-- | views/prediction.haml | 14 |
2 files changed, 10 insertions, 6 deletions
diff --git a/views/layout.haml b/views/layout.haml index 12d908f..148e431 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -33,6 +33,8 @@ %img.media-object{:src=>"/images/enm_logo.png", :width=>"200px", :heigth=>"200px", :alt=>"logo_enm", :style=>"margin:0 3em 0 2em;"} %div.container-fluid + Problems, bugs, ideas for improvements ? Please report at our + %a{:href => 'https://github.com/enanomapper/nano-lazar/issues', :rel => "external"} issue tracker :javascript $(document).ready(function(){ $("#back-top").hide(); diff --git a/views/prediction.haml b/views/prediction.haml index 8a7c28d..d22960b 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -35,7 +35,9 @@ %th Composition %th.tox - Toxicity + Toxicity + %br + Net cell association [mL/ug(Mg)] - @input.each do |key| %th.physchem = key[0].gsub(/\sMean/, '') @@ -77,19 +79,19 @@ - if @prediction[:prediction] - @prediction[:prediction].each do |k,v| %h5 Prediction - %p= k.split.drop(1).join(" ")[1..-2] + -#%p= k.split.drop(1).join(" ")[1..-2] - if v == nil - %p 0 + %p not available - else %h5= v.round(5) - if @prediction[:match] - @prediction[:match].values[0]["tox"].each do |k,v| %hr %h5 Measurement - %p= k.split.drop(1).join(" ")[1..-2] + -#%p= k.split.drop(1).join(" ")[1..-2] %p= v.round(3) - if !@prediction[:prediction] && !@prediction[:match] - %h5 x + %h5 not available / physchem - if @prediction[:match] - sorted = {} @@ -138,7 +140,7 @@ %td.tox - neighbor["tox"].each do |k,v| %h5 Measurement - %p= k.split.drop(1).join(" ")[1..-2] + -#%p= k.split.drop(1).join(" ")[1..-2] %p= v.round(3) / Physchem - sorted = {} |