-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
55 lines (35 loc) · 1.12 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
<!doctype html>
<head>
<!-- Basics -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Login</title>
<!-- CSS -->
<link rel="stylesheet" href="css/login-reset.css">
<link rel="stylesheet" href="css/login-animate.css">
<link rel="stylesheet" href="css/login-styles.css">
</head>
<!-- Main HTML -->
<body>
<!-- Begin Page Content -->
<div id="container">
<form method="post" action="login">
<label for="name">Username:</label>
<input type="name" name="username" id="usernameInput">
<label for="password">Password:</label>
<!--<p><a href="#">Forgot your password?</a>-->
<input type="password" name="password">
<div id="lower">
<input type="checkbox"><label class="check" for="checkbox">Keep me logged in</label>
<input type="submit" value="Login" onclick="saveUsername()">
</div>
</form>
</div>
</body>
<script type="text/javascript">
function saveUsername() {
username = document.getElementById("usernameInput").value;
localStorage.username = username;
}
</script>
</html>