* Adjust the icon.

This commit is contained in:
chencongzhi520@gmail.com
2012-07-02 02:53:02 +00:00
parent a54b6e184e
commit 232604384c
5 changed files with 20 additions and 12 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ function browseByModule(active)
$(document).ready(function()
{
$("a.iframe").colorbox({width:600, height:340, iframe:true, transition:'none'});
$("a.icon-green-big-bug-customFields").colorbox({width:600, height:340, iframe:true, transition:'none'});
$('#' + browseType + 'Tab').addClass('active');
$('#module' + moduleID).addClass('active');
+3 -6
View File
@@ -38,7 +38,7 @@ var customed = <?php echo (int)$customed;?>;
</div>
<div class='f-right'>
<?php if($browseType != 'needconfirm') common::printIcon('bug', 'export', "productID=$productID&orderBy=$orderBy", '', 'big');?>
<?php common::printLink('bug', 'customFields', '', $lang->bug->customFields, '', "class='iframe'"); ?>
<?php common::printIcon('bug', 'customFields', '', '', 'big'); ?>
<?php common::printIcon('bug', 'report', "productID=$productID&browseType=$browseType&moduleID=$moduleID", '', 'big');?>
<?php common::printIcon('bug', 'create', "productID=$productID&extra=moduleID=$moduleID", '', 'big'); ?>
</div>
@@ -102,11 +102,8 @@ var customed = <?php echo (int)$customed;?>;
<?php $bugLink = inlink('view', "bugID=$bug->id");?>
<tr class='a-center'>
<td class='<?php echo $bug->status;?>' style="font-weight:bold"><?php echo html::a($bugLink, sprintf('%03d', $bug->id));?></td>
<td>
<span class='<?php echo 'severity' . $bug->severity;?>'>&nbsp;</span>
<?php echo $lang->bug->severityList[$bug->severity]?>
</td>
<td><?php echo $lang->bug->priList[$bug->pri]?></td>
<td><span class='<?php echo 'severity' . $bug->severity;?>'>&nbsp;</span></td>
<td><span class='<?php echo 'pri' . $lang->bug->priList[$bug->pri];?>'>&nbsp;</span></td>
<?php $class = 'confirm' . $bug->confirmed;?>
<td class='a-left nobr'><?php echo "<span class='$class'>[{$lang->bug->confirmedList[$bug->confirmed]}] </span>" . html::a($bugLink, $bug->title);?></td>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 42 KiB

+16 -5
View File
@@ -435,6 +435,13 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
.icon-green-big-common-splitLine {padding:2px 10px; background:url(images/main/zt-green.png) -60px -40px;}
.pri1 {padding:2px 8px; background:url(images/main/zt-green.png) 0px -140px no-repeat;}
.pri2 {padding:2px 8px; background:url(images/main/zt-green.png) -20px -140px no-repeat;}
.pri3 {padding:2px 8px; background:url(images/main/zt-green.png) -40px -140px no-repeat;}
.pri4 {padding:2px 8px; background:url(images/main/zt-green.png) -60px -140px no-repeat;}
.pri5 {padding:2px 8px; background:url(images/main/zt-green.png) -80px -140px no-repeat;}
.pri6 {padding:2px 8px; background:url(images/main/zt-green.png) -100px -140px no-repeat;}
/* Story icons. */
#featurebar .f-right .icon-green-big-story-create {padding:2px 7px 2px 10px; background:url(images/main/zt-green.png) 0px -200px;}
#featurebar .f-right .icon-green-big-story-batchCreate {padding:2px 7px 2px 10px; background:url(images/main/zt-green.png) -20px -200px;}
@@ -460,6 +467,8 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
/* Bug icons. */
#featurebar .f-right .icon-green-big-bug-create, caption .f-right .icon-green-big-bug-create {padding:2px 7px 2px 10px; background:url(images/main/zt-green.png) 0px -200px;}
#featurebar .f-right .icon-green-big-bug-customFields {padding:2px 7px 2px 10px; background:url(images/main/zt-green.png) -160px -280px;}
.icon-green-small-bug-createBug {padding:2px 8px; background:url(images/main/zt-green.png) -40px -340px;}
.icon-gray-small-bug-createBug {padding:2px 8px; background:url(images/main/zt-gray.png) -40px -340px;}
@@ -469,13 +478,15 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
.icon-green-small-bug-close {padding:2px 8px; background:url(images/main/zt-green.png) -80px -300px;}
.icon-gray-small-bug-close {padding:2px 8px; background:url(images/main/zt-gray.png) -80px -300px;}
.severity1 {padding:2px 8px; background:url(images/main/zt-green.png) 0px -380px no-repeat;}
.severity2 {padding:2px 8px; background:url(images/main/zt-green.png) -20px -380px no-repeat;}
.severity3 {padding:2px 8px; background:url(images/main/zt-green.png) -40px -380px no-repeat;}
.severity4 {padding:2px 8px; background:url(images/main/zt-green.png) -60px -380px no-repeat;}
.severity1 {padding:2px 8px; background:url(images/main/zt-green.png) 0px -380px no-repeat;}
.severity2 {padding:2px 8px; background:url(images/main/zt-green.png) -20px -380px no-repeat;}
.severity3 {padding:2px 8px; background:url(images/main/zt-green.png) -40px -380px no-repeat;}
.severity4 {padding:2px 8px; background:url(images/main/zt-green.png) -60px -380px no-repeat;}
.severity5 {padding:2px 8px; background:url(images/main/zt-green.png) -80px -380px no-repeat;}
.severity6 {padding:2px 8px; background:url(images/main/zt-green.png) -100px -380px no-repeat;}
/* Case icons. */
#featurebar .f-right .icon-green-big-testcase-create {padding:2px 7px 2px 10px; background:url(images/main/zt-green.png) 0px -320px;}
#featurebar .f-right .icon-green-big-testcase-batchCreate {padding:2px 7px 2px 10px; background:url(images/main/zt-green.png) -20px -320px;}
.icon-green-small-testcase-createCase {padding:2px 7px 2px 10px; background:url(images/main/zt-green.png) -120px -221px;}
.icon-green-small-testcase-createCase {padding:1px 7px 1px 10px; background:url(images/main/zt-green.png) -120px -222px;}