From ca94d4b7e8ad0cab13e66be7a34b0cde21948c69 Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 3 Apr 2018 14:24:09 +0000 Subject: follow up master --- views/predict.haml | 3 ++- views/prediction.haml | 13 ++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/predict.haml b/views/predict.haml index 89bef7c..2308911 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -180,5 +180,6 @@ %h2 3. Predict %div.col-lg-10.col-md-10.col-sm-10.col-xs-10 - %input.btn.btn-warning.h2{ :type => "submit", :id => "submit", :value=>">>", :onclick => "getsmiles()"} + %button.has-feedback.btn.btn-warning.h2{:type => "submit", :id => "submit", :value=>"", :onclick => "getsmiles()"} + %span.glyphicon.glyphicon-play %img.h2{:src=>"/images/wait30trans.gif", :id=>"circle", :class=>"circle", :alt=>"wait", :style=>"display:none;"} diff --git a/views/prediction.haml b/views/prediction.haml index 9cdedde..80b4d16 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -1,3 +1,11 @@ +:javascript + $(document).ready(function(){ + $('[data-toggle="popover"]').popover(); + $('.modal').on('hidden.bs.modal', function () { + $(this).removeData('bs.modal'); + }); + }); + %div.well %a.btn.btn-warning{:href => to('/predict')} %i.glyphicon.glyphicon-menu-left @@ -35,7 +43,10 @@ / show message about dbhit and measurements %p - %b Compound is part of the training dataset + :plain + This compound was part of the training dataset. All information
+ from this compound was removed from the training data before the
+ prediction, to obtain unbiased results. %p %b Measured activity: %br -- cgit v1.2.3