summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-01-07 15:03:35 -0600
committerSol Jerome <sol.jerome@gmail.com>2013-01-07 15:03:35 -0600
commitdd5dd2cf36d2576112811b211d2b0b02a23e2698 (patch)
treeb522c1a96975597664787dddeb9e162d51af9a4e
parent49dd65c94f9b6a57365448a30e4248c0ff338d34 (diff)
downloadbcfg2-dd5dd2cf36d2576112811b211d2b0b02a23e2698.tar.gz
bcfg2-dd5dd2cf36d2576112811b211d2b0b02a23e2698.tar.bz2
bcfg2-dd5dd2cf36d2576112811b211d2b0b02a23e2698.zip
reports: Make Failed and Bad consistent
Failed entries were causing me confusion previously because the colors between the client State and the Failed entries were inconsistent. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r--reports/site_media/bcfg2_base.css9
-rw-r--r--src/lib/Bcfg2/Reporting/templates/clients/detail.html4
2 files changed, 8 insertions, 5 deletions
diff --git a/reports/site_media/bcfg2_base.css b/reports/site_media/bcfg2_base.css
index ae7e145f1..cd5acc6c1 100644
--- a/reports/site_media/bcfg2_base.css
+++ b/reports/site_media/bcfg2_base.css
@@ -150,12 +150,15 @@ ul.menu-level2 {
color: #10324b;
text-decoration: none;
}
-.modified-lineitem {
- background: #FFEC8B;
-}
.extra-lineitem {
background: #63B8FF;
}
+.failed-lineitem {
+ background: #FF7777;
+}
+.modified-lineitem {
+ background: #FFEC8B;
+}
table.grid-view {
border: solid 1px #98DBCC;
diff --git a/src/lib/Bcfg2/Reporting/templates/clients/detail.html b/src/lib/Bcfg2/Reporting/templates/clients/detail.html
index 27a791fee..4608ce6f1 100644
--- a/src/lib/Bcfg2/Reporting/templates/clients/detail.html
+++ b/src/lib/Bcfg2/Reporting/templates/clients/detail.html
@@ -121,8 +121,8 @@ span.history_links a {
{% if interaction.failures.all %}
<div class='entry_list'>
- <div class='entry_list_head' onclick='javascript:toggleMe("failures_table");'>
- <h3>Failed entries</h3>
+ <div class='entry_list_head failed-lineitem' onclick='javascript:toggleMe("failures_table");'>
+ <h3>Failed Entries &#8212; {{ interaction.failures.all|length }}</h3>
<div class='entry_expand_tab' id='plusminus_failuress_table'>[+]</div>
</div>
<table id='failures_table' class='entry_list' style='display: none'>