examples/bootstrap/dashboard1.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 2 Jun 2021 06:53:43 +0000 (14:53 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 Jun 2021 06:53:43 +0000 (14:53 +0800)
examples/bootstrap/dashboard1.js

examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js

index c41cbea..ce25402 100644 (file)
@@ -76,8 +76,8 @@
    "items" : [
     {
      "String cls" : "header",
-     "xtype" : "Container",
      "tag" : "header",
+     "xtype" : "Container",
      "* xinclude" : "Dashboard.Header1",
      "$ xns" : "Roo.bootstrap"
     },
                      "String vtype" : "email"
                     },
                     {
-                     "xtype" : "Input",
+                     "xtype" : "ButtonUpload",
                      "string placeholder" : "Enter email",
                      "String inputType" : "file",
                      "String fieldLabel" : "File Input",
                     },
                     {
                      "xtype" : "Header",
-                     "$ xns" : "Roo.bootstrap",
                      "Number level" : 4,
+                     "$ xns" : "Roo.bootstrap",
                      "String html" : "With Icons"
                     },
                     {
                     },
                     {
                      "xtype" : "Header",
-                     "Number level" : 4,
                      "$ xns" : "Roo.bootstrap",
+                     "Number level" : 4,
                      "String html" : "With checkbox and radio"
                     },
                     {
                     },
                     {
                      "xtype" : "Header",
-                     "$ xns" : "Roo.bootstrap",
                      "Number level" : 4,
+                     "$ xns" : "Roo.bootstrap",
                      "String html" : "With buttons"
                     },
                     {
                     },
                     {
                      "xtype" : "TextArea",
-                     "$ xns" : "Roo.bootstrap",
-                     "String fieldLabel" : "Textarea"
+                     "String fieldLabel" : "Textarea",
+                     "$ xns" : "Roo.bootstrap"
                     },
                     {
                      "xtype" : "TextArea",
index 92815f3..0cc4e85 100644 (file)
@@ -199,7 +199,7 @@ dashboard1 = new Roo.XComponent({
                      '|xns' : 'Roo.bootstrap'
                     },
                     {
-                     xtype : 'Input',
+                     xtype : 'ButtonUpload',
                      fieldLabel : _this._strings['bc6d090c772eedbd8e59e273620830c6'] /* File Input */,
                      inputType : 'file',
                      placeholder : _this._strings['c3d8baf1b9da3d6922aea0057717a0b7'] /* Enter email */,