OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/public/templates/components/progress_bar.html

12 lines
386 B

<div>
<table class="progress" ng-style="{width: width}">
<tbody>
<tr>
<td class="closed" ng-if="progressInPercent > 0" ng-style="{width: progressInPercent + '%'}"></td>
<td class="todo" ng-style="{width: (scaleLength - progressInPercent) + '%'}"></td>
</tr>
</tbody>
</table>
<p class="progress-bar-legend">{{legend}} Total progress</p>
</div>