roojs-all.js
[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   '180ad460b6c01d52766cac486d5272c0' :"test aaa",
11   '098f6bcd4621d373cade4e832627b4f6' :"test"
12  },
13
14   part     :  ["bootstrap", "Sidebar2" ],
15   order    : '001-Dashboard.Sidebar-',
16   region   : 'center',
17   parent   : false,
18   name     : "unnamed module",
19   disabled : false, 
20   permname : '', 
21   _tree : function()
22   {
23    var _this = this;
24    var MODULE = this;
25    return {
26    xtype : 'Container',
27    cls : 'left-side sidebar-offcanvas',
28    tag : 'aside',
29    xns : Roo.bootstrap,
30    '|xns' : 'Roo.bootstrap',
31    items  : [
32     {
33      xtype : 'NavSidebar',
34      xns : Roo.bootstrap,
35      '|xns' : 'Roo.bootstrap',
36      items  : [
37       {
38        xtype : 'NavGroup',
39        xns : Roo.bootstrap,
40        '|xns' : 'Roo.bootstrap',
41        items  : [
42         {
43          xtype : 'NavSidebarItem',
44          href : '#',
45          html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
46          icon : 'fa fa-bar-chart-o',
47          open : true,
48          xns : Roo.bootstrap,
49          '|xns' : 'Roo.bootstrap',
50          menu : {
51           xtype : 'Menu',
52           hidden : false,
53           type : 'treeview',
54           xns : Roo.bootstrap,
55           '|xns' : 'Roo.bootstrap',
56           items  : [
57            {
58             xtype : 'MenuItem',
59             html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
60             xns : Roo.bootstrap,
61             '|xns' : 'Roo.bootstrap'
62            },
63            {
64             xtype : 'MenuItem',
65             html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
66             xns : Roo.bootstrap,
67             '|xns' : 'Roo.bootstrap'
68            },
69            {
70             xtype : 'MenuItem',
71             html : _this._strings['180ad460b6c01d52766cac486d5272c0'] /* test aaa */,
72             listeners : {
73              click : function (_self, e)
74               {
75                   Roo.log("last one clicked");
76               }
77             },
78             xns : Roo.bootstrap,
79             '|xns' : 'Roo.bootstrap'
80            }
81           ]
82          }
83         },
84         {
85          xtype : 'NavSidebarItem',
86          badge : 'new',
87          badgecls : 'bg-red',
88          href : '#',
89          html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
90          xns : Roo.bootstrap,
91          '|xns' : 'Roo.bootstrap'
92         }
93        ]
94       }
95      ]
96     }
97    ]
98   };  }
99 });