diff --git a/report-htm.tmpl b/report-htm.tmpl index 6e40677..afd9b2d 100755 --- a/report-htm.tmpl +++ b/report-htm.tmpl @@ -141,16 +141,11 @@ Health Status -#for $bucket in sorted($bucket_list.keys()) + #for $bucket in sorted($bucket_list.keys()) + #set $bucket_status_class = 'status-' + $bucket_list[$bucket].lower() $bucket - #if $bucket_list[$bucket] == "Error" - Immediate action needed - #elif $bucket_list[$bucket] == "Warning" - Attention needed - #else - OK - #end if + $bucket_list[$bucket] #end for @@ -163,11 +158,12 @@ Cluster Status -#for $node in sorted($node_list["nodeList"]["value"]) + #for $node in sorted($node_list["nodeList"]["value"]) + #set $node_status_class = 'status-' + $node["status"].lower() $node["host"] $node["version"] - $node["status"] + $node["status"] #end for