* code for task #5717.

This commit is contained in:
wangyidong
2019-06-10 13:21:26 +08:00
parent 16d810d460
commit 4ecd2b4373
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
.block-burn .panel-body{margin-top: 20px;}
.data-stats .widthTr td{padding:0px;}
#burnWrapper {max-width: 400px; margin: 0 auto; padding: 8px; position: relative;}
#burnYUnit {position: absolute; color: #CBD0DB; top: -10px; left: 10px;}
+2 -1
View File
@@ -225,8 +225,9 @@
<div class="detail-content">
<table class='table table-data data-stats'>
<tbody>
<tr class='widthTr'><td class='w-100px'></td><td></td><td></td><td></td></tr>
<tr>
<td colspan="2">
<td colspan="4">
<?php $progress = ($project->totalConsumed + $project->totalLeft) ? round($project->totalConsumed / ($project->totalConsumed + $project->totalLeft), 3) * 100 : 0;?>
<?php echo $lang->projectCommon . $lang->project->progress;?> <em><?php echo $progress . $lang->percent;?></em> &nbsp;
<div class="progress inline-block">