From d7f392b227060dc5f52a688b9d37000ba580aaf2 Mon Sep 17 00:00:00 2001 From: Denis Gebele Date: Mon, 9 May 2011 17:30:30 +0200 Subject: copyrights for JME, image fix for Safari browser --- views/predict.haml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'views/predict.haml') 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 + © + %a{:href => 'http://www.molinspiration.com/jme/index.html', :rel => "external"} JME Editor + courtesy of Peter Ertl, Novartis + %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' -- cgit v1.2.3 From db1251962cc926312d1b5d06a06f95344130b537 Mon Sep 17 00:00:00 2001 From: Denis Gebele Date: Thu, 12 May 2011 10:49:33 +0200 Subject: checkboxes move to left --- views/predict.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/predict.haml') diff --git a/views/predict.haml b/views/predict.haml index 92e19e7..ec667e6 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -31,10 +31,10 @@ Choose one or more prediction models %br - @models.each do |model| + %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false} %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} + -#%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id, :disabled => !is_authorized(model.uri, "GET")} %br %br %input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]} -- cgit v1.2.3