From fef343ae8f501aa67d4c746d9c7103d797fd6be2 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Wed, 18 Jan 2012 17:58:55 -0600 Subject: Show disabled entries in gray. The users, HBAC/sudo rules, HBAC test, and SELinux list pages have been modified to show disabled entries in gray. Icons will be added separately. Ticket #1996 --- install/ui/facet.js | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'install/ui/facet.js') diff --git a/install/ui/facet.js b/install/ui/facet.js index d6502494..150c3e8f 100644 --- a/install/ui/facet.js +++ b/install/ui/facet.js @@ -413,6 +413,9 @@ IPA.table_facet = function(spec) { that.search_all_attributes = spec.search_all_attributes; that.selectable = spec.selectable === undefined ? true : spec.selectable; + that.row_enabled_attribute = spec.row_enabled_attribute; + that.row_disabled_attribute = spec.row_disabled_attribute; + that.columns = $.ordered_map(); var init = function() { @@ -605,11 +608,31 @@ IPA.table_facet = function(spec) { that.load_records = function(records) { that.table.empty(); for (var i=0; i