Search Login or Get an Account!
x
or
Get the Facts Do Your Part
Steven Skoczen

Fixing or changing bugdar colors

Steven Skoczen wrote this Dec. 19, 2008.
On an indirect SixLinks note, here's a tip for anyone who needs to change the colors in Bugdar 1.2.

As some people may know, the SixLinks bug-tracker is powerered by bugdar. It's a great little tracker, though some of the coding choices are pretty baffling.

However, if you ever use it, and find yourself wanting to change the heart-attack colors, here's a good fix:

Edit templates/trackerhome_bits.tpl.
Swap out
style="background-color: $bug[bgcolor]
for
class="bug-status-$bug[status]

Then, just add some css classes to the global file:

.bug-status-Unconfirmed, .bug-status-Unconfirmed a {
background-color : #F29F46;
color: #FFF;
border: 0px;
}

.bug-status-Confirmed, .bug-status-Confirmed a {
background-color: #FEF6CC;
}

.bug-statusid-Assigned,.bug-status-Assigned a {
background-color: #D1BCE8;
}

.bug-status-Closed, .bug-status-Closed a{
background-color: #EFFDDD;
color: #ACBBAA;
text-decoration: none;
font-weight: normal;
}

.bug-status-Reopened, .bug-status-Reopened a {
background-color: #D6F4FD;
}

/* Other styling niceties */
.bug-status-Unconfirmed a, .bug-status-Confirmed a,.bug-status-Assigned a, .bug-status-Closed a, .bug-status-Reopened a {
text-decoration: none;
font-weight: bold;
color: #0466cd;
}

.bug-status-Unconfirmed a:hover, .bug-status-Confirmed a:hover,.bug-status-Assigned a:hover, .bug-status-Closed a:hover, .bug-status-Reopened a {
text-decoration: underline;
}

#content table, .table tr, .table td {
padding: 4px;
margin: 0px;
border-spacing:0px;
}
submit to reddit Bookmark and Share

Comments

Comments

No comments yet.

Feedback/Bugs Support SixLinks FAQ About Us Media Terms of Use Privacy