summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Gebele <gebele@alfadeo.de>2011-05-09 17:30:30 +0200
committerDenis Gebele <gebele@alfadeo.de>2011-05-09 17:30:30 +0200
commitd7f392b227060dc5f52a688b9d37000ba580aaf2 (patch)
treee7f8f035da92f9ef35b99d4fb12c81f3965c5268
parent2de3bef8b5e29114961dfe2dbad9c379ebc359f6 (diff)
copyrights for JME, image fix for Safari browser
-rw-r--r--views/predict.haml9
-rw-r--r--views/style.sass4
2 files changed, 11 insertions, 2 deletions
diff --git a/views/predict.haml b/views/predict.haml
index d8c34a2..92e19e7 100644
--- a/views/predict.haml
+++ b/views/predict.haml
@@ -18,18 +18,25 @@
%param{ :name => "options", :value => "polarnitro"}
Please enable Java and JavaScript in your browser to use the JME editor.
+ %jme_info
+ <span style="font-size:75%">&copy;
+ %a{:href => 'http://www.molinspiration.com/jme/index.html', :rel => "external"} JME Editor
+ courtesy of Peter Ertl, Novartis</span>
+ %br
%label{:for => 'identifier'} or enter a Name, InChI, Smiles, CAS, ...
%input{:type => 'text', :name => 'identifier', :id => 'identifier', :size => '60'}
+ %br
%fieldset
%legend
Choose one or more prediction models
+ %br
- @models.each do |model|
%label{:for => "model#{model.id}"}
= model.name
-#%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id, :disabled => !is_authorized(model.uri, "GET")}
%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false}
%br
-
+ %br
%input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]}
%input{ :type => "submit", :value => "Predict", :onclick => "getsmiles();"}
= link_to 'Cancel', '/predict'
diff --git a/views/style.sass b/views/style.sass
index 0588444..dd7a843 100644
--- a/views/style.sass
+++ b/views/style.sass
@@ -130,7 +130,9 @@ body
padding: 0.5em
img
padding: 0
- height: 100%
+ //height: 100%
+ width: 150px
+ height: 150px
.lazar-predictions
clear: both