From 2d4782c4e8df908efa0973ee842593ead58d5980 Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 27 Jun 2019 08:37:33 +0000 Subject: use prediction to csv;edit info text --- views/batch.haml | 2 +- views/info.haml | 2 +- views/model_details.haml | 2 +- views/style.scss | 6 ++++++ 4 files changed, 9 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/batch.haml b/views/batch.haml index fb317c9..d8e6862 100644 --- a/views/batch.haml +++ b/views/batch.haml @@ -128,7 +128,7 @@ - @models.each_with_index do |model,idx| - m = Model::Validation.find model - task = @tasks[idx].id - #result.caret.bg-light{:id=>idx} + #result.card.bg-light{:id=>idx} %div.card-body %div.row %div.col-6 diff --git a/views/info.haml b/views/info.haml index 148d53f..d2730aa 100644 --- a/views/info.haml +++ b/views/info.haml @@ -1,3 +1,3 @@ %div.card.border-warning.mb-3 %div.card-body - We are rebuilding the models. It will take a while, please be patient and reload the page in some time. + We are rebuilding our models. It will take a while, please be patient and reload the page later. diff --git a/views/model_details.haml b/views/model_details.haml index 3825949..600aaf8 100644 --- a/views/model_details.haml +++ b/views/model_details.haml @@ -66,7 +66,7 @@ %table.table-sm - keys.each_with_index do |key,idx| %tr - %td.text-right.pr-0= key.gsub("_", " ")+":" + %td.fit.text-right.pr-0= key.gsub("_", " ")+":" %td / accuray value: %table.table-sm diff --git a/views/style.scss b/views/style.scss index 01b5147..52be743 100644 --- a/views/style.scss +++ b/views/style.scss @@ -93,3 +93,9 @@ supporters{ margin: 1em; } } + +.table td.fit, +.table th.fit { + white-space: nowrap; + width: 1%; +} -- cgit v1.2.3