You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/10/02 21:57:31 UTC

git commit: updated refs/heads/ui-restyle to 3689ff7

Updated Branches:
  refs/heads/ui-restyle f0cec55fe -> 3689ff740


Fix overflow scrolling for listView


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

Branch: refs/heads/ui-restyle
Commit: 3689ff7405ad4c5fd39adb4db72e5e53a47e4948
Parents: f0cec55
Author: Brian Federle <br...@citrix.com>
Authored: Wed Oct 2 12:57:11 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Wed Oct 2 12:57:24 2013 -0700

----------------------------------------------------------------------
 ui/scripts/sharedFunctions.js  |  2 +-
 ui/stylesheets/cloudstack.scss |  2 ++
 ui/stylesheets/csui/_list.scss | 19 +++++++++++++++----
 3 files changed, 18 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3689ff74/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index d2c776c..3d0794d 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -45,7 +45,7 @@ var md5Hashed = false;
 var md5HashedLogin = false;
 
 //page size for API call (e.g."listXXXXXXX&pagesize=N" )
-var pageSize = 20;
+var pageSize = 30;
 
 var rootAccountId = 1;
 

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3689ff74/ui/stylesheets/cloudstack.scss
----------------------------------------------------------------------
diff --git a/ui/stylesheets/cloudstack.scss b/ui/stylesheets/cloudstack.scss
index fcd6684..b8b5ee0 100644
--- a/ui/stylesheets/cloudstack.scss
+++ b/ui/stylesheets/cloudstack.scss
@@ -221,6 +221,8 @@ body {
 // List view widget
 .list-view {
     @include csui-list;
+
+    max-height: 85%;
 }
 
 // Panel toolbars

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3689ff74/ui/stylesheets/csui/_list.scss
----------------------------------------------------------------------
diff --git a/ui/stylesheets/csui/_list.scss b/ui/stylesheets/csui/_list.scss
index 6155ca3..4756dcc 100644
--- a/ui/stylesheets/csui/_list.scss
+++ b/ui/stylesheets/csui/_list.scss
@@ -16,6 +16,7 @@
 // under the License.
 @mixin csui-list {
     margin: 20px;
+    overflow: auto;
     
     table {
         width: 100%;
@@ -36,17 +37,27 @@
 
         tr td {
             padding: 5px;
-            border-bottom: 1px solid #ccc;
+            border: 1px solid #ccc;
             font-size: 11px;
-            white-space: nowrap;
+            max-width: 100px;
 
             span {
                 float: left;
             }
         }
 
-        th.quick-view, td.quick-view {
-            width: 40px;
+        th, td {
+            &.quick-view {
+                width: 40px;
+            }
+
+            &.actions {
+                width: 80px;
+            }
+
+            &.reorder {
+                width: 150px;
+            }
         }
 
         td.quick-view {