diff --git a/www/webcoverage.php b/www/webcoverage.php index 9de4439ddf..4138813565 100644 --- a/www/webcoverage.php +++ b/www/webcoverage.php @@ -117,3 +117,20 @@ function renderColorByCoveragePercent() { $(this).css('color', 'orange'); } + else + { + $(this).css('color', 'green'); + } + } + }); +} + +function implementExpand() +{ + $("tr[name$='-child']").hide(); + $("tr[name$='-parent']").click(function() + { + $(this).nextUntil("tr[name$='-parent']").slideToggle('fast'); + }); +} +