diff options
author | gebele <gebele@in-silico.ch> | 2015-09-23 12:29:46 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2015-09-23 12:29:46 +0200 |
commit | 06a2f447ac99a37a60c71bb1c7b988beaa213e56 (patch) | |
tree | 3ff32e29aaa6a287ba4e7df28167e91c71639e1a /views/batch.haml | |
parent | 205a34e25b280fe2cffc2223730fffd2637661bf (diff) |
enable csv download
Diffstat (limited to 'views/batch.haml')
-rw-r--r-- | views/batch.haml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/views/batch.haml b/views/batch.haml index 7cf1d77..44d22f1 100644 --- a/views/batch.haml +++ b/views/batch.haml @@ -1,13 +1,19 @@ %div.well - %a.btn.btn-warning{:href => to('/predict')} Make New Prediction + %a.btn.btn-warning{:href => to('/predict')} + %span.glyphicon.glyphicon-menu-left{:aria=>{:hidden=>"true"}} + Make New Prediction / displays all prediction result in first table %div.table-responsive %table.table.table-bordered{:id=>"batch", :style=>"background-color:white;"} %thead %tr - %h3.col-md-4 Batch Prediction Results: + %h3.col-md-4{:style=>"padding-left:0;"} Batch Prediction Results: %h3.col-md-8= @filename - + %tr + %span.btn.btn-default + %a{:href=>"#{to("/predict/#{@filename}")}", :title=>"download"} + %span.glyphicon.glyphicon-download-alt{:aria=>{:hidden=>"true"}} + CSV %tbody / key = compound, values = array of arrays with model, prediction - @batch.each do |key, values| |