cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to da83e12
Date Wed, 14 Aug 2013 17:53:31 GMT
Updated Branches:
  refs/heads/master 7838c5a1b -> da83e12d6


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.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/da83e12d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/da83e12d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/da83e12d

Branch: refs/heads/master
Commit: da83e12d6b16345848789738ddb34f94932e9ddb
Parents: 7838c5a
Author: Brian Federle <brian.federle@citrix.com>
Authored: Wed Aug 14 10:47:55 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Wed Aug 14 10:53:26 2013 -0700

----------------------------------------------------------------------
 ui/css/cloudstack3.css      | 4 ----
 ui/scripts/configuration.js | 1 -
 ui/scripts/ui/dialog.js     | 4 ++--
 3 files changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/da83e12d/ui/css/cloudstack3.css
----------------------------------------------------------------------
diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css
index 433a1d7..6d1b75d 100644
--- a/ui/css/cloudstack3.css
+++ b/ui/css/cloudstack3.css
@@ -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;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/da83e12d/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index f9c2498..5eff5b4 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -61,7 +61,6 @@
                             },
 
                             createForm: {
-                                bigSize: true,
                                 title: 'label.add.compute.offering',
                                 fields: {
                                     name: {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/da83e12d/ui/scripts/ui/dialog.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js
index edb5cea..37e2a86 100644
--- a/ui/scripts/ui/dialog.js
+++ b/ui/scripts/ui/dialog.js
@@ -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) {


Mime
View raw message