-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
78 lines (72 loc) · 2.68 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE HTML>
<!--suppress ALL -->
<html manifest="">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=10, user-scalable=yes">
<script src="resources/ext-modern-all.js" type="text/javascript"></script>
<link rel="stylesheet" href="resources/theme-material-all.css" />
<link rel="stylesheet" href="resources/FSS-all.css" />
<link rel="stylesheet" href="resources/login.css" />
<title>FSS Login</title>
<script>
Ext.onReady(function(){
let body = Ext.getBody();
var pageConfig = {
xtype: 'container',
cls: 'fss-login-body',
layout: {
type: 'fit'
},
items: [{
xtype: 'container',
layout: 'vbox',
items: [{
xtype: 'image',
cls: 'fss-login-logo',
src: '/resources/images/FSS_logo.svg',
flex: 0.3
}, {
xtype: 'formpanel',
cls: 'fss-login-form',
items: [{
items: [{
xtype: 'textfield',
placeholder: 'Username'
}, {
xtype: 'passwordfield',
placeholder: 'Password'
}]
}, {
layout: 'hbox',
items: [{
xtype: 'label',
html: 'Forgot password?',
flex: 1
}, {
xtype: 'button',
ui: 'round',
text: 'LOG IN',
handler: function(){
window.location = '/';
}
}]
}],
flex: 0.7
}],
flex: 1
}, {
xtype: 'image',
cls: 'fss-login-image',
src: '/resources/images/FSS_loginImg.jpg',
flex: 1
}],
renderTo: body
};
Ext.create('Ext.panel.Panel', pageConfig);
});
</script>
</head>
<body></body>
</html>