From 190b6dff14fceec92e3a5f35252988d6ef7bce14 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 5 Jul 2018 13:28:58 +0100 Subject: Use alerts rather than contextual panel classes As the alerts are a bit less overpowering visually. --- app/views/shared/_jobs.html.erb | 95 ++++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 44 deletions(-) (limited to 'app') diff --git a/app/views/shared/_jobs.html.erb b/app/views/shared/_jobs.html.erb index 3dd18c6..e74410e 100644 --- a/app/views/shared/_jobs.html.erb +++ b/app/views/shared/_jobs.html.erb @@ -9,7 +9,7 @@ <% jobs.each do |job| %> <% job_state = job_states.find { |x| x[:id] == job.id } %> - <% panel_class_suffix = if job.finished_at + <% alert_class_suffix = if job.finished_at 'success' elsif job.expired_at 'warning' @@ -18,52 +18,59 @@ end %> -
-