* adjust the bug css style.

This commit is contained in:
wangchunsheng
2011-09-21 01:45:22 +00:00
parent 92a7500e9d
commit 5fd33c7456
2 changed files with 26 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
.closed {background:#fff;}
.closed a {text-decoration:none}
.closed {background:#efefef; text-decoration:line-through;}
.closed a {text-decoration:none;}
.resolved {background:#8EC21F;}
.active1 {background:#E70014;}
.active2 {background:#EA5407;}

View File

@@ -109,7 +109,30 @@ var customed = <?php echo (int)$customed;?>;
</tr>
<?php endforeach;?>
</tbody>
<tfoot><tr><td colspan='9'><?php $pager->show();?></td></tr></tfoot>
<tfoot>
<tr>
<td colspan='9'>
<div class='f-left'>
<?php
foreach($lang->bug->statusList as $status => $label)
{
if($status != 'active')
{
echo "<span class='$status'> $label </span> ";
continue;
}
rsort($this->lang->bug->severityList);
foreach($this->lang->bug->severityList as $severity)
{
echo "<span class='$status$severity'> {$lang->bug->severity}:$severity </span> ";
}
}
?>
</div>
<div class='f-right'><?php $pager->show();?></div>
</td>
</tr>
</tfoot>
</table>
</td>
</tr>