examples/bootstrap/dashboard1.bjs.LBL1LX
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 08:29:11 +0000 (16:29 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 08:29:11 +0000 (16:29 +0800)
examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js.51S1LX
examples/bootstrap/dashboard1.js
examples/bootstrap/dashboard1.bjs.KGR1LX
examples/bootstrap/dashboard1.js.29M1LX

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

index 219cebb..1f6f766 100644 (file)
@@ -13,8 +13,8 @@
             "items" : [
                 {
                     "String cls" : "header",
-                    "tag" : "header",
                     "xtype" : "Container",
+                    "tag" : "header",
                     "* xinclude" : "Dashboard.Header1",
                     "$ xns" : "Roo.bootstrap"
                 },
                                                                                 },
                                                                                 {
                                                                                     "xtype" : "Header",
-                                                                                    "Number level" : 4,
                                                                                     "$ xns" : "Roo.bootstrap",
+                                                                                    "Number level" : 4,
                                                                                     "String html" : "With Icons"
                                                                                 },
+                                                                                {
+                                                                                    "xtype" : "Input",
+                                                                                    "string placeholder" : "before : &lt;i class=&quot;fa fa-envelope&quot;&gt;&lt;/i&gt;",
+                                                                                    "$ xns" : "Roo.bootstrap",
+                                                                                    "string before" : "<i class=\"fa fa-envelope\"></i>",
+                                                                                    "string size" : "md"
+                                                                                },
                                                                                 {
                                                                                     "xtype" : "Input",
                                                                                     "string placeholder" : "before : &lt;i class=&quot;fa fa-envelope&quot;&gt;&lt;/i&gt;",
index af1c9b7..a429836 100644 (file)
@@ -21,8 +21,8 @@ dashboard1 = new Roo.XComponent({
             items : [
                Roo.apply(Dashboard.Header1._tree(), {
                     cls : 'header',
-                    tag : 'header',
                     xtype : 'Container',
+                    tag : 'header',
                     xns : Roo.bootstrap
                 }),
                {
@@ -310,7 +310,7 @@ dashboard1 = new Roo.XComponent({
                                                                                     placeholder : 'after: .00',
                                                                                     xns : Roo.bootstrap,
                                                                                     size : 'md',
-                                                                                    after : .00
+                                                                                    after : 0
                                                                                 },
                                                                                {
                                                                                     xtype : 'Input',
@@ -318,14 +318,21 @@ dashboard1 = new Roo.XComponent({
                                                                                     xns : Roo.bootstrap,
                                                                                     before : '$',
                                                                                     size : 'md',
-                                                                                    after : 0.00
+                                                                                    after : 0
                                                                                 },
                                                                                {
                                                                                     xtype : 'Header',
-                                                                                    level : 4,
                                                                                     xns : Roo.bootstrap,
+                                                                                    level : 4,
                                                                                     html : 'With Icons'
                                                                                 },
+                                                                               {
+                                                                                    xtype : 'Input',
+                                                                                    placeholder : 'before : &lt;i class=&quot;fa fa-envelope&quot;&gt;&lt;/i&gt;',
+                                                                                    xns : Roo.bootstrap,
+                                                                                    before : '<i class=\"fa fa-envelope\"></i>',
+                                                                                    size : 'md'
+                                                                                },
                                                                                {
                                                                                     xtype : 'Input',
                                                                                     placeholder : 'before : &lt;i class=&quot;fa fa-envelope&quot;&gt;&lt;/i&gt;',