From 91de76f8b13d4c4d121d7bf2593fe941d265eb4e Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 27 Sep 2011 16:19:51 -0500 Subject: Fixed tab and dialog widths. The width of the 1st level tab has been modified to expand according to the size of the tab label. The width of the adder dialogs have been increased to allow longer button labels. Ticket #1825 --- install/ui/aci.js | 1 - install/ui/dialog.js | 2 +- install/ui/dns.js | 1 - install/ui/host.js | 1 - install/ui/ipa.css | 4 ++-- install/ui/policy.js | 1 - install/ui/service.js | 1 - 7 files changed, 3 insertions(+), 8 deletions(-) (limited to 'install') diff --git a/install/ui/aci.js b/install/ui/aci.js index fc62f2770..6fd4a525a 100644 --- a/install/ui/aci.js +++ b/install/ui/aci.js @@ -63,7 +63,6 @@ IPA.entity_factories.permission = function() { facet_group: 'privilege' }). adder_dialog({ - width: 500, height: 400, sections: [ { diff --git a/install/ui/dialog.js b/install/ui/dialog.js index f594a6c27..50bb194b3 100644 --- a/install/ui/dialog.js +++ b/install/ui/dialog.js @@ -34,7 +34,7 @@ IPA.dialog = function(spec) { that.name = spec.name; that.id = spec.id; that.title = spec.title; - that.width = spec.width || 400; + that.width = spec.width || 500; that.height = spec.height; that.buttons = {}; diff --git a/install/ui/dns.js b/install/ui/dns.js index cf8f68619..f5f617383 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -88,7 +88,6 @@ IPA.entity_factories.dnszone = function() { standard_association_facets(). adder_dialog({ factory: IPA.dnszone_adder_dialog, - width: 500, height: 300, fields: [ { diff --git a/install/ui/host.js b/install/ui/host.js index 6720b4fca..a74ad5e48 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -117,7 +117,6 @@ IPA.entity_factories.host = function () { standard_association_facets(). adder_dialog({ factory: IPA.host_adder_dialog, - width: 400, height: 250, sections: [ { diff --git a/install/ui/ipa.css b/install/ui/ipa.css index a838195c0..5befe499f 100644 --- a/install/ui/ipa.css +++ b/install/ui/ipa.css @@ -291,7 +291,7 @@ div.tabs { -moz-border-radius: 0 !important; -webkit-border-radius: 0 !important; font-family: "Overpass Bold","Liberation Sans", Arial, sans-serif; - width: 5em; + min-width: 5em; height: 20px; color: #858585; margin: 0 auto; @@ -1223,7 +1223,7 @@ table.scrollable tbody { } .host-adder-dialog th.hostname { - width: 110px; + width: 200px; } .host-adder-dialog td.hostname { diff --git a/install/ui/policy.js b/install/ui/policy.js index 4c4733dc0..ac9eb20f7 100644 --- a/install/ui/policy.js +++ b/install/ui/policy.js @@ -52,7 +52,6 @@ IPA.entity_factories.pwpolicy = function() { other_field: 'cn' }, 'cospriority'], - width: 400, height: 250 }). build(); diff --git a/install/ui/service.js b/install/ui/service.js index 87b0bbf20..3a7920c00 100644 --- a/install/ui/service.js +++ b/install/ui/service.js @@ -71,7 +71,6 @@ IPA.entity_factories.service = function() { standard_association_facets(). adder_dialog({ factory: IPA.service_add_dialog, - width: 500, height: 300 }). build(); -- cgit