From 5eba2ffddd981d200168d7751a92ac7c83ff1422 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 676f5df3..80d5798b 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 f594a6c2..50bb194b 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 f823523a..0115a311 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -105,7 +105,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 6c5b4439..01b366e5 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -120,7 +120,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 a838195c..5befe499 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 4c4733dc..ac9eb20f 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 87b0bbf2..3a7920c0 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