qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgodf...@apache.org
Subject svn commit: r1332826 - in /qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources: css/queue.css js/queue.js queue.html
Date Tue, 01 May 2012 21:02:28 GMT
Author: rgodfrey
Date: Tue May  1 21:02:28 2012
New Revision: 1332826

URL: http://svn.apache.org/viewvc?rev=1332826&view=rev
Log:
NO-JIRA : [Java Config] use paged grid for message lists

Modified:
    qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/css/queue.css
    qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/js/queue.js
    qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/queue.html

Modified: qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/css/queue.css
URL: http://svn.apache.org/viewvc/qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/css/queue.css?rev=1332826&r1=1332825&r2=1332826&view=diff
==============================================================================
--- qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/css/queue.css
(original)
+++ qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/css/queue.css
Tue May  1 21:02:28 2012
@@ -31,6 +31,6 @@
 
 #messages {
 	width: 100%;
-	height: 700px;
+	height: 290px;
 }
 

Modified: qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/js/queue.js
URL: http://svn.apache.org/viewvc/qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/js/queue.js?rev=1332826&r1=1332825&r2=1332826&view=diff
==============================================================================
--- qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/js/queue.js
(original)
+++ qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/js/queue.js
Tue May  1 21:02:28 2012
@@ -233,8 +233,9 @@ require(["dojo/store/JsonRest"], functio
 });
 
 require([
-    "dojox/grid/DataGrid",
+    "dojox/grid/EnhancedGrid",
     "dojo/data/ObjectStore",
+    "dojox/grid/enhanced/plugins/Pagination",
     "dojo/domReady!"
 ], function(DataGrid, ObjectStore){
     var grid = new DataGrid({
@@ -244,7 +245,20 @@ require([
             {name:"Size", field:"size", width: "60px"},
             {name:"State", field:"state", width: "120px"},
             {name:"Arrival", field:"arrivalTime", width: "100%"}
-        ]
-    }, "messages"); // make sure you have a target HTML element with this id
+        ],
+        plugins: {
+                  pagination: {
+                      pageSizes: ["10", "25", "50", "100"],
+                      description: true,
+                      sizeSwitch: true,
+                      pageStepper: true,
+                      gotoButton: true,
+                      maxPageStep: 4,
+                              /*position of the pagination bar*/
+                      position: "bottom"
+                  }
+        }
+    }, "messages");
+
     grid.startup();
 });
\ No newline at end of file

Modified: qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/queue.html
URL: http://svn.apache.org/viewvc/qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/queue.html?rev=1332826&r1=1332825&r2=1332826&view=diff
==============================================================================
--- qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/queue.html
(original)
+++ qpid/branches/java-config-and-management/qpid/java/broker-plugins/management/src/main/java/resources/queue.html
Tue May  1 21:02:28 2012
@@ -29,7 +29,8 @@
         <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojo/resources/dojo.css">
         <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dijit/themes/claro/claro.css">
         <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojox/grid/resources/claroGrid.css">
-
+        <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojox/grid/enhanced/resources/claro/EnhancedGrid.css">
+        <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojox/grid/enhanced/resources/EnhancedGrid_rtl.css">
         <link rel="stylesheet" href="../css/queue.css" media="screen">
 
 		<link rel="stylesheet" href="css/common.css" media="screen">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message