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 ++++++++- views/style.sass | 4 +++- 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 + © + %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' 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 -- cgit v1.2.3