3381: Merge job_status_label and job_progress into a single job_progress
authorPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 6 Oct 2014 19:03:37 +0000 (15:03 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 6 Oct 2014 19:03:37 +0000 (15:03 -0400)
commit2c7b72059f8390d56f7031206772dc3d4e4ad5da
tree48f1563fc4dbc8c95623b248a1ab3bc7e79e2669
parent370366c748b22f5c230bf11e209a190612c088e7
3381: Merge job_status_label and job_progress into a single job_progress
partial.  This partial renders a progress bar if the job is running, otherwise
renders a label with the job state.  The progress bar now shows only 'done'
tasks and renders the progress bar in orange if any tasks have failed.  Move
"done, failure, running, todo" from panel body to panel heading on
running_component partial.  Dashboard now uses job_progress partial with
"scaleby" to indicate pipeline progress more precisely.
apps/workbench/app/assets/stylesheets/application.css.scss
apps/workbench/app/views/application/_job_progress.html.erb
apps/workbench/app/views/application/_job_status_label.html.erb [deleted file]
apps/workbench/app/views/application/_pipeline_status_label.html.erb
apps/workbench/app/views/jobs/_show_recent.html.erb
apps/workbench/app/views/pipeline_instances/_running_component.html.erb
apps/workbench/app/views/pipeline_instances/_show_recent.html.erb
apps/workbench/app/views/projects/_show_dashboard.html.erb
apps/workbench/app/views/users/_tables.html.erb