Added has_active_failures to Hosts view under Inventory detail. There is now a Failures column. A red dot (icon-circle) displays for hosts where has_active_failures == true, otherwise the column is empty.

This commit is contained in:
chouseknecht
2013-06-12 16:12:07 -04:00
parent 3bb0323b02
commit 614607fd0e
4 changed files with 38 additions and 12 deletions

View File

@@ -42,7 +42,9 @@ angular.module('GeneratorHelpers', [])
html += "</div>\n";
html += "<select ng-show=\"" + iterator + "SelectShow\" ng-model=\""+ iterator + "SearchSelectValue\" ng-change=\"search('" + iterator + "')\" ";
html += "ng-options=\"c.name for c in " + iterator + "SearchSelectOpts\" class=\"search-select\"></select>\n";
html += "ng-options=\"c.name for c in " + iterator + "SearchSelectOpts\" class=\"search-select";
html += (useMini) ? " field-mini-height" : "";
html += "\"></select>\n";
html += "<input ng-hide=\"" + iterator + "SelectShow || " + iterator + "InputHide\" class=\"input-medium";
html += (useMini) ? " field-mini-height" : "";