examples/bootstrap/dashboard1.bjs.9GH0LX
[roojs1] / examples / bootstrap / dashboard1.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5 dashboard1 = new Roo.XComponent({
6     part     :  ["bootstrap", "dashboard1" ],
7     order    : '001-dashboard-',
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             cls : 'skin-blue',
19             xtype : 'Body',
20             xns : Roo.bootstrap,
21             items : [
22                 Roo.apply(Dashboard.Header1._tree(), {
23                     cls : 'header',
24                     xtype : 'Container',
25                     tag : 'header',
26                     xns : Roo.bootstrap
27                 }),
28                 {
29                     cls : 'wrapper row-offcanvas row-offcanvas-left',
30                     xtype : 'Container',
31                     'flexy:include' : 'Sidebar.html',
32                     xns : Roo.bootstrap,
33                     items : [
34                         Roo.apply(Dashboard.Sidebar2._tree(), {
35                             tag : 'aside',
36                             cls : 'left-side sidebar-offcanvas',
37                             xtype : 'Container',
38                             xns : Roo.bootstrap
39                         }),
40                         {
41                             tag : 'aside',
42                             cls : 'right-side',
43                             xtype : 'Container',
44                             xns : Roo.bootstrap,
45                             items : [
46                                 {
47                                     tag : 'section',
48                                     cls : 'content-header',
49                                     xtype : 'Container',
50                                     xns : Roo.bootstrap,
51                                     items : [
52                                         {
53                                             xtype : 'Header',
54                                             xns : Roo.bootstrap,
55                                             html : 'General Form Elements  <small> Preview </small>'
56                                         }
57                                     ]
58
59                                 },
60                                 {
61                                     tag : 'section',
62                                     cls : 'content',
63                                     xtype : 'Container',
64                                     xns : Roo.bootstrap,
65                                     items : [
66                                         {
67                                             xtype : 'Row',
68                                             xns : Roo.bootstrap,
69                                             items : [
70                                                 {
71                                                     md : 6,
72                                                     xtype : 'Column',
73                                                     xns : Roo.bootstrap,
74                                                     sm : 12,
75                                                     items : [
76                                                         {
77                                                             cls : 'box box-primary',
78                                                             xtype : 'Container',
79                                                             xns : Roo.bootstrap,
80                                                             items : [
81                                                                 {
82                                                                     cls : 'box-header',
83                                                                     xtype : 'Container',
84                                                                     xns : Roo.bootstrap,
85                                                                     items : [
86                                                                         {
87                                                                             cls : 'box-title',
88                                                                             xtype : 'Header',
89                                                                             xns : Roo.bootstrap,
90                                                                             level : 3,
91                                                                             html : 'Quick Example'
92                                                                         }
93                                                                     ]
94
95                                                                 },
96                                                                 {
97                                                                     xtype : 'Form',
98                                                                     labelAlign : 'top',
99                                                                     xns : Roo.bootstrap,
100                                                                     items : [
101                                                                         {
102                                                                             cls : 'box-body',
103                                                                             xtype : 'Container',
104                                                                             xns : Roo.bootstrap
105                                                                         },
106                                                                         {
107                                                                             xtype : 'Input',
108                                                                             placeholder : 'Enter email',
109                                                                             fieldLabel : 'Email Address',
110                                                                             xns : Roo.bootstrap
111                                                                         },
112                                                                         {
113                                                                             xtype : 'Input',
114                                                                             placeholder : 'Enter password',
115                                                                             inputType : 'password',
116                                                                             fieldLabel : 'Password',
117                                                                             xns : Roo.bootstrap
118                                                                         },
119                                                                         {
120                                                                             xtype : 'Input',
121                                                                             placeholder : 'Enter email',
122                                                                             inputType : 'file',
123                                                                             fieldLabel : 'File Input',
124                                                                             xns : Roo.bootstrap
125                                                                         },
126                                                                         {
127                                                                             xtype : 'Input',
128                                                                             xns : Roo.bootstrap
129                                                                         },
130                                                                         {
131                                                                             weight : 'primary',
132                                                                             xtype : 'Button',
133                                                                             xns : Roo.bootstrap,
134                                                                             html : 'Submit'
135                                                                         }
136                                                                     ]
137
138                                                                 }
139                                                             ]
140
141                                                         }
142                                                     ]
143
144                                                 }
145                                             ]
146
147                                         }
148                                     ]
149
150                                 }
151                             ]
152
153                         }
154                     ]
155
156                 }
157             ]
158
159         };    }
160 });