--- /dev/null
+{
+ "name" : "Dashboard.Sidebar2",
+ "parent" : "",
+ "title" : "",
+ "path" : "/home/alan/gitlive/roojs1/examples/bootstrap/Dashboard.Sidebar2.bjs",
+ "permname" : "",
+ "modOrder" : "001",
+ "items" : [
+ {
+ "String tag" : "aside",
+ "String cls" : "left-side sidebar-offcanvas",
+ "xtype" : "Container",
+ "$ xns" : "Roo.bootstrap",
+ "items" : [
+ {
+ "xtype" : "NavSidebar",
+ "$ xns" : "Roo.bootstrap",
+ "items" : [
+ {
+ "xtype" : "NavGroup",
+ "$ xns" : "Roo.bootstrap",
+ "items" : [
+ {
+ "String href" : "#",
+ "xtype" : "NavSidebarItem",
+ "$ xns" : "Roo.bootstrap",
+ "icon" : "fa fa-bar-chart-o",
+ "String html" : "test",
+ "items" : [
+ {
+ "String type" : "treeview",
+ "xtype" : "Menu",
+ "$ xns" : "Roo.bootstrap",
+ "* prop" : "menu",
+ "items" : [
+ {
+ "xtype" : "MenuItem",
+ "$ xns" : "Roo.bootstrap",
+ "String html" : "test"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "String href" : "#",
+ "xtype" : "NavSidebarItem",
+ "$ xns" : "Roo.bootstrap",
+ "String html" : "test",
+ "String badge" : "new",
+ "badgecls" : "bg-red"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ 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.Sidebar2 = new Roo.XComponent({
+ part : ["bootstrap", "Sidebar2" ],
+ order : '001-Dashboard.Sidebar-',
+ region : 'center',
+ parent : false,
+ name : "unnamed module",
+ disabled : false,
+ permname : '',
+ _tree : function()
+ {
+ var _this = this;
+ var MODULE = this;
+ return {
+ tag : 'aside',
+ cls : 'left-side sidebar-offcanvas',
+ xtype : 'Container',
+ xns : Roo.bootstrap,
+ items : [
+ {
+ xtype : 'NavSidebar',
+ xns : Roo.bootstrap,
+ items : [
+ {
+ xtype : 'NavGroup',
+ xns : Roo.bootstrap,
+ items : [
+ {
+ menu : {
+ type : 'treeview',
+ xtype : 'Menu',
+ xns : Roo.bootstrap,
+ items : [
+ {
+ xtype : 'MenuItem',
+ xns : Roo.bootstrap,
+ html : 'test'
+ }
+ ]
+
+ },
+ href : '#',
+ xtype : 'NavSidebarItem',
+ xns : Roo.bootstrap,
+ icon : 'fa fa-bar-chart-o',
+ html : 'test',
+ items : [
+
+ ]
+
+ },
+ {
+ href : '#',
+ xtype : 'NavSidebarItem',
+ xns : Roo.bootstrap,
+ html : 'test',
+ badge : 'new',
+ badgecls : 'bg-red'
+ }
+ ]
+
+ }
+ ]
+
+ }
+ ]
+
+ }; }
+});
"String tag" : "aside",
"String cls" : "left-side sidebar-offcanvas",
"xtype" : "Container",
- "$ xns" : "Roo.bootstrap",
- "items" : [
- {
- "xtype" : "NavSidebar",
- "$ xns" : "Roo.bootstrap",
- "items" : [
- {
- "xtype" : "NavGroup",
- "$ xns" : "Roo.bootstrap",
- "items" : [
- {
- "String href" : "#",
- "xtype" : "NavSidebarItem",
- "$ xns" : "Roo.bootstrap",
- "icon" : "fa fa-bar-chart-o",
- "String html" : "test",
- "items" : [
- {
- "String type" : "treeview",
- "xtype" : "Menu",
- "$ xns" : "Roo.bootstrap",
- "* prop" : "menu",
- "items" : [
- {
- "xtype" : "MenuItem",
- "$ xns" : "Roo.bootstrap",
- "String html" : "test"
- }
- ]
- }
- ]
- },
- {
- "String href" : "#",
- "xtype" : "NavSidebarItem",
- "$ xns" : "Roo.bootstrap",
- "String html" : "test",
- "String badge" : "new",
- "badgecls" : "bg-red"
- }
- ]
- }
- ]
- }
- ]
+ "* xinclude" : "Dashboard.Sidebar2",
+ "$ xns" : "Roo.bootstrap"
}
]
}
'flexy:include' : 'Sidebar.html',
xns : Roo.bootstrap,
items : [
- {
+ Roo.apply(Dashboard.Sidebar2._tree(), {
tag : 'aside',
cls : 'left-side sidebar-offcanvas',
xtype : 'Container',
- xns : Roo.bootstrap,
- items : [
- {
- xtype : 'NavSidebar',
- xns : Roo.bootstrap,
- items : [
- {
- xtype : 'NavGroup',
- xns : Roo.bootstrap,
- items : [
- {
- menu : {
- type : 'treeview',
- xtype : 'Menu',
- xns : Roo.bootstrap,
- items : [
- {
- xtype : 'MenuItem',
- xns : Roo.bootstrap,
- html : 'test'
- }
- ]
-
- },
- href : '#',
- xtype : 'NavSidebarItem',
- xns : Roo.bootstrap,
- icon : 'fa fa-bar-chart-o',
- html : 'test',
- items : [
-
- ]
-
- },
- {
- href : '#',
- xtype : 'NavSidebarItem',
- xns : Roo.bootstrap,
- html : 'test',
- badge : 'new',
- badgecls : 'bg-red'
- }
- ]
-
- }
- ]
-
- }
- ]
-
- }
+ xns : Roo.bootstrap
+ })
]
}