fix attribute
[roojs1] / examples / bootstrap / dashboard4.bjs
index 0b2b198..e16ed7c 100644 (file)
@@ -6,9 +6,12 @@
  "permname" : "",
  "modOrder" : "001",
  "strings" : {
+  "098f6bcd4621d373cade4e832627b4f6" : "test",
+  "9c1ab57e621c2bb257798752dbbe6f14" : "view source",
+  "292fa2a8793f6a1fce028684a46ff33c" : "Add a new Card",
   "e93b3fa481be3932aa08bd68c3deee70" : "example 1",
   "60ee66eb2cd31823032664c2e9a79fd5" : "body goes here",
-  "9cf863d802aca813531ca28b319ead90" : "Add Issue",
+  "fb66f41b81f5973740bbfed019aa5d7d" : "Upload Images or Documents",
   "d9fb0367346d21079a1c52d72da61c9f" : "ticket 1"
  },
  "items" : [
      "$ xns" : "Roo.bootstrap",
      "items" : [
       {
-       "String header" : "example 1",
-       "String footer" : "a footer",
-       "String weight" : "danger",
-       "xtype" : "Card",
+       "listeners" : {
+        "click" : "function (btn, e)\n{\n    // assumes installed as /roojs1.\n  Roo.docs.ViewSource.show({\n      src: '/roojs1/examples/bootstrap/dashboard4.js'\n  });\n}"
+       },
+       "xtype" : "Button",
+       "$ xns" : "Roo.bootstrap",
+       "String html" : "view source"
+      },
+      {
+       "xtype" : "Row",
        "$ xns" : "Roo.bootstrap",
-       "String style" : "max-width:300px",
        "items" : [
         {
-         "String header" : "ticket 1",
-         "String weight" : "light",
-         "String margin_bottom" : 3,
+         "String header" : "example 1",
+         "String footer" : "a footer",
+         "String cls" : "col-xs-12 column col-12",
+         "String weight" : "danger",
          "xtype" : "Card",
          "$ xns" : "Roo.bootstrap",
-         "String html" : "body goes here",
-         "bool dragable" : true
+         "String style" : "max-width:300px;margin: 0 12px;",
+         "bool dropable" : true,
+         "string drop_group" : "cards",
+         "items" : [
+          {
+           "xtype" : "Form",
+           "$ xns" : "Roo.bootstrap",
+           "items" : [
+            {
+             "xtype" : "Input",
+             "string placeholder" : "Add a new Card",
+             "$ xns" : "Roo.bootstrap",
+             "string before" : "<i class=\"fa fa-plus\"></i>"
+            }
+           ]
+          },
+          {
+           "String header" : "ticket 1",
+           "string drag_group" : "cards",
+           "String weight" : "light",
+           "String margin_bottom" : 3,
+           "xtype" : "Card",
+           "bool collapsable" : true,
+           "$ xns" : "Roo.bootstrap",
+           "String html" : "body goes here",
+           "bool dragable" : true
+          },
+          {
+           "String header" : "ticket 1",
+           "string drag_group" : "cards",
+           "String weight" : "light",
+           "String margin_bottom" : 3,
+           "xtype" : "Card",
+           "$ xns" : "Roo.bootstrap",
+           "String html" : "body goes here",
+           "bool dragable" : true
+          }
+         ]
         },
         {
-         "String weight" : "primary",
-         "xtype" : "Button",
+         "String header" : "example 1",
+         "String footer" : "a footer",
+         "String cls" : "column col-xs-12 col-12",
+         "String weight" : "danger",
+         "xtype" : "Card",
+         "Boolean dropable" : true,
+         "$ xns" : "Roo.bootstrap",
+         "String style" : "max-width:300px;margin: 0 12px;",
+         "String drop_group" : "cards",
+         "items" : [
+          {
+           "String header" : "ticket 1",
+           "string drag_group" : "cards",
+           "String weight" : "light",
+           "String margin_bottom" : 3,
+           "xtype" : "Card",
+           "$ xns" : "Roo.bootstrap",
+           "String html" : "body goes here",
+           "bool dragable" : true
+          }
+         ]
+        },
+        {
+         "xtype" : "Card",
          "$ xns" : "Roo.bootstrap",
-         "String html" : "Add Issue"
+         "String title" : "test",
+         "items" : [
+          {
+           "xtype" : "CardUploader",
+           "string html" : "Upload Images or Documents",
+           "$ xns" : "Roo.bootstrap"
+          }
+         ]
         }
        ]
       }