* ajusted style of burn chart.

This commit is contained in:
Catouse
2014-04-18 16:53:52 +08:00
parent f095b6f72f
commit 53366a354c
3 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
<div class="progressbar" style='width:<?php echo $project->hours->progress;?>px'>&nbsp;</div>
<small><?php echo $project->hours->progress;?>%</small>
</td>
<td class='projectline text-left' values='<?php echo join(',', $project->burns);?>'></td>
<td class='projectline text-left pd-0' values='<?php echo join(',', $project->burns);?>'></td>
</tr>
<?php endforeach;?>
</tbody>
+4 -3
View File
@@ -1,5 +1,6 @@
.pr-25px{padding-right:25px;}
.container {max-width: 950px;}
.container .actions {margin-bottom: 10px; padding: 0 25px}
.container .actions > .text {padding: 5px 5px 5px 15px; line-height: 20px}
.mw-220px {max-width: 220px!important}
#burn h1{font-size:14px;}
.icon-question-sign{color:#666}
a.btn{padding:1.5px 10px;}
#interval{margin-right:10px;}
+19 -10
View File
@@ -12,15 +12,24 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include './taskheader.html.php';?>
<script>$('#burnTab').addClass('active');</script>
<div class='text-center'>
<?php
if($interval) echo html::select('interval', $dayList, $interval);
$weekend = ($type == 'noweekend') ? 'withweekend' : "noweekend";
echo html::a($this->createLink('project', 'burn', "projectID=$projectID&type=$weekend&interval=$interval"), $lang->project->$weekend, '', "class='btn'");
common::printLink('project', 'computeBurn', 'reload=yes', $lang->project->computeBurn, 'hiddenwin', "title='{$lang->project->computeBurn}{$lang->project->burn}' class='btn' id='computeBurn'");
echo $lang->project->howToUpdateBurn;
echo $charts;
?>
<div class='container text-center bd-0'>
<div class='clearfix'>
<div class='actions pull-right'>
<div class='input-group input-group-sm pull-left mw-220px'>
<?php
if($interval) echo html::select('interval', $dayList, $interval, "class='form-control w-100px'");
$weekend = ($type == 'noweekend') ? 'withweekend' : "noweekend";
echo "<span class='input-group-btn'>";
echo html::a($this->createLink('project', 'burn', "projectID=$projectID&type=$weekend&interval=$interval"), $lang->project->$weekend, '', "class='btn'");
echo '</span>';
echo "<span class='input-group-btn'>";
common::printLink('project', 'computeBurn', 'reload=yes', $lang->project->computeBurn, 'hiddenwin', "title='{$lang->project->computeBurn}{$lang->project->burn}' class='btn btn-primary' id='computeBurn'");
echo '</span>';
?>
</div>
<div class='text pull-left'><?php echo $lang->project->howToUpdateBurn;?></div>
</div>
</div>
<?php echo $charts;?>
</div>
<?php include '../../common/view/footer.html.php';?>