From 77e92b7297bf5a15fa99261ac41bb9f33d0a2f81 Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Sat, 28 Dec 2019 17:57:13 +0800 Subject: [PATCH] finish everything before 2019/12/26 --- app/assets/javascripts/cancer_predict.js | 163 ++++++++++++++++-- app/assets/stylesheets/cancer_predict.scss | 28 ++- app/controllers/cancerpredicts_controller.rb | 98 ++++++++--- app/models/cancerpredictfields.rb | 13 +- app/views/admin/cancerpredicts/index.html.erb | 19 +- 5 files changed, 263 insertions(+), 58 deletions(-) diff --git a/app/assets/javascripts/cancer_predict.js b/app/assets/javascripts/cancer_predict.js index 0d45038..25fb741 100644 --- a/app/assets/javascripts/cancer_predict.js +++ b/app/assets/javascripts/cancer_predict.js @@ -4,7 +4,6 @@ $(document).ready(function(){ $('.header-nav').html(head_images.responseJSON['head_images']); $('.navbar-brand').html(head_images.responseJSON['title']) }); - $('#font_size_choices .cancer_table_btn').eq(0).addClass('active'); Array.prototype.remove_item_from_array = function(){ var result_array = this; for(var i=0;i