examples/bootstrap/dashboard1.bjs.U7KCMX
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:14:24 +0000 (17:14 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:14:24 +0000 (17:14 +0800)
examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js.ULFCMX
examples/bootstrap/dashboard1.js

examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js

index 918221e..0e8a987 100644 (file)
@@ -13,8 +13,8 @@
             "items" : [
                 {
                     "String cls" : "header",
-                    "xtype" : "Container",
                     "tag" : "header",
+                    "xtype" : "Container",
                     "* xinclude" : "Dashboard.Header1",
                     "$ xns" : "Roo.bootstrap"
                 },
                                                                                 },
                                                                                 {
                                                                                     "xtype" : "Header",
-                                                                                    "$ xns" : "Roo.bootstrap",
                                                                                     "Number level" : 4,
+                                                                                    "$ xns" : "Roo.bootstrap",
                                                                                     "String html" : "With Icons"
                                                                                 },
                                                                                 {
                                                                                 },
                                                                                 {
                                                                                     "xtype" : "Header",
-                                                                                    "Number level" : 4,
                                                                                     "$ xns" : "Roo.bootstrap",
+                                                                                    "Number level" : 4,
                                                                                     "String html" : "With checkbox and radio"
                                                                                 },
                                                                                 {
                                                                                 },
                                                                                 {
                                                                                     "xtype" : "Header",
-                                                                                    "$ xns" : "Roo.bootstrap",
                                                                                     "Number level" : 4,
+                                                                                    "$ xns" : "Roo.bootstrap",
                                                                                     "String html" : "With buttons"
                                                                                 },
                                                                                 {
                                                                                     "string size" : "md",
                                                                                     "items" : [
                                                                                         {
+                                                                                            "String weight" : "primary",
                                                                                             "xtype" : "Button",
                                                                                             "$ xns" : "Roo.bootstrap",
                                                                                             "String html" : "test",
index 8aa99ff..51b7616 100644 (file)
@@ -21,8 +21,8 @@ dashboard1 = new Roo.XComponent({
             items : [
                Roo.apply(Dashboard.Header1._tree(), {
                     cls : 'header',
-                    xtype : 'Container',
                     tag : 'header',
+                    xtype : 'Container',
                     xns : Roo.bootstrap
                 }),
                {
@@ -322,8 +322,8 @@ dashboard1 = new Roo.XComponent({
                                                                                 },
                                                                                {
                                                                                     xtype : 'Header',
-                                                                                    xns : Roo.bootstrap,
                                                                                     level : 4,
+                                                                                    xns : Roo.bootstrap,
                                                                                     html : 'With Icons'
                                                                                 },
                                                                                {
@@ -350,8 +350,8 @@ dashboard1 = new Roo.XComponent({
                                                                                 },
                                                                                {
                                                                                     xtype : 'Header',
-                                                                                    level : 4,
                                                                                     xns : Roo.bootstrap,
+                                                                                    level : 4,
                                                                                     html : 'With checkbox and radio'
                                                                                 },
                                                                                {
@@ -378,12 +378,13 @@ dashboard1 = new Roo.XComponent({
                                                                                 },
                                                                                {
                                                                                     xtype : 'Header',
-                                                                                    xns : Roo.bootstrap,
                                                                                     level : 4,
+                                                                                    xns : Roo.bootstrap,
                                                                                     html : 'With buttons'
                                                                                 },
                                                                                {
                                                                                     before : {
+                                                                                        weight : 'primary',
                                                                                         xtype : 'Button',
                                                                                         xns : Roo.bootstrap,
                                                                                         html : 'test'