-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
executable file
·52 lines (52 loc) · 1.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sign in | Sign up</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="flex-container">
<div class="flex-grow-1">
<div class="card">
<h2>Log In</h2>
<form name="login" method="post" action="cgi-bin/login.cgi">
<label for="usr">
Username:
<input type="text" id="usr" name="usr" placeholder="Enter your username" required>
</label>
<label for="pwd">
Password:
<input id="pwd" type="password" name="pwd" placeholder="Enter your password" required>
</label>
<button type="submit" class="bg-success">Log in</button>
</form>
</div>
</div>
<div class="flex-grow-1">
<div class="card">
<h2>Register</h2>
<form name="register" method="post" action="cgi-bin/register.cgi">
<label for="name">
Full Name:
<input id="name" type="text" name="name" placeholder="Enter your full name" required>
</label>
<label for="job">
Occupation:
<input id="job" type="text" name="job" placeholder="What's your job?" required>
</label>
<label for="newUsr">
Username:
<input type="text" id="newUsr" name="usr" placeholder="Enter your username" required>
</label>
<label for="newPwd">
Password:
<input id="newPwd" type="password" name="pwd" placeholder="Choose your password" required>
</label>
<button type="submit" class="bg-success">Register</button>
</form>
</div>
</div>
</div>
</body>
</html>