view source
[roojs1] / examples / bootstrap / bootstrap.js
index e94b9bc..f706b6c 100644 (file)
@@ -120,7 +120,7 @@ Roo.example.bootstrap = new Roo.XComponent({
                                 {
                                     xtype: 'NavItem',
                                     xns: Roo.bootstrap,
-                                    glyphicon: 'search',
+                                    fa: 'search',
                                     html: "dialog"
                                     
                                 },
@@ -133,7 +133,7 @@ Roo.example.bootstrap = new Roo.XComponent({
                     xtype: 'Container',
                     xns: Roo.bootstrap,
                     jumbotron : true,
-                    style :  'padding: 30px 15px 40px',
+                    style :  'padding: 60px 15px 40px',
                     items: [
                         {
                             xtype: 'Container',
@@ -463,12 +463,21 @@ Roo.example.bootstrap = new Roo.XComponent({
                                     xns: Roo.bootstrap,
                                     name : 'test',
                                     fieldLabel : 'test - keyup',
+                                    
                                     listeners : {
                                         keyup : function() {
                                             alert("Test");
                                         }
                                     }
                                 },
+                                {
+                                    xtype: 'Input',
+                                    xns: Roo.bootstrap,
+                                    name : 'test2',
+                                    fieldLabel : 'test - icon',
+                                    after : '@'
+                                    
+                                },
                                 {
                                     xtype: 'ComboBox',
                                     xns: Roo.bootstrap,
@@ -583,25 +592,25 @@ Roo.example.bootstrap = new Roo.XComponent({
                                             xtype: 'Button',
                                             xns: Roo.bootstrap,
                                             html : ' ',
-                                            glyphicon: 'align-left'
+                                            fa: 'align-left'
                                         },
                                         {
                                             xtype: 'Button',
                                             xns: Roo.bootstrap,
                                             html : ' ',
-                                            glyphicon: 'align-center'
+                                            fa: 'align-center'
                                         },
                                         {
                                             xtype: 'Button',
                                             xns: Roo.bootstrap,
                                             html : ' ',
-                                            glyphicon: 'align-right'
+                                            fa: 'align-right'
                                         },
                                         {
                                             xtype: 'Button',
                                             xns: Roo.bootstrap,
                                             html : ' ',
-                                            glyphicon: 'align-justify'
+                                            fa: 'align-justify'
                                         }
                                     ]
                                 }