examples/bootstrap/dashboard4.bjs
[roojs1] / examples / bootstrap / dashboard4.js
index 1af5808..444ad9b 100644 (file)
@@ -5,7 +5,9 @@
 dashboard4 = new Roo.XComponent({
 
  _strings : {
-  '30bd2ce65d1e43e9c498b7d5d49f3b78' :"Dashboard <small>  Example Control panel </small>"
+  'e93b3fa481be3932aa08bd68c3deee70' :"example 1",
+  'e037df87a91c6e2727f0d9eb15c8127f' :"this is the body text",
+  'd9fb0367346d21079a1c52d72da61c9f' :"ticket 1"
  },
 
   part     :  ["bootstrap", "dashboard4" ],
@@ -15,67 +17,42 @@ dashboard4 = new Roo.XComponent({
   name     : "unnamed module",
   disabled : false, 
   permname : '', 
-  _tree : function()
+  _tree : function(_data)
   {
    var _this = this;
    var MODULE = this;
    return {
-   '|xns' : 'Roo.bootstrap',
+   xtype : 'Body',
    cls : 'skin-blue',
    xns : Roo.bootstrap,
-   xtype : 'Body',
-   items : [
-    Roo.apply(Dashboard.Header1._tree(), {
-     '|xns' : 'Roo.bootstrap',
-     cls : 'header',
-     tag : 'header',
-     xns : Roo.bootstrap,
-     xtype : 'Container'
-    }),
+   '|xns' : 'Roo.bootstrap',
+   items  : [
     {
-     '|xns' : 'Roo.bootstrap',
-     cls : 'wrapper row-offcanvas row-offcanvas-left',
-     'flexy:include' : 'Sidebar.html',
-     xns : Roo.bootstrap,
      xtype : 'Container',
-     items : [
-      Roo.apply(Dashboard.Sidebar2._tree(), {
-       '|xns' : 'Roo.bootstrap',
-       cls : 'left-side sidebar-offcanvas',
-       tag : 'aside',
-       xns : Roo.bootstrap,
-       xtype : 'Container'
-      }),
+     cls : 'content',
+     tag : 'section',
+     xns : Roo.bootstrap,
+     '|xns' : 'Roo.bootstrap',
+     items  : [
       {
-       '|xns' : 'Roo.bootstrap',
-       cls : 'right-side',
-       tag : 'aside',
+       xtype : 'Card',
+       header : _this._strings['e93b3fa481be3932aa08bd68c3deee70'] /* example 1 */,
+       html : _this._strings['e037df87a91c6e2727f0d9eb15c8127f'] /* this is the body text */,
+       style : 'max-width:200px',
+       weight : 'light',
        xns : Roo.bootstrap,
-       xtype : 'Container',
-       items : [
+       '|xns' : 'Roo.bootstrap',
+       items  : [
         {
-         '|xns' : 'Roo.bootstrap',
-         cls : 'content-header',
-         tag : 'section',
+         xtype : 'Card',
+         header : _this._strings['d9fb0367346d21079a1c52d72da61c9f'] /* ticket 1 */,
          xns : Roo.bootstrap,
-         xtype : 'Container',
-         items : [
-          {
-           '|xns' : 'Roo.bootstrap',
-           html : _this._strings['30bd2ce65d1e43e9c498b7d5d49f3b78'],
-           xns : Roo.bootstrap,
-           xtype : 'Header'
-          }
-         ]
-
+         '|xns' : 'Roo.bootstrap'
         }
        ]
-
       }
      ]
-
     }
    ]
-
   };  }
 });