Converted entity header into facet header.

The content and the size of entity header changes depending on the
facet being displayed, so the entity header has been converted into
a facet header to allow better control via CSS.

The DNS record facet has been updated to use the same styling and
support scrolling.

To help styling and testing, all buttons have been assigned a name.
This commit is contained in:
Endi S. Dewata
2011-06-21 15:05:44 -05:00
committed by Adam Young
parent 3d9fb938d9
commit c8eb76766a
12 changed files with 411 additions and 563 deletions

View File

@@ -515,6 +515,7 @@ IPA.adder_dialog = function (spec) {
var button = $('input[name=find]', that.container);
that.find_button = IPA.button({
name: 'find',
'label': button.val(),
'icon': 'ui-icon-search',
'click': function() { that.search(); }
@@ -523,6 +524,7 @@ IPA.adder_dialog = function (spec) {
button = $('input[name=remove]', that.container);
that.remove_button = IPA.button({
name: 'remove',
'label': button.val(),
'click': function() {
that.remove();
@@ -533,6 +535,7 @@ IPA.adder_dialog = function (spec) {
button = $('input[name=add]', that.container);
that.add_button = IPA.button({
name: 'add',
'label': button.val(),
'click': function() {
that.add();