examples/bootstrap/Dashboard.Sidebar2.bjs
[roojs1] / examples / bootstrap / Dashboard.Sidebar2.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5 Roo.namespace('Dashboard');
6
7 Dashboard.Sidebar2 = new Roo.XComponent({
8
9  _strings : {
10   '098f6bcd4621d373cade4e832627b4f6' :"test"
11  },
12
13   part     :  ["bootstrap", "Sidebar2" ],
14   order    : '001-Dashboard.Sidebar-',
15   region   : 'center',
16   parent   : false,
17   name     : "unnamed module",
18   disabled : false, 
19   permname : '', 
20   _tree : function()
21   {
22    var _this = this;
23    var MODULE = this;
24    return {
25    xtype : 'Container',
26    cls : 'left-side sidebar-offcanvas',
27    tag : 'aside',
28    xns : Roo.bootstrap,
29    '|xns' : 'Roo.bootstrap',
30    items  : [
31     {
32      xtype : 'NavSidebar',
33      xns : Roo.bootstrap,
34      '|xns' : 'Roo.bootstrap',
35      items  : [
36       {
37        xtype : 'NavGroup',
38        xns : Roo.bootstrap,
39        '|xns' : 'Roo.bootstrap',
40        items  : [
41         {
42          xtype : 'NavSidebarItem',
43          href : '#',
44          html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
45          icon : 'fa fa-bar-chart-o',
46          xns : Roo.bootstrap,
47          '|xns' : 'Roo.bootstrap',
48          menu : {
49           xtype : 'Menu',
50           type : 'treeview',
51           xns : Roo.bootstrap,
52           '|xns' : 'Roo.bootstrap',
53           items  : [
54            {
55             xtype : 'MenuItem',
56             html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
57             xns : Roo.bootstrap,
58             '|xns' : 'Roo.bootstrap'
59            },
60            {
61             xtype : 'MenuItem',
62             html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
63             xns : Roo.bootstrap,
64             '|xns' : 'Roo.bootstrap'
65            },
66            {
67             xtype : 'MenuItem',
68             html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
69             listeners : {
70              click : function (_self, e)
71               {
72                   Roo.log("last one clicked");
73               }
74             },
75             xns : Roo.bootstrap,
76             '|xns' : 'Roo.bootstrap'
77            }
78           ]
79          }
80         },
81         {
82          xtype : 'NavSidebarItem',
83          badge : 'new',
84          badgecls : 'bg-red',
85          href : '#',
86          html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
87          xns : Roo.bootstrap,
88          '|xns' : 'Roo.bootstrap'
89         }
90        ]
91       }
92      ]
93     }
94    ]
95   };  }
96 });