examples/bootstrap/dashboard4.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 17 Sep 2020 06:07:55 +0000 (14:07 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 17 Sep 2020 06:07:55 +0000 (14:07 +0800)
examples/bootstrap/dashboard4.js

examples/bootstrap/dashboard4.bjs
examples/bootstrap/dashboard4.js

index ee84ec0..38de658 100644 (file)
@@ -7,6 +7,7 @@
  "modOrder" : "001",
  "strings" : {
   "e93b3fa481be3932aa08bd68c3deee70" : "example 1",
+  "552e21cd4cd9918678e3c1a0df491bc3" : "some text",
   "e037df87a91c6e2727f0d9eb15c8127f" : "this is the body text"
  },
  "items" : [
      "items" : [
       {
        "String header" : "example 1",
-       "String weight" : "primary",
+       "String weight" : "light",
        "xtype" : "Card",
        "$ xns" : "Roo.bootstrap",
        "String html" : "this is the body text",
        "String style" : "max-width:200px",
        "items" : [
         {
-         "xtype" : "Container",
-         "$ xns" : "Roo.bootstrap"
+         "xtype" : "Element",
+         "$ xns" : "Roo.bootstrap",
+         "String html" : "some text"
         }
        ]
       }
index a750c6e..80fadec 100644 (file)
@@ -6,6 +6,7 @@ dashboard4 = new Roo.XComponent({
 
  _strings : {
   'e93b3fa481be3932aa08bd68c3deee70' :"example 1",
+  '552e21cd4cd9918678e3c1a0df491bc3' :"some text",
   'e037df87a91c6e2727f0d9eb15c8127f' :"this is the body text"
  },
 
@@ -38,12 +39,13 @@ dashboard4 = new Roo.XComponent({
        header : _this._strings['e93b3fa481be3932aa08bd68c3deee70'] /* example 1 */,
        html : _this._strings['e037df87a91c6e2727f0d9eb15c8127f'] /* this is the body text */,
        style : 'max-width:200px',
-       weight : 'primary',
+       weight : 'light',
        xns : Roo.bootstrap,
        '|xns' : 'Roo.bootstrap',
        items  : [
         {
-         xtype : 'Container',
+         xtype : 'Element',
+         html : _this._strings['552e21cd4cd9918678e3c1a0df491bc3'] /* some text */,
          xns : Roo.bootstrap,
          '|xns' : 'Roo.bootstrap'
         }