From e98693ada5d512e6c4a9dac40a30f5db554ead3d Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Fri, 4 May 2012 19:14:20 -0500 Subject: reports: Add fine-grained filter for 'bad' clients This filter introduces percentages which should help administrators to quickly visually see where they should focus their time. The worse the percentage of bad/total entries, the darker the color of the client. Signed-off-by: Sol Jerome --- reports/site_media/bcfg2_base.css | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'reports/site_media') diff --git a/reports/site_media/bcfg2_base.css b/reports/site_media/bcfg2_base.css index d8066277c..d74c1b618 100644 --- a/reports/site_media/bcfg2_base.css +++ b/reports/site_media/bcfg2_base.css @@ -103,14 +103,36 @@ ul.menu-level2 { bottom: 0px; right: 0px; } - -.dirty-lineitem { +/* + * slightly-dirty: node is < 33% dirty + */ +.slightly-dirty-lineitem { background: #FFAAAA; } +.slightly-dirty-lineitem a { + color: #10324b; + text-decoration: none; +} +/* + * dirty: node is >= 33% dirty but < 66% dirty + */ +.dirty-lineitem { + background: #FF7777; +} .dirty-lineitem a { color: #10324b; text-decoration: none; } +/* + * very-dirty: node is >= 66% dirty + */ +.very-dirty-lineitem { + background: #FF4444; +} +.very-dirty-lineitem a { + color: #10324b; + text-decoration: none; +} .clean-lineitem { background: #AAFFBB; } -- cgit v1.2.3-1-g7c22