From 6697948a6c925b165ab5d4dda87849a5f450003a Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 2 Feb 2016 10:55:28 +0100 Subject: final adjustments, issue tracker link --- public/css/style.css | 7 ++----- views/layout.haml | 2 ++ views/prediction.haml | 14 ++++++++------ 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index b28c15d..93500a6 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,16 +1,13 @@ -.tablesorter thead tr - th { - border: 1px solid black;} .tablesorter thead tr th.physchem { min-width: 60px;} th.tox { - background-color: #CCFFCC !important} + background-color: #ffcc80 !important} .tablesorter tbody tr td.physchem { min-width: 60px;} td.tox { - background-color: #CCFFCC } + background-color: #ffcc80 } .tablesorter tbody tr.static td { background-color: #CCFFCC; } 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 = {} -- cgit v1.2.3