Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (46 loc) · 2.15 KB
/
Copy pathindex.html
File metadata and controls
56 lines (46 loc) · 2.15 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chat</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<div class="row p-3" >
<div class="col-md-2"></div>
<div class="col-md-4 p-3">
<h2>Login</h2>
<form action="login.php" method ="POST">
<div class = "form-group">
<label for="username"></label>
<input type="text" placeholder="username" name ="user" class ="form-control" required autocomplete="off">
</div>
<div class = "form-group">
<label for="password"></label>
<input type="password" placeholder="password" name ="psw" class ="form-control" required autocomplete="off">
</div>
<button type="submit" class="btn btn-primary">login</button>
</form>
</div>
<div class="col-md-4 p-3 rr">
<h2>Sign up</h2>
<form action="register.php" method ="POST">
<div class = "form-group">
<label for="username"></label>
<input type="text" placeholder="username" name ="user" class ="form-control" required autocomplete="off">
</div>
<div class = "form-group">
<label for="password"></label>
<input type="password" placeholder="password" name ="psw" class ="form-control" required autocomplete="off">
</div>
<button type="submit" class="btn btn-primary">sign up</button>
</form>
</div>
<div class="col-md-2"></div>
</div>
</div>
</body>
</html>