From c51f84bb8b53ecf780deaa0de986a3764a058f97 Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 9 Aug 2017 11:52:28 +0000 Subject: disable batch prediction for public service --- views/predict.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/views/predict.haml b/views/predict.haml index 9fb56cb..89bef7c 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -125,12 +125,12 @@ %br %input{:type => 'text', :name => 'identifier', :id => 'identifier', :size => '60'} %p - %label{:for=>"fileselect"} + -#%label{:for=>"fileselect"} or upload a CSV file for batch predictions: - %a.btn.glyphicon.glyphicon-info-sign{:href=>"javascript:void(0)", :title=>"File format", :tabindex=>"0", data: {trigger:"focus", toggle:"popover", placement:"auto", html:"true", content:"One column with compounds and keyword SMILES or InChI in the first row."}} - %br - %span.btn.btn-default.btn-file - %input{:type=>"file", :name=> "fileselect", :id=>"fileselect", :accept=>"text/csv"} + -#%a.btn.glyphicon.glyphicon-info-sign{:href=>"javascript:void(0)", :title=>"File format", :tabindex=>"0", data: {trigger:"focus", toggle:"popover", placement:"auto", html:"true", content:"One column with compounds and keyword SMILES or InChI in the first row."}} + -#%br + %span.btn.btn-default.btn-file{:style=>"display:none;"} + %input{:type=>"file", :name=> "fileselect", :id=>"fileselect", :accept=>"text/csv", :disabled=>"disabled", :type=>"hidden"} %fieldset#middle.well %h2 2. Select one or more endpoints -- cgit v1.2.3