examples/bootstrap/dashboard3.bjs
authormichael <michael@office.ROOJS.COM>
Thu, 27 Nov 2014 04:15:44 +0000 (12:15 +0800)
committermichael <michael@office.ROOJS.COM>
Thu, 27 Nov 2014 04:15:44 +0000 (12:15 +0800)
examples/bootstrap/dashboard3.js

examples/bootstrap/dashboard3.bjs
examples/bootstrap/dashboard3.js

index 8ee752f..4bd5037 100644 (file)
@@ -13,8 +13,8 @@
             "items" : [
                 {
                     "String cls" : "header",
-                    "tag" : "header",
                     "xtype" : "Container",
+                    "tag" : "header",
                     "* xinclude" : "Dashboard.Header1",
                     "$ xns" : "Roo.bootstrap"
                 },
@@ -62,8 +62,8 @@
                                             "items" : [
                                                 {
                                                     "Number md" : 3,
-                                                    "xtype" : "Column",
                                                     "Number lg" : 3,
+                                                    "xtype" : "Column",
                                                     "$ xns" : "Roo.bootstrap",
                                                     "items" : [
                                                         {
@@ -81,8 +81,8 @@
                                                 },
                                                 {
                                                     "Number md" : 3,
-                                                    "xtype" : "Column",
                                                     "Number lg" : 3,
+                                                    "xtype" : "Column",
                                                     "$ xns" : "Roo.bootstrap",
                                                     "items" : [
                                                         {
                                                 },
                                                 {
                                                     "Number md" : 3,
-                                                    "xtype" : "Column",
                                                     "Number lg" : 3,
+                                                    "xtype" : "Column",
                                                     "$ xns" : "Roo.bootstrap",
                                                     "items" : [
                                                         {
                                                 },
                                                 {
                                                     "Number md" : 3,
-                                                    "Number lg" : 3,
                                                     "xtype" : "Column",
+                                                    "Number lg" : 3,
                                                     "$ xns" : "Roo.bootstrap",
                                                     "items" : [
                                                         {
                                             "items" : [
                                                 {
                                                     "Number md" : 6,
-                                                    "xtype" : "Column",
                                                     "Number lg" : 6,
+                                                    "xtype" : "Column",
                                                     "$ xns" : "Roo.bootstrap",
                                                     "String style" : "",
                                                     "Number sm" : 12,
                                                 },
                                                 {
                                                     "Number md" : 6,
-                                                    "Number lg" : 6,
                                                     "xtype" : "Column",
+                                                    "Number lg" : 6,
                                                     "$ xns" : "Roo.bootstrap",
                                                     "String style" : "",
                                                     "Number sm" : 12,
                                                     "items" : [
                                                         {
                                                             "g_y" : 200,
-                                                            "xtype" : "Graph",
                                                             "g_r" : 120,
+                                                            "xtype" : "Graph",
                                                             "graphtype" : "pie",
                                                             "$ xns" : "Roo.bootstrap",
                                                             "height" : 500,
                                                             "items" : [
                                                                 {
                                                                     "xtype" : "TabPane",
-                                                                    "$ xns" : "Roo.bootstrap.dash",
-                                                                    "items" : [
-                                                                        {
-                                                                            "xtype" : "Graph",
-                                                                            "$ xns" : "Roo.bootstrap"
-                                                                        }
-                                                                    ]
+                                                                    "$ xns" : "Roo.bootstrap.dash"
                                                                 }
                                                             ]
                                                         }
index d425573..59206d8 100644 (file)
@@ -23,8 +23,8 @@ dashboard3 = new Roo.XComponent({
                Roo.apply(Dashboard.Header1._tree(), {
                     '|xns' : 'Roo.bootstrap',
                     cls : 'header',
-                    tag : 'header',
                     xtype : 'Container',
+                    tag : 'header',
                     xns : Roo.bootstrap
                 }),
                {
@@ -79,8 +79,8 @@ dashboard3 = new Roo.XComponent({
                                                {
                                                     '|xns' : 'Roo.bootstrap',
                                                     md : 3,
-                                                    xtype : 'Column',
                                                     lg : 3,
+                                                    xtype : 'Column',
                                                     xns : Roo.bootstrap,
                                                     items : [
                                                        {
@@ -101,8 +101,8 @@ dashboard3 = new Roo.XComponent({
                                                {
                                                     '|xns' : 'Roo.bootstrap',
                                                     md : 3,
-                                                    xtype : 'Column',
                                                     lg : 3,
+                                                    xtype : 'Column',
                                                     xns : Roo.bootstrap,
                                                     items : [
                                                        {
@@ -123,8 +123,8 @@ dashboard3 = new Roo.XComponent({
                                                {
                                                     '|xns' : 'Roo.bootstrap',
                                                     md : 3,
-                                                    xtype : 'Column',
                                                     lg : 3,
+                                                    xtype : 'Column',
                                                     xns : Roo.bootstrap,
                                                     items : [
                                                        {
@@ -144,8 +144,8 @@ dashboard3 = new Roo.XComponent({
                                                {
                                                     '|xns' : 'Roo.bootstrap',
                                                     md : 3,
-                                                    lg : 3,
                                                     xtype : 'Column',
+                                                    lg : 3,
                                                     xns : Roo.bootstrap,
                                                     items : [
                                                        {
@@ -173,8 +173,8 @@ dashboard3 = new Roo.XComponent({
                                                {
                                                     '|xns' : 'Roo.bootstrap',
                                                     md : 6,
-                                                    xtype : 'Column',
                                                     lg : 6,
+                                                    xtype : 'Column',
                                                     xns : Roo.bootstrap,
                                                     style : '',
                                                     sm : 12,
@@ -213,8 +213,8 @@ dashboard3 = new Roo.XComponent({
                                                {
                                                     '|xns' : 'Roo.bootstrap',
                                                     md : 6,
-                                                    lg : 6,
                                                     xtype : 'Column',
+                                                    lg : 6,
                                                     xns : Roo.bootstrap,
                                                     style : '',
                                                     sm : 12,
@@ -267,8 +267,8 @@ dashboard3 = new Roo.XComponent({
                                                        {
                                                             '|xns' : 'Roo.bootstrap',
                                                             g_y : 200,
-                                                            xtype : 'Graph',
                                                             g_r : 120,
+                                                            xtype : 'Graph',
                                                             graphtype : 'pie',
                                                             xns : Roo.bootstrap,
                                                             height : 500,
@@ -291,15 +291,7 @@ dashboard3 = new Roo.XComponent({
                                                                {
                                                                     '|xns' : 'Roo.bootstrap.dash',
                                                                     xtype : 'TabPane',
-                                                                    xns : Roo.bootstrap.dash,
-                                                                    items : [
-                                                                       {
-                                                                            '|xns' : 'Roo.bootstrap',
-                                                                            xtype : 'Graph',
-                                                                            xns : Roo.bootstrap
-                                                                        }
-                                                                    ]
-
+                                                                    xns : Roo.bootstrap.dash
                                                                 }
                                                             ]