-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
126 lines (105 loc) · 2.25 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<html>
<head>
<style>
body{
background-image: url("c1.jpg");
font-family: 'Open Sans', sans-serif;
// background:#3498db;
margin: 0 auto 0 auto;
width:100%;
text-align:center;
margin: 20px 0px 20px 0px;
}
p{
font-size:12px;
text-decoration: none;
color:#000000;
text-align="center";
}
h1{
font-size:1.5em;
color:#525252;
}
.box{
background:white;
width:300px;
border-radius:6px;
margin: 0 auto 0 auto;
padding:0px 0px 70px 0px;
border: #2980b9 4px solid;
}
.email{
background:#ecf0f1;
border: #ccc 1px solid;
border-bottom: #ccc 2px solid;
padding: 8px;
width:250px;
color:#AAAAAA;
margin-top:10px;
font-size:1em;
border-radius:4px;
}
.password{
border-radius:4px;
background:#ecf0f1;
border: #ccc 1px solid;
padding: 8px;
width:250px;
font-size:1em;
}
.btn{
background:#2ecc71;
width:250px;
padding-top:5px;
padding-bottom:5px;
color:white;
border-radius:4px;
border: #27ae60 1px solid;
margin-top:20px;
margin-bottom:20px;
float:center;
margin-left:20px;
font-weight:800;
font-size:0.8em;
}
.btn:hover{
background:#2CC06B;
}
</style>
</head>
<body>
<Script language="javascript">
function field_focus(field, email)
{
if(field.value == email)
{
field.value = '';
}
}
function field_blur(field, email)
{
if(field.value == '')
{
field.value = email;
}
}
//Fade in dashboard box
$(document).ready(function(){
$('.box').hide().fadeIn(1000);
});
//Stop click event
$('a').click(function(event){
event.preventDefault();
});
</Script>
<form action="validate.jsp" method="post">
<div class="box">
<h2>Hey there.... Welcome to License Verifier</h2>
<input type="text" name="username" value="username" onFocus="field_focus(this,'username');" onblur="field_blur(this,'username');" class="email">
<input type="password" name="password" value="password" onFocus="field_focus(this,'username');" onblur="field_blur(this,'username');" class="email">
<a href="#"><div class="btn">Sign In</div></a><br><br>
<p>Forgot your password? <u style="color:#f1c40f;">Click Here!</u></p>
</div>
</form>
</body>
</html>