|
6 | 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
8 | 8 | <title>Submit Record</title>
|
9 |
| - |
| 9 | + |
10 | 10 | <style>
|
11 | 11 | body {
|
12 | 12 | display: flex;
|
13 | 13 | justify-content: center;
|
14 | 14 | align-items: center;
|
15 | 15 | height: 100vh;
|
16 | 16 | font-family: Arial, sans-serif;
|
| 17 | + background-color: #f4f4f4; |
17 | 18 | }
|
18 | 19 | .container {
|
19 | 20 | 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); |
20 | 26 | }
|
21 | 27 | form {
|
22 | 28 | margin-top: 20px;
|
|
25 | 31 | padding: 10px;
|
26 | 32 | margin: 5px;
|
27 | 33 | width: 80%;
|
| 34 | + border-radius: 5px; |
| 35 | + border: 1px solid #ccc; |
| 36 | + box-sizing: border-box; |
28 | 37 | }
|
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; |
34 | 41 | border: none;
|
35 | 42 | cursor: pointer;
|
36 | 43 | text-decoration: none;
|
37 | 44 | display: inline-block;
|
| 45 | + border-radius: 5px; |
| 46 | + font-size: 16px; |
| 47 | + } |
| 48 | + input[type="submit"] { |
| 49 | + background-color: #4CAF50; |
| 50 | + color: white; |
38 | 51 | }
|
39 |
| - input[type="submit"]:hover, a.button:hover { |
| 52 | + .button { |
| 53 | + background-color: #008CBA; |
| 54 | + color: white; |
| 55 | + } |
| 56 | + input[type="submit"]:hover { |
40 | 57 | background-color: #45a049;
|
41 | 58 | }
|
| 59 | + .button:hover { |
| 60 | + background-color: #007bb5; |
| 61 | + } |
42 | 62 | </style>
|
43 | 63 | </head>
|
44 | 64 | <body>
|
45 | 65 | <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"> |
48 | 68 | <input type="text" name="roll_number" placeholder="Roll Number" required>
|
49 | 69 | <input type="text" name="name" placeholder="Name" required>
|
50 | 70 | <input type="date" name="date" required>
|
51 | 71 | <input type="submit" value="Submit">
|
52 | 72 | </form>
|
53 |
| - <a href="view_record.html" class="button">View Records</a> |
| 73 | + <a href="search_record.html" class="button">Search Records</a> |
54 | 74 | </div>
|
55 | 75 | </body>
|
56 | 76 | </html>
|
0 commit comments