Roo/bootstrap/CardUploader.js
[roojs1] / Roo / bootstrap / CardUploader.js
index 755d445..6335075 100644 (file)
@@ -185,16 +185,29 @@ Roo.extend(Roo.bootstrap.CardUploader, Roo.bootstrap.Button,  {
                                     
                                     {
                                         xns : Roo.bootstrap,
-                                        xtype : 'Link',
+                                        xtype : 'Button',
                                         html : String.format("<small>{0}</small>", data.title),
-                                        cls : 'p-9'
+                                        cls : 'col-8 text-left',
+                                        size: 'sm', 
+                                        fa : 'download',
+                                        listeners : {
+                                            click : function() {
+                                                // download
+                                            }
+                                        }
+                                    },
+                                    {
+                                        xns : Roo.bootstrap,
+                                        xtype : 'Element',
+                                        cls : 'col-1'
                                     },
                                     {
                                         xns : Roo.bootstrap,
                                         xtype : 'Button',
                                         html : 'Delete',
                                         size : 'sm',
-                                        cls : 'ml-auto p-3',
+                                        weight: 'danger',
+                                        cls : 'col-3',
                                         fa : 'times'
                                     }
                                 ]