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

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

index 8b7eb32..4bc1998 100644 (file)
                                                     "$ xns" : "Roo.bootstrap",
                                                     "height" : 500,
                                                     "items" : [
+                                                        {
+                                                            "listeners" : {
+                                                                "render" : "function (_self)\n{\n_this.tab_second = _self;\n}"
+                                                            },
+                                                            "Boolean active" : false,
+                                                            "String cls" : "carousel slide",
+                                                            "xtype" : "TabPanel",
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "String tabId" : "#second",
+                                                            "String navId" : "#sample1",
+                                                            "items" : [
+                                                                {
+                                                                    "xtype" : "Header",
+                                                                    "$ xns" : "Roo.bootstrap",
+                                                                    "Number level" : 3,
+                                                                    "String html" : "next tab"
+                                                                },
+                                                                {
+                                                                    "String cls" : "carousel-inner",
+                                                                    "xtype" : "Container",
+                                                                    "$ xns" : "Roo.bootstrap",
+                                                                    "String well" : "md",
+                                                                    "String style" : "padding-left:50px;padding-right:50px;",
+                                                                    "items" : [
+                                                                        {
+                                                                            "xtype" : "Row",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "items" : [
+                                                                                {
+                                                                                    "Number md" : 6,
+                                                                                    "xtype" : "Column",
+                                                                                    "$ xns" : "Roo.bootstrap",
+                                                                                    "items" : [
+                                                                                        {
+                                                                                            "labelAlign" : "top",
+                                                                                            "fieldLabel" : "Some input",
+                                                                                            "xtype" : "Input",
+                                                                                            "allowBlank" : true,
+                                                                                            "$ xns" : "Roo.bootstrap",
+                                                                                            "name" : "chosen_title"
+                                                                                        }
+                                                                                    ]
+                                                                                }
+                                                                            ]
+                                                                        }
+                                                                    ]
+                                                                }
+                                                            ]
+                                                        },
                                                         {
                                                             "listeners" : {
                                                                 "render" : "function (_self)\n{\n_this.tab_first = _self;\n}"
index 84f705c..c2b212c 100644 (file)
@@ -365,6 +365,68 @@ dashboard3 = new Roo.XComponent({
                                                     xns : Roo.bootstrap,
                                                     height : 500,
                                                     items : [
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            active : false,
+                                                            cls : 'carousel slide',
+                                                            xtype : 'TabPanel',
+                                                            xns : Roo.bootstrap,
+                                                            tabId : '#second',
+                                                            navId : '#sample1',
+                                                            listeners : {
+                                                               render : function (_self)
+                                                                  {
+                                                                  _this.tab_second = _self;
+                                                                  }
+                                                            },
+                                                            items : [
+                                                               {
+                                                                    '|xns' : 'Roo.bootstrap',
+                                                                    xtype : 'Header',
+                                                                    xns : Roo.bootstrap,
+                                                                    level : 3,
+                                                                    html : 'next tab'
+                                                                },
+                                                               {
+                                                                    '|xns' : 'Roo.bootstrap',
+                                                                    cls : 'carousel-inner',
+                                                                    xtype : 'Container',
+                                                                    xns : Roo.bootstrap,
+                                                                    well : 'md',
+                                                                    style : 'padding-left:50px;padding-right:50px;',
+                                                                    items : [
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            xtype : 'Row',
+                                                                            xns : Roo.bootstrap,
+                                                                            items : [
+                                                                               {
+                                                                                    '|xns' : 'Roo.bootstrap',
+                                                                                    md : 6,
+                                                                                    xtype : 'Column',
+                                                                                    xns : Roo.bootstrap,
+                                                                                    items : [
+                                                                                       {
+                                                                                            '|xns' : 'Roo.bootstrap',
+                                                                                            labelAlign : 'top',
+                                                                                            fieldLabel : 'Some input',
+                                                                                            xtype : 'Input',
+                                                                                            allowBlank : true,
+                                                                                            xns : Roo.bootstrap,
+                                                                                            name : 'chosen_title'
+                                                                                        }
+                                                                                    ]
+
+                                                                                }
+                                                                            ]
+
+                                                                        }
+                                                                    ]
+
+                                                                }
+                                                            ]
+
+                                                        },
                                                        {
                                                             '|xns' : 'Roo.bootstrap',
                                                             active : true,