]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('Admin.view.authentication.Register', {\r |
2 | extend: 'Admin.view.authentication.AuthBase',\r | |
3 | xtype: 'register',\r | |
4 | \r | |
5 | requires: [\r | |
6 | 'Ext.field.Checkbox',\r | |
7 | 'Ext.field.Password',\r | |
8 | 'Ext.field.Text',\r | |
9 | 'Ext.layout.HBox'\r | |
10 | ],\r | |
11 | \r | |
12 | items: [{\r | |
13 | xtype: 'panel',\r | |
14 | \r | |
15 | items: [{\r | |
16 | padding: '20 0 0 20',\r | |
17 | html: 'Create an Account'\r | |
18 | },{\r | |
19 | xtype: 'container',\r | |
20 | padding: 20,\r | |
21 | defaults: {\r | |
22 | margin:'0 0 10 0'\r | |
23 | },\r | |
24 | items: [{\r | |
25 | xtype: 'textfield',\r | |
26 | placeHolder: 'Full Name',\r | |
27 | userCls: 'text-border'\r | |
28 | },{\r | |
29 | xtype: 'textfield',\r | |
30 | placeHolder: 'Username',\r | |
31 | userCls: 'text-border'\r | |
32 | },{\r | |
33 | xtype: 'textfield',\r | |
34 | placeHolder: 'Email',\r | |
35 | userCls: 'text-border'\r | |
36 | },{\r | |
37 | xtype: 'passwordfield',\r | |
38 | placeHolder: 'Password',\r | |
39 | userCls: 'text-border'\r | |
40 | },{\r | |
41 | layout: 'hbox',\r | |
42 | items: [{\r | |
43 | xtype: 'checkboxfield'\r | |
44 | },{\r | |
45 | html: 'I agree to the terms & conditions',\r | |
46 | userCls: 'checkbox-text-adjustment'\r | |
47 | }]\r | |
48 | },{\r | |
49 | xtype: 'button',\r | |
50 | text: 'Signup',\r | |
51 | iconAlign: 'right',\r | |
52 | iconCls: 'x-fa fa-user-plus',\r | |
53 | ui: 'confirm',\r | |
54 | handler: function(){\r | |
55 | window.location.href = "#dashboard";\r | |
56 | }\r | |
57 | },{\r | |
58 | xtype: 'button',\r | |
59 | text: 'Login with Facebook',\r | |
60 | iconAlign: 'right',\r | |
61 | iconCls: 'x-fa fa-facebook',\r | |
62 | ui: 'facebook',\r | |
63 | handler: function(){\r | |
64 | window.location.href = "#dashboard";\r | |
65 | }\r | |
66 | }]\r | |
67 | }]\r | |
68 | }]\r | |
69 | });\r |