summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2016-02-02 10:55:28 +0100
committergebele <gebele@in-silico.ch>2016-02-02 10:55:28 +0100
commit6697948a6c925b165ab5d4dda87849a5f450003a (patch)
treee361996c7431e487dcc4f269c1be2cf2e73b26f6
parenteb9f19e89e34eb4d573b67d9a2a7ad45ea71f393 (diff)
final adjustments, issue tracker link
-rw-r--r--public/css/style.css7
-rw-r--r--views/layout.haml2
-rw-r--r--views/prediction.haml14
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 = {}