From b67f953c9ad4ebc108aa5a6431ffbd6575c1e6f2 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 5 Jul 2018 14:08:28 +0100 Subject: More jobs partial improvements Change the padding and margins to make the panel headings smaller. Also support the running state better. --- app/views/shared/_jobs.html.erb | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/app/views/shared/_jobs.html.erb b/app/views/shared/_jobs.html.erb index f2439c1..620bc2a 100644 --- a/app/views/shared/_jobs.html.erb +++ b/app/views/shared/_jobs.html.erb @@ -13,6 +13,8 @@ 'success' elsif job.expired_at 'warning' + elsif job_state + 'info' else 'danger' end @@ -20,13 +22,13 @@
<% if job_state %>
-
-
- Running now -
-
PID: <%= job_state[:ruby_pid] %> -- cgit v1.2.3