examples/bootstrap/Dashboard.Sidebar2.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 24 Nov 2016 06:04:49 +0000 (14:04 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 24 Nov 2016 06:04:49 +0000 (14:04 +0800)
examples/bootstrap/Dashboard.Sidebar2.js

examples/bootstrap/Dashboard.Sidebar2.bjs
examples/bootstrap/Dashboard.Sidebar2.js

index fe090fa..91e28a8 100644 (file)
@@ -1,60 +1,73 @@
 {
-    "name" : "Dashboard.Sidebar2",
-    "parent" : "",
-    "title" : "",
-    "path" : "/home/alan/gitlive/roojs1/examples/bootstrap/Dashboard.Sidebar2.bjs",
-    "permname" : "",
-    "modOrder" : "001",
-    "items" : [
+ "name" : "Dashboard.Sidebar2",
+ "parent" : "",
+ "title" : "",
+ "path" : "/home/alan/gitlive/roojs1/examples/bootstrap/Dashboard.Sidebar2.bjs",
+ "permname" : "",
+ "modOrder" : "001",
+ "strings" : {
+  "098f6bcd4621d373cade4e832627b4f6" : "test"
+ },
+ "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 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"
-                                }
-                            ]
-                        }
-                    ]
-                }
-            ]
+         "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"
+            },
+            {
+             "xtype" : "MenuItem",
+             "$ xns" : "Roo.bootstrap",
+             "String html" : "test"
+            },
+            {
+             "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
index f90af1a..898b5f0 100644 (file)
@@ -2,71 +2,89 @@
 
 // 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'
-                                }
-                            ]
+Roo.namespace('Dashboard');
 
-                        }
-                    ]
+Dashboard.Sidebar2 = new Roo.XComponent({
 
-                }
-            ]
+ _strings : {
+  '098f6bcd4621d373cade4e832627b4f6' :"test"
+ },
 
-        };    }
+  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 {
+   xtype : 'Container',
+   cls : 'left-side sidebar-offcanvas',
+   tag : 'aside',
+   xns : Roo.bootstrap,
+   '|xns' : 'Roo.bootstrap',
+   items  : [
+    {
+     xtype : 'NavSidebar',
+     xns : Roo.bootstrap,
+     '|xns' : 'Roo.bootstrap',
+     items  : [
+      {
+       xtype : 'NavGroup',
+       xns : Roo.bootstrap,
+       '|xns' : 'Roo.bootstrap',
+       items  : [
+        {
+         xtype : 'NavSidebarItem',
+         href : '#',
+         html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
+         icon : 'fa fa-bar-chart-o',
+         xns : Roo.bootstrap,
+         '|xns' : 'Roo.bootstrap',
+         menu : {
+          xtype : 'Menu',
+          type : 'treeview',
+          xns : Roo.bootstrap,
+          '|xns' : 'Roo.bootstrap',
+          items  : [
+           {
+            xtype : 'MenuItem',
+            html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
+            xns : Roo.bootstrap,
+            '|xns' : 'Roo.bootstrap'
+           },
+           {
+            xtype : 'MenuItem',
+            html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
+            xns : Roo.bootstrap,
+            '|xns' : 'Roo.bootstrap'
+           },
+           {
+            xtype : 'MenuItem',
+            html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
+            xns : Roo.bootstrap,
+            '|xns' : 'Roo.bootstrap'
+           }
+          ]
+         }
+        },
+        {
+         xtype : 'NavSidebarItem',
+         badge : 'new',
+         badgecls : 'bg-red',
+         href : '#',
+         html : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
+         xns : Roo.bootstrap,
+         '|xns' : 'Roo.bootstrap'
+        }
+       ]
+      }
+     ]
+    }
+   ]
+  };  }
 });