I created this Greasemonkey script for firefox to restore this previous functionality to Rally's printouts.
// ==UserScript==
// @name Color Boxes
// @namespace jason-rally-color-status
// @include https://rally1.rallydev.com/slm/sc/print/processReportDialog.sp
// ==/UserScript==
var allDivs, thisDiv;
allDivs = document.evaluate(
"//td[@class='selected']/div",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
for (var i = 0; i < allDivs.snapshotLength; i++) {
thisDiv = allDivs.snapshotItem(i);
thisDiv.setAttribute('style', 'color: white; background-color: green;');
}
No comments:
Post a Comment