sync
[web.Reddit] / examples / bootstrap / Login.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5 Login = new Roo.XComponent({
6     part     :  ["bootstrap", "Login" ],
7     order    : '001-Login',
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 : 'bg-black',
19             xtype : 'Body',
20             xns : Roo.bootstrap,
21             style : 'min-height: 100%;',
22             items : [
23                 {
24                     cls : 'form-box',
25                     xtype : 'Container',
26                     xns : Roo.bootstrap,
27                     items : [
28                         {
29                             cls : 'header',
30                             xtype : 'Container',
31                             xns : Roo.bootstrap,
32                             html : 'Sign in'
33                         },
34                         {
35                             xtype : 'Form',
36                             xns : Roo.bootstrap,
37                             items : [
38                                 {
39                                     cls : 'body bg-gray',
40                                     xtype : 'Container',
41                                     xns : Roo.bootstrap,
42                                     items : [
43                                         {
44                                             xtype : 'Input',
45                                             placeholder : 'email',
46                                             xns : Roo.bootstrap
47                                         },
48                                         {
49                                             xtype : 'Input',
50                                             placeholder : 'password',
51                                             inputType : 'password',
52                                             xns : Roo.bootstrap
53                                         },
54                                         {
55                                             xtype : 'CheckBox',
56                                             boxLabel : 'Remember me',
57                                             xns : Roo.bootstrap
58                                         }
59                                     ]
60
61                                 }
62                             ]
63
64                         },
65                         {
66                             cls : 'footer',
67                             xtype : 'Container',
68                             xns : Roo.bootstrap,
69                             items : [
70                                 {
71                                     cls : 'btn-block',
72                                     weight : 'primary',
73                                     xtype : 'Button',
74                                     xns : Roo.bootstrap,
75                                     html : 'Sign me in'
76                                 },
77                                 {
78                                     tag : 'p',
79                                     xtype : 'Container',
80                                     xns : Roo.bootstrap,
81                                     items : [
82                                         {
83                                             href : '#',
84                                             xtype : 'Link',
85                                             xns : Roo.bootstrap,
86                                             html : 'I forgot my password'
87                                         }
88                                     ]
89
90                                 },
91                                 {
92                                     tag : 'p',
93                                     xtype : 'Container',
94                                     xns : Roo.bootstrap,
95                                     items : [
96                                         {
97                                             cls : 'text-center',
98                                             href : '#',
99                                             xtype : 'Link',
100                                             xns : Roo.bootstrap,
101                                             html : 'Register a new menbership'
102                                         }
103                                     ]
104
105                                 }
106                             ]
107
108                         }
109                     ]
110
111                 }
112             ]
113
114         };    }
115 });