--- /dev/null
+{
+ "name" : "Dashboard.Header1",
+ "parent" : "",
+ "title" : "",
+ "path" : "/home/alan/gitlive/roojs1/examples/bootstrap/Dashboard.Header1.bjs",
+ "permname" : "",
+ "modOrder" : "001",
+ "items" : [
+ {
+ "String cls" : "header",
+ "tag" : "header",
+ "xtype" : "Container",
+ "$ xns" : "Roo.bootstrap",
+ "items" : [
+ {
+ "String cls" : "logo",
+ "xtype" : "Link",
+ "$ xns" : "Roo.bootstrap",
+ "String html" : "test"
+ },
+ {
+ "Boolean bar" : true,
+ "String position" : "static-top",
+ "xtype" : "NavHeaderbar",
+ "tag" : "nav",
+ "$ xns" : "Roo.bootstrap",
+ "items" : [
+ {
+ "String cls" : "navbar-btn sidebar-toggle",
+ "xtype" : "Link",
+ "$ xns" : "Roo.bootstrap",
+ "String html" : "<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>"
+ },
+ {
+ "xtype" : "NavGroup",
+ "String align" : "right",
+ "$ xns" : "Roo.bootstrap",
+ "items" : [
+ {
+ "xtype" : "NavItem",
+ "$ xns" : "Roo.bootstrap",
+ "String html" : "test",
+ "items" : [
+ {
+ "xtype" : "Menu",
+ "$ xns" : "Roo.bootstrap",
+ "* prop" : "menu",
+ "items" : [
+ {
+ "xtype" : "MenuItem",
+ "$ xns" : "Roo.bootstrap",
+ "String html" : "test"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "xtype" : "NavItem",
+ "$ xns" : "Roo.bootstrap",
+ "String html" : "test"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
--- /dev/null
+//<script type="text/javascript">
+
+// Auto generated file - created by app.Builder.js- do not edit directly (at present!)
+
+Dashboard.Header1 = new Roo.XComponent({
+ part : ["bootstrap", "Header1" ],
+ order : '001-Dashboard.Header-',
+ region : 'center',
+ parent : false,
+ name : "unnamed module",
+ disabled : false,
+ permname : '',
+ _tree : function()
+ {
+ var _this = this;
+ var MODULE = this;
+ return {
+ cls : 'header',
+ tag : 'header',
+ xtype : 'Container',
+ xns : Roo.bootstrap,
+ items : [
+ {
+ cls : 'logo',
+ xtype : 'Link',
+ xns : Roo.bootstrap,
+ html : 'test'
+ },
+ {
+ bar : true,
+ position : 'static-top',
+ xtype : 'NavHeaderbar',
+ tag : 'nav',
+ xns : Roo.bootstrap,
+ items : [
+ {
+ cls : 'navbar-btn sidebar-toggle',
+ xtype : 'Link',
+ xns : Roo.bootstrap,
+ html : '<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>'
+ },
+ {
+ xtype : 'NavGroup',
+ align : 'right',
+ xns : Roo.bootstrap,
+ items : [
+ {
+ menu : {
+ xtype : 'Menu',
+ xns : Roo.bootstrap,
+ items : [
+ {
+ xtype : 'MenuItem',
+ xns : Roo.bootstrap,
+ html : 'test'
+ }
+ ]
+
+ },
+ xtype : 'NavItem',
+ xns : Roo.bootstrap,
+ html : 'test',
+ items : [
+
+ ]
+
+ },
+ {
+ xtype : 'NavItem',
+ xns : Roo.bootstrap,
+ html : 'test'
+ }
+ ]
+
+ }
+ ]
+
+ }
+ ]
+
+ }; }
+});
"String cls" : "header",
"xtype" : "Container",
"tag" : "header",
- "$ xns" : "Roo.bootstrap",
- "items" : [
- {
- "String cls" : "logo",
- "xtype" : "Link",
- "$ xns" : "Roo.bootstrap",
- "String html" : "test"
- },
- {
- "Boolean bar" : true,
- "String position" : "static-top",
- "xtype" : "NavHeaderbar",
- "tag" : "nav",
- "$ xns" : "Roo.bootstrap",
- "items" : [
- {
- "String cls" : "navbar-btn sidebar-toggle",
- "xtype" : "Link",
- "$ xns" : "Roo.bootstrap",
- "String html" : "<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>"
- },
- {
- "xtype" : "NavGroup",
- "String align" : "right",
- "$ xns" : "Roo.bootstrap",
- "items" : [
- {
- "xtype" : "NavItem",
- "$ xns" : "Roo.bootstrap",
- "String html" : "test",
- "items" : [
- {
- "xtype" : "Menu",
- "$ xns" : "Roo.bootstrap",
- "* prop" : "menu",
- "items" : [
- {
- "xtype" : "MenuItem",
- "$ xns" : "Roo.bootstrap",
- "String html" : "test"
- }
- ]
- }
- ]
- },
- {
- "xtype" : "NavItem",
- "$ xns" : "Roo.bootstrap",
- "String html" : "test"
- }
- ]
- }
- ]
- }
- ]
+ "* xinclude" : "Dashboard.Header1",
+ "$ xns" : "Roo.bootstrap"
},
{
"String cls" : "wrapper row-offcanvas row-offcanvas-left",
xtype : 'Body',
xns : Roo.bootstrap,
items : [
- {
+ Roo.apply(Dashboard.Header1._tree(), {
cls : 'header',
xtype : 'Container',
tag : 'header',
- xns : Roo.bootstrap,
- items : [
- {
- cls : 'logo',
- xtype : 'Link',
- xns : Roo.bootstrap,
- html : 'test'
- },
- {
- bar : true,
- position : 'static-top',
- xtype : 'NavHeaderbar',
- tag : 'nav',
- xns : Roo.bootstrap,
- items : [
- {
- cls : 'navbar-btn sidebar-toggle',
- xtype : 'Link',
- xns : Roo.bootstrap,
- html : '<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>'
- },
- {
- xtype : 'NavGroup',
- align : 'right',
- xns : Roo.bootstrap,
- items : [
- {
- menu : {
- xtype : 'Menu',
- xns : Roo.bootstrap,
- items : [
- {
- xtype : 'MenuItem',
- xns : Roo.bootstrap,
- html : 'test'
- }
- ]
-
- },
- xtype : 'NavItem',
- xns : Roo.bootstrap,
- html : 'test',
- items : [
-
- ]
-
- },
- {
- xtype : 'NavItem',
- xns : Roo.bootstrap,
- html : 'test'
- }
- ]
-
- }
- ]
-
- }
- ]
-
- },
+ xns : Roo.bootstrap
+ }),
{
cls : 'wrapper row-offcanvas row-offcanvas-left',
xtype : 'Container',