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
This commit is contained in:
Endi S. Dewata
2011-09-27 16:19:51 -05:00
parent ce431be795
commit 91de76f8b1
7 changed files with 3 additions and 8 deletions

View File

@@ -63,7 +63,6 @@ IPA.entity_factories.permission = function() {
facet_group: 'privilege'
}).
adder_dialog({
width: 500,
height: 400,
sections: [
{

View File

@@ -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 = {};

View File

@@ -88,7 +88,6 @@ IPA.entity_factories.dnszone = function() {
standard_association_facets().
adder_dialog({
factory: IPA.dnszone_adder_dialog,
width: 500,
height: 300,
fields: [
{

View File

@@ -117,7 +117,6 @@ IPA.entity_factories.host = function () {
standard_association_facets().
adder_dialog({
factory: IPA.host_adder_dialog,
width: 400,
height: 250,
sections: [
{

View File

@@ -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 {

View File

@@ -52,7 +52,6 @@ IPA.entity_factories.pwpolicy = function() {
other_field: 'cn'
},
'cospriority'],
width: 400,
height: 250
}).
build();

View File

@@ -71,7 +71,6 @@ IPA.entity_factories.service = function() {
standard_association_facets().
adder_dialog({
factory: IPA.service_add_dialog,
width: 500,
height: 300
}).
build();