diff --git a/install/ui/ipa.css b/install/ui/ipa.css index 71cad4206..3e443d54e 100644 --- a/install/ui/ipa.css +++ b/install/ui/ipa.css @@ -1294,6 +1294,21 @@ table.scrollable tbody { width: 400px; } +.option_widget { + list-style-type: none; + margin: 0; + padding: 0; +} + +.option_widget.nested { + padding-left: 40px; +} + +.option_widget.inline, +.option_widget.inline > li { + display: inline; +} + .combobox-widget-input { display: inline-block; position: relative; diff --git a/install/ui/src/freeipa/aci.js b/install/ui/src/freeipa/aci.js index 383848ec6..b6825d136 100644 --- a/install/ui/src/freeipa/aci.js +++ b/install/ui/src/freeipa/aci.js @@ -477,7 +477,7 @@ IPA.attributes_widget = function(spec) { 'class': 'aci-attribute-table-container' }).appendTo(container); - that.table = $('', { + that.$node = that.table = $('
', { id:id, 'class':'search-table aci-attribute-table scrollable' }). @@ -520,9 +520,12 @@ IPA.attributes_widget = function(spec) { var tr = $('').appendTo(tbody); var td = $('
').appendTo(tr); + var name = that.get_input_name(); + var id = that.option_next_id + name; td.append($('',{ + id: id, type: 'checkbox', - name: that.name, + name: name, value: value, 'class': 'aci-attribute', change: function() { @@ -531,8 +534,10 @@ IPA.attributes_widget = function(spec) { })); td = $('').appendTo(tr); td.append($('