diff options
author | gebele <gebele@in-silico.ch> | 2013-06-19 15:58:00 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-06-19 15:58:00 +0200 |
commit | 6f58b77765518f31219e59fca01df5b8ee80701e (patch) | |
tree | 79b0488743ebbe8dc5d2a1fe6a9910860c9012d8 /views/predict.haml | |
parent | 674d99e1ebcc9b72a3f96a434f08462f2c48c7ce (diff) |
several minor changes:color,buttons,text
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/views/predict.haml b/views/predict.haml index 98b9edb..12ed158 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -1,7 +1,7 @@ :javascript function checksmiles () { if (document.form.identifier.value == "") { - alert("Please insert a compound."); + alert("Please draw or insert a chemical structure."); document.form.identifier.focus(); return false; }; @@ -29,11 +29,11 @@ }; -/ whole site content needs to be in one form. Input and checkboxes are checked by js functions. +/ whole site content needs to be in one form. Input and checkboxes are proofed by js functions. %form{:name => "form", :action => to('/predict'), :method => "post", :enctype => "multipart/form-data", :onsubmit => "return !!(checksmiles() & checkboxes())" } %fieldset#top %a{:href => "#", :id => "linkInsert"} - %h1 1. Draw or insert your compound + %h1 1. Draw a chemical structure :javascript $("a#linkInsert").click(function () { $("#insert").toggle(); @@ -52,7 +52,7 @@ .close - = hide_link "#insert" + -#= hide_link "#insert" .arrow %img{:src=>"/images/arrow_down_float.png", :alt=>"arrow", :class=> "arrow"} @@ -68,7 +68,7 @@ document.location = document.location + "#" + "models"; }); - #models{ :style => "display: none;"} + #models %i Please observe validation report for model details. // TODO order models by echa endpoint currently manually added and to find in model.type[0].split("#").last @@ -80,11 +80,11 @@ %label{:for => "selection[#{model.title}]"} = "DSSTox Carcinogenic Potency DBS "+model.title.split(" ").first %a{:href=>"#", :alt=>"#{model.title} validation"} - %i ( Validation Link ) + %i ( Validation report ) %br .close - = hide_link "#models" + -#= hide_link "#models" .arrow %img{:src=>"/images/arrow_down_float.png", :alt=>"arrow", :class=> "arrow"} |