From 23704bd2dfca0cdff9661861b522e3fdd02f9023 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Mon, 22 Jul 2019 01:37:20 -0500 Subject: [PATCH] wrapping up --- app/assets/stylesheets/editor.css.scss | 2 +- .../documents/analysis/_processing.html.erb | 48 +++++++++++++++---- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/editor.css.scss b/app/assets/stylesheets/editor.css.scss index 61e4a9a2..83e2b080 100644 --- a/app/assets/stylesheets/editor.css.scss +++ b/app/assets/stylesheets/editor.css.scss @@ -41,7 +41,7 @@ b, strong { .smart-sidebar { opacity: 0.4; - margin-top: 10px; + margin-top: 10px; &:hover { opacity: 1.0; diff --git a/app/views/documents/analysis/_processing.html.erb b/app/views/documents/analysis/_processing.html.erb index 1cc6be25..d47982c5 100644 --- a/app/views/documents/analysis/_processing.html.erb +++ b/app/views/documents/analysis/_processing.html.erb @@ -15,11 +15,20 @@
Word Choice
<% if analysis && analysis.progress >= 25 %> -
+
<% else %> -
+
<% end %>
+ <% if analysis && analysis.progress < 25 %> +

+ Analyzing... +

+ <% else %> +

+ Analysis complete. +

+ <% end %> @@ -30,11 +39,20 @@
Readability
<% if analysis && analysis.progress >= 50 %> -
+
<% else %> -
+
<% end %>
+ <% if analysis && analysis.progress < 50 %> +

+ Analyzing... +

+ <% else %> +

+ Analysis complete. +

+ <% end %> @@ -45,11 +63,20 @@
Entities
<% if analysis && analysis.progress >= 75 %> -
+
<% else %> -
+
<% end %>
+ <% if analysis && analysis.progress < 75 %> +

+ Analyzing... +

+ <% else %> +

+ Analysis complete. +

+ <% end %> @@ -58,10 +85,13 @@
Emotion
-
-
+
+
+
+

+ Analyzing... +

-
\ No newline at end of file