-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhome_frontend.php
77 lines (53 loc) · 1.61 KB
/
home_frontend.php
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" >
<title>Register form</title>
<style>
.btr{
background-color: maroon;
padding-top: 5px;
padding-bottom: 5px;
font-size: 13px;
border: none;
color: aliceblue;
padding-left: 13px;
padding-right: 13px;
}
#forms{
width: 300px;
background-color:white;
padding: 20px;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body style="background-color: #C0C0C0">
<h1 style="text-align: center; font-size: 40px">Log in</h1>
<form id="forms" action = "home_backend.php" method="post">
<div>
<input type="radio" name="user" value="student">Student</input>
<input type="radio" name="user" value="teacher">Teacher</input>
</div>
<div>
<p class="labels">Enter userid:</p>
<br/>
<input class="input" type="text" name="userid">
</div>
<div>
<p class="labels">Enter password:</p>
<br/>
<input class="input" type="password" name="password">
</div>
<div>
<br>
<input class="btr" type="submit" name="login" value="Login">
<input class="btr" type="reset" name="reset" value="Reset">
<br>
<br>
<br>
<br>
</div>
</form>