]> git.proxmox.com Git - extjs.git/blame - extjs/templates/admin-dashboard/modern/src/view/authentication/LockScreen.js
add extjs 6.0.1 sources
[extjs.git] / extjs / templates / admin-dashboard / modern / src / view / authentication / LockScreen.js
CommitLineData
6527f429
DM
1Ext.define('Admin.view.authentication.LockScreen', {\r
2 extend: 'Admin.view.authentication.AuthBase',\r
3 xtype: 'lockscreen',\r
4\r
5 requires: [\r
6 'Ext.field.Text'\r
7 ],\r
8\r
9 padding:20,\r
10\r
11 items: [{\r
12 xtype: 'panel',\r
13\r
14 items: [{\r
15 xtype: 'container',\r
16 userCls: 'lockscreen-header',\r
17 padding:20,\r
18\r
19 layout: 'hbox',\r
20 items: [{\r
21 xtype: 'img',\r
22 src: 'resources/images/user-profile/2.png',\r
23 height: 64,\r
24 width: 64,\r
25 userCls: 'circular'\r
26 },{\r
27 xtype: 'container',\r
28 html: '<b>Goff Smith</b><br>Project Manager',\r
29 padding:15\r
30 }]\r
31 },{\r
32 padding:'20 20 0 20',\r
33 html: 'It\'s been awhile. Please enter your password to resume'\r
34 },{\r
35 xtype: 'container',\r
36 padding: 20,\r
37 defaults: {\r
38 margin:'0 0 10 0'\r
39 },\r
40 items: [{\r
41 xtype: 'passwordfield',\r
42 placeHolder: 'Password',\r
43 userCls: 'text-border'\r
44 },{\r
45 xtype: 'button',\r
46 text: 'Login',\r
47 iconAlign: 'right',\r
48 iconCls: 'x-fa fa-angle-right',\r
49 ui: 'gray-button',\r
50 handler: function(){\r
51 window.location.href = "#dashboard";\r
52 }\r
53 },{\r
54 html: '<a href="#login">Sign in using a different account</a>'\r
55 }]\r
56 }]\r
57\r
58 }]\r
59});\r