-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_placement.html
144 lines (133 loc) · 4.12 KB
/
update_placement.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<title>Update Placement Details</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: #f1f1f1;
background-image: linear-gradient(to right, #8360c3, #2ebf91);
}
.page {
padding: 8% 0 0;
margin: auto;
}
.form {
position: relative;
z-index: 1;
background: #FFFFFF;
max-width: 500px;
margin: 0 auto 100px;
padding: 45px;
text-align: center;
border-radius: 25px;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 5px 20px 0 rgba(0, 0, 0, 0.15);
}
.form input[type='number'],
.form input[type='text'],
.form input[type="email"],
.form input[type="password"] {
font-family: "Roboto", sans-serif;
outline: 0;
background: #f2f2f2;
width: 100%;
border: 0;
margin: 0 0 15px;
padding: 15px;
box-sizing: border-box;
font-size: 14px;
border-radius: 25px;
}
.form button[type="submit"] {
font-family: "Roboto", sans-serif;
text-transform: uppercase;
outline: 0;
background: #27ae60;
width: 100%;
border: 0;
padding: 15px;
color: #FFFFFF;
font-size: 14px;
cursor: pointer;
border-radius: 25px;
transition: all 0.3s ease-in-out;
}
h1 {
font-size: 28px;
font-weight: bold;
text-align: center;
margin-bottom: 30px;
color: #333333;
text-shadow: 1px 1px 1px #ffffff;
}
.form button[type="submit"]:hover {
background: #2ecc71;
}
.form .message {
margin: 15px 0 0;
color: #b3b3b3;
font-size: 12px;
}
.form .message a {
color: #27ae60;
text-decoration: none;
}
.form .alert {
margin-top: 10px;
color: red;
font-size: 12px;
text-align: center;
display: none;
}
.button-container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: -70px; /* Adjust this value to move the button upwards or downwards */
}
.button-container form {
margin: 20px;
}
.button-container .button {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
transition: all 0.3s ease-in-out;
}
.button-container .button:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
<div class="page">
<form action="update_placement.php" method="post">
<div class="form">
<h1>Student Placement Details</h1>
<input type="text" placeholder="Roll Number" name="roll_number">
<input type="text" placeholder="Company Placed in" name="company" >
<input type="text" placeholder="Package" name="package">
<input type="text" placeholder="Role" name="role">
<input type="text" placeholder="OffCampus[1/0]" name="offcampus">
<input type="text" placeholder="Location" name="place_of_work">
<button type="submit">Update Details</button>
</div>
</form>
<div class="button-container">
<form action="Student_Home.php" method="post">
<button type="submit" class="button">Back</button>
</form>
</div>
</div>
</body>
</html>