summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-27 16:19:51 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-09-29 16:56:54 +0000
commit5eba2ffddd981d200168d7751a92ac7c83ff1422 (patch)
tree44bc0ea1d1d4115da87015c535f126bfef9cadc4
parent54dc9670f83c3599a826ddbf2fd2fb1eafa17c69 (diff)
downloadfreeipa-5eba2ffddd981d200168d7751a92ac7c83ff1422.tar.gz
freeipa-5eba2ffddd981d200168d7751a92ac7c83ff1422.tar.xz
freeipa-5eba2ffddd981d200168d7751a92ac7c83ff1422.zip
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
-rw-r--r--install/ui/aci.js1
-rw-r--r--install/ui/dialog.js2
-rw-r--r--install/ui/dns.js1
-rw-r--r--install/ui/host.js1
-rw-r--r--install/ui/ipa.css4
-rw-r--r--install/ui/policy.js1
-rw-r--r--install/ui/service.js1
7 files changed, 3 insertions, 8 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js
index 676f5df3e..80d5798b2 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 f823523a0..0115a311e 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 6c5b44392..01b366e5e 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 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();