Skip to content

Commit 407204e

Browse files
authored
Update index.html
1 parent 711cfc8 commit 407204e

File tree

1 file changed

+30
-10
lines changed

1 file changed

+30
-10
lines changed

index.html

+30-10
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,23 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<title>Submit Record</title>
9-
9+
1010
<style>
1111
body {
1212
display: flex;
1313
justify-content: center;
1414
align-items: center;
1515
height: 100vh;
1616
font-family: Arial, sans-serif;
17+
background-color: #f4f4f4;
1718
}
1819
.container {
1920
text-align: center;
21+
border: 1px solid #ccc;
22+
padding: 20px;
23+
border-radius: 10px;
24+
background-color: white;
25+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
2026
}
2127
form {
2228
margin-top: 20px;
@@ -25,32 +31,46 @@
2531
padding: 10px;
2632
margin: 5px;
2733
width: 80%;
34+
border-radius: 5px;
35+
border: 1px solid #ccc;
36+
box-sizing: border-box;
2837
}
29-
input[type="submit"], a.button {
30-
padding: 10px 20px;
31-
margin: 5px;
32-
background-color: #4CAF50;
33-
color: white;
38+
input[type="submit"], .button {
39+
padding: 15px 30px;
40+
margin: 10px;
3441
border: none;
3542
cursor: pointer;
3643
text-decoration: none;
3744
display: inline-block;
45+
border-radius: 5px;
46+
font-size: 16px;
47+
}
48+
input[type="submit"] {
49+
background-color: #4CAF50;
50+
color: white;
3851
}
39-
input[type="submit"]:hover, a.button:hover {
52+
.button {
53+
background-color: #008CBA;
54+
color: white;
55+
}
56+
input[type="submit"]:hover {
4057
background-color: #45a049;
4158
}
59+
.button:hover {
60+
background-color: #007bb5;
61+
}
4262
</style>
4363
</head>
4464
<body>
4565
<div class="container">
46-
<h1>Submit Record</h1>
47-
<form action="submit_record.php" method="post">
66+
<h1>Add Record</h1>
67+
<form action="add_record.php" method="post">
4868
<input type="text" name="roll_number" placeholder="Roll Number" required>
4969
<input type="text" name="name" placeholder="Name" required>
5070
<input type="date" name="date" required>
5171
<input type="submit" value="Submit">
5272
</form>
53-
<a href="view_record.html" class="button">View Records</a>
73+
<a href="search_record.html" class="button">Search Records</a>
5474
</div>
5575
</body>
5676
</html>

0 commit comments

Comments
 (0)