-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (74 loc) · 2.14 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Submit Record</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
.container {
text-align: center;
border: 1px solid #ccc;
padding: 20px;
border-radius: 10px;
background-color: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
form {
margin-top: 20px;
}
input[type="text"], input[type="date"] {
padding: 10px;
margin: 5px;
width: 80%;
border-radius: 5px;
border: 1px solid #ccc;
box-sizing: border-box;
}
input[type="submit"], .button {
padding: 15px 30px;
margin: 10px;
border: none;
cursor: pointer;
text-decoration: none;
display: inline-block;
border-radius: 5px;
font-size: 16px;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
}
.button {
background-color: #008CBA;
color: white;
}
input[type="submit"]:hover {
background-color: #45a049;
}
.button:hover {
background-color: #007bb5;
}
</style>
</head>
<body>
<div class="container">
<h1>Add Record</h1>
<form action="add_record.php" method="post">
<input type="text" name="roll_number" placeholder="Roll Number" required>
<input type="text" name="name" placeholder="Name" required>
<input type="date" name="date" required>
<input type="submit" value="Submit">
</form>
<a href="search_record.html" class="button">Search Records</a>
</div>
</body>
</html>