mirror of https://github.com/apache/cloudstack.git
Revert "Create compute offering UI: Use big size for form"
Due to some usability issues with the form layout, reverting the 'bigSize' functionality from the createForm.
This commit is contained in:
parent
7838c5a1b2
commit
da83e12d6b
|
|
@ -3809,10 +3809,6 @@ Dialogs*/
|
|||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.ui-dialog.big div.form-container div.form-item {
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
.ui-dialog div.form-container div.name {
|
||||
float: left;
|
||||
clear: both;
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@
|
|||
},
|
||||
|
||||
createForm: {
|
||||
bigSize: true,
|
||||
title: 'label.add.compute.offering',
|
||||
fields: {
|
||||
name: {
|
||||
|
|
|
|||
|
|
@ -67,10 +67,10 @@
|
|||
$('.overlay').remove();
|
||||
|
||||
return $formContainer.dialog({
|
||||
dialogClass: args.form.bigSize ? 'create-form big' : 'create-form',
|
||||
dialogClass: 'create-form',
|
||||
closeOnEscape: false,
|
||||
draggable: false,
|
||||
width: args.form.bigSize ? 800 : 400,
|
||||
width: 400,
|
||||
title: _l(args.form.title),
|
||||
open: function() {
|
||||
if (args.form.preFilter) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue