roojs-all.js
[roojs1] / examples / mailer / template1.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5 template1 = new Roo.XComponent({
6     part     :  ["mailer", "template1" ],
7     order    : '001-template-',
8     region   : 'center',
9     parent   : false,
10     name     : "unnamed module",
11     disabled : false, 
12     permname : '', 
13     _tree : function()
14     {
15         var _this = this;
16         var MODULE = this;
17         return {
18             xtype : 'Body',
19             xns : Roo.mailer,
20             items : [
21                 {
22                     xtype : 'BodyContainer',
23                     xns : Roo.mailer,
24                     items : [
25                         {
26                             blocktype : 'preheader',
27                             xtype : 'Block',
28                             html : 'test',
29                             xns : Roo.mailer,
30                             style : 'padding-top:10px; padding-right:20px; padding-bottom:10px; padding-left:20px;'
31                         },
32                         {
33                             blocktype : 'header',
34                             xtype : 'Block',
35                             html : '<img src=\"http://gallery.mailchimp.com/2425ea8ad3/images/header_placeholder_600px.png\">',
36                             xns : Roo.mailer
37                         },
38                         {
39                             blocktype : 'body',
40                             xtype : 'Block',
41                             html : 'test',
42                             xns : Roo.mailer
43                         },
44                         {
45                             blocktype : 'row',
46                             xtype : 'Block',
47                             xns : Roo.mailer,
48                             items : [
49                                 {
50                                     xtype : 'Column',
51                                     xns : Roo.mailer,
52                                     column : 'left',
53                                     src : 'http://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/header_placeholder_260px.png',
54                                     html : 'test'
55                                 },
56                                 {
57                                     xtype : 'Column',
58                                     column : 'right',
59                                     xns : Roo.mailer,
60                                     src : 'http://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/header_placeholder_260px.png',
61                                     html : 'test2'
62                                 }
63                             ]
64
65                         },
66                         {
67                             blocktype : 'row',
68                             xtype : 'Block',
69                             xns : Roo.mailer,
70                             items : [
71                                 {
72                                     width : 200,
73                                     xtype : 'Column',
74                                     column : 'left',
75                                     xns : Roo.mailer,
76                                     src : 'http://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/header_placeholder_260px.png'
77                                 },
78                                 {
79                                     width : 340,
80                                     xtype : 'Column',
81                                     xns : Roo.mailer,
82                                     column : 'right',
83                                     html : 'test2'
84                                 }
85                             ]
86
87                         },
88                         {
89                             blocktype : 'footer',
90                             xtype : 'Block',
91                             html : 'test footer',
92                             xns : Roo.mailer
93                         }
94                     ]
95
96                 }
97             ]
98
99         };    }
100 });