examples/bootstrap/dashboard3.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 4 Feb 2015 07:34:30 +0000 (15:34 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 4 Feb 2015 07:34:30 +0000 (15:34 +0800)
examples/bootstrap/dashboard3.js

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

index 623842b..8b7eb32 100644 (file)
                                                     "$ xns" : "Roo.bootstrap",
                                                     "height" : 500,
                                                     "items" : [
-                                                        {
-                                                            "String cls" : "carousel-control left",
-                                                            "Boolean preventDefault" : true,
-                                                            "xtype" : "Link",
-                                                            "$ xns" : "Roo.bootstrap",
-                                                            "String html" : "<span class=\"glyphicon glyphicon-chevron-left\"></span>"
-                                                        },
-                                                        {
-                                                            "listeners" : {
-                                                                "click" : "function (e)\n{\n  _this.tab_first.setActive(false);\n_this.tab_second.setActive(true);\n}"
-                                                            },
-                                                            "String cls" : "carousel-control right",
-                                                            "Boolean preventDefault" : true,
-                                                            "xtype" : "Link",
-                                                            "$ xns" : "Roo.bootstrap",
-                                                            "String html" : "<span class=\"glyphicon glyphicon-chevron-right\"></span>"
-                                                        },
                                                         {
                                                             "listeners" : {
                                                                 "render" : "function (_self)\n{\n_this.tab_first = _self;\n}"
                                                             "items" : [
                                                                 {
                                                                     "xtype" : "Header",
-                                                                    "$ xns" : "Roo.bootstrap",
                                                                     "Number level" : 3,
+                                                                    "$ xns" : "Roo.bootstrap",
                                                                     "String html" : "some title"
                                                                 },
                                                                 {
                                                                 }
                                                             ]
                                                         },
+                                                        {
+                                                            "String cls" : "carousel-control left",
+                                                            "Boolean preventDefault" : true,
+                                                            "xtype" : "Link",
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "String html" : "<span class=\"glyphicon glyphicon-chevron-left\"></span>"
+                                                        },
+                                                        {
+                                                            "listeners" : {
+                                                                "click" : "function (e)\n{\n  _this.tab_first.setActive(false);\n_this.tab_second.setActive(true);\n}"
+                                                            },
+                                                            "String cls" : "carousel-control right",
+                                                            "Boolean preventDefault" : true,
+                                                            "xtype" : "Link",
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "String html" : "<span class=\"glyphicon glyphicon-chevron-right\"></span>"
+                                                        },
                                                         {
                                                             "listeners" : {
                                                                 "render" : "function (_self)\n{\n_this.tab_second = _self;\n}"
index 8c6297a..84f705c 100644 (file)
@@ -365,29 +365,6 @@ dashboard3 = new Roo.XComponent({
                                                     xns : Roo.bootstrap,
                                                     height : 500,
                                                     items : [
-                                                       {
-                                                            '|xns' : 'Roo.bootstrap',
-                                                            cls : 'carousel-control left',
-                                                            preventDefault : true,
-                                                            xtype : 'Link',
-                                                            xns : Roo.bootstrap,
-                                                            html : '<span class=\"glyphicon glyphicon-chevron-left\"></span>'
-                                                        },
-                                                       {
-                                                            '|xns' : 'Roo.bootstrap',
-                                                            cls : 'carousel-control right',
-                                                            preventDefault : true,
-                                                            xtype : 'Link',
-                                                            xns : Roo.bootstrap,
-                                                            html : '<span class=\"glyphicon glyphicon-chevron-right\"></span>',
-                                                            listeners : {
-                                                               click : function (e)
-                                                                  {
-                                                                    _this.tab_first.setActive(false);
-                                                                  _this.tab_second.setActive(true);
-                                                                  }
-                                                            }
-                                                        },
                                                        {
                                                             '|xns' : 'Roo.bootstrap',
                                                             active : true,
@@ -406,8 +383,8 @@ dashboard3 = new Roo.XComponent({
                                                                {
                                                                     '|xns' : 'Roo.bootstrap',
                                                                     xtype : 'Header',
-                                                                    xns : Roo.bootstrap,
                                                                     level : 3,
+                                                                    xns : Roo.bootstrap,
                                                                     html : 'some title'
                                                                 },
                                                                {
@@ -450,6 +427,29 @@ dashboard3 = new Roo.XComponent({
                                                             ]
 
                                                         },
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'carousel-control left',
+                                                            preventDefault : true,
+                                                            xtype : 'Link',
+                                                            xns : Roo.bootstrap,
+                                                            html : '<span class=\"glyphicon glyphicon-chevron-left\"></span>'
+                                                        },
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'carousel-control right',
+                                                            preventDefault : true,
+                                                            xtype : 'Link',
+                                                            xns : Roo.bootstrap,
+                                                            html : '<span class=\"glyphicon glyphicon-chevron-right\"></span>',
+                                                            listeners : {
+                                                               click : function (e)
+                                                                  {
+                                                                    _this.tab_first.setActive(false);
+                                                                  _this.tab_second.setActive(true);
+                                                                  }
+                                                            }
+                                                        },
                                                        {
                                                             '|xns' : 'Roo.bootstrap',
                                                             active : false,