Skip to content

Commit

Permalink
Merge pull request #46 from aztechian/progressbar-display
Browse files Browse the repository at this point in the history
Resolve #45 - progress bar display
  • Loading branch information
bradvogel authored Aug 30, 2017
2 parents 7ee9b2b + 2486c79 commit 736ce71
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/server/views/partials/dashboard/jobDetails.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,22 @@
</div>
</div>

{{#unless this.queue.IS_BEE}}
<h5>Progress</h5>
<div class="progress">
<div class="progress-bar
{{#eq jobState 'failed'}}
progress-bar-danger
{{/eq}}"
role="progressbar"
aria-valuenow="{{ this.progress }}"
aria-valuenow="{{ this._progress }}"
aria-valuemin="0"
aria-valuemax="100"
style="width: {{ this.progress }}%; min-width: 2em;">
{{ this.progress }}%
style="width: {{ this._progress }}%; min-width: 2em;">
{{ this._progress }}%
</div>
</div>
{{/unless}}

{{#if this.returnvalue}}
<pre>{{ this.returnvalue }}</pre>
Expand Down

0 comments on commit 736ce71

Please sign in to comment.