aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-23 22:33:45 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-23 22:33:45 +0100
commit785e20ce34069cc2a0470cc3b9624f25194d5dba (patch)
tree8c2c3801a2b2f6d0d40c5edc02a1f86f571f7607
parentad2ba8e414cf7201546b6ab3d3f0106112122cc0 (diff)
downloadgovuk-mini-environment-admin-785e20ce34069cc2a0470cc3b9624f25194d5dba.tar
govuk-mini-environment-admin-785e20ce34069cc2a0470cc3b9624f25194d5dba.tar.gz
Use an animated progress bar in the jobs partial
-rw-r--r--app/views/shared/_jobs.html.erb8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/shared/_jobs.html.erb b/app/views/shared/_jobs.html.erb
index a507267..de6d7c1 100644
--- a/app/views/shared/_jobs.html.erb
+++ b/app/views/shared/_jobs.html.erb
@@ -66,7 +66,13 @@
<div class="row">
<% if job_state %>
<div class="col-md-10">
- Running now
+ <div class="progress">
+ <div class="progress-bar progress-bar-striped active"
+ role="progressbar"
+ style="width: 100%">
+ Running now
+ </div>
+ </div>
</div>
<div class="col-md-2">
PID: <%= job_state[:ruby_pid] %>