* finish task #2329.

This commit is contained in:
wangyidong
2015-10-16 10:53:10 +08:00
parent c571a8a440
commit e097fdcb8e
8 changed files with 42 additions and 26 deletions

View File

@@ -30,10 +30,8 @@
<div class='panel-body' style='padding-top:0'>
<form method='post'>
<?php echo html::checkBox('charts', $lang->task->report->charts, $checkedCharts, '', 'block')?>
<div class='btn-group'>
<?php echo html::selectButton('', 'btn-sm'); ?>
<?php echo html::submitButton($lang->task->report->create, "", 'btn-sm btn-primary');?>
</div>
<?php echo html::selectAll('', "button", false, 'btn-sm')?>
<?php echo html::submitButton($lang->task->report->create, "", 'btn-sm btn-primary');?>
</form>
</div>
</div>
@@ -55,11 +53,9 @@
<td style='width: 320px'>
<div style="overflow:auto;" class='table-wrapper'>
<table class='table table-condensed table-hover table-striped table-bordered table-chart' data-chart='<?php echo $chartOption->type; ?>' data-target='#chart-<?php echo $chartType ?>' data-animation='false'>
<caption class='text-left'><?php echo $lang->task->report->charts[$chartType];?></caption>
<thead>
<tr>
<th class='w-20px'></th>
<th class='chart-label'><?php echo $lang->task->report->$chartType->item;?></th>
<th class='chart-label' colspan='2'><?php echo $lang->task->report->$chartType->item;?></th>
<th><?php echo $lang->task->report->value;?></th>
<th><?php echo $lang->report->percent;?></th>
</tr>
@@ -67,7 +63,7 @@
<tbody>
<?php foreach($datas[$chartType] as $key => $data):?>
<tr class='text-center'>
<td class='chart-color'><i class='chart-color-dot icon-circle'></i></td>
<td class='chart-color w-20px'><i class='chart-color-dot icon-circle'></i></td>
<td class='chart-label'><?php echo $data->name;?></td>
<td class='chart-value'><?php echo $data->value;?></td>
<td><?php echo ($data->percent * 100) . '%';?></td>