-
Notifications
You must be signed in to change notification settings - Fork 0
/
employee.html
172 lines (161 loc) · 5.8 KB
/
employee.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPEhtml>
<html>
<head>
<title>BLOOD BANK</title>
</head>
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="common.css">
<style>
body {
background-image: url('images/9.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
form {
width: 30%;
margin: 60px auto;
background: #ca3e3e;
padding: 60px 120px 80px 120px;
text-align: center;
-webkit-box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
opacity:.6;
}
label {
display: block;
position: relative;
margin: 40px 0px;
}
.label-txt {
position: absolute;
top: -1.6em;
padding: 10px;
font-family: sans-serif;
font-size: .8em;
letter-spacing: 1px;
color: rgb(120,120,120);
transition: ease .3s;
}
.input {
width: 100%;
padding: 10px;
background: transparent;
border: none;
outline: none;
}
.line-box {
position: relative;
width: 100%;
height: 2px;
background: #BCBCBC;
}
.line {
position: absolute;
width: 0%;
height: 2px;
top: 0px;
left: 50%;
transform: translateX(-50%);
background: #8BC34A;
transition: ease .6s;
}
.input:focus + .line-box .line {
width: 100%;
}
.label-active {
top: -3em;
}
button {
display: inline-block;
padding: 12px 24px;
background: rgb(220,220,220);
font-weight: bold;
color: rgb(120,120,120);
border: none;
outline: none;
border-radius: 3px;
cursor: pointer;
transition: ease .3s;
}
button:hover {
background: #8BC34A;
color: #ffffff;
}
h1{
color: aquamarine;
text-align: center;
background-color: black;
height: 50px;
}
</style>
<body>
<div class="nav">
<div class="topnav">
<a class="active" href="welcome.html">Home</a>
<a href="contact.html">Contact</a>
</div>
</div>
<h1>EMPLOYEE REGISTRATION FORM</h1>
<form action="employee.php" method="post">
<label><b>Enter the id:<input type="text" name="Id" required /></b>
<div class="line-box">
<div class="line"></div>
</div>
</label>
<label><b>Enter your name:<input type="text" name="Name" required /></b>
<div class="line-box">
<div class="line"></div>
</div>
</label>
<label></label><b>Enter your address:<input type="text" name="Address" required /></b>
<div class="line-box">
<div class="line"></div>
</div>
</label>
<label></label><b>Enter your birth-date:<input type="date" name="Birth" required /></b>
<div class="line-box">
<div class="line"></div>
</div>
</label>
<label></label><b><p>Enter your gender:</p></b>
<b><input type="radio" name="Gdr" value="male">MALE</b>
<b><input type="radio" name="Gdr" value="female">FEMALE</b>
</br>
<label></label><div class="line-box">
<div class="line"></div>
</div>
</label>
<label></label><b>Enter your phone number:<input type="text" name="Mobile_no" pattern="[0-9]{10}"></b>
<div class="line-box">
<div class="line"></div>
</div>
</label>
<label></label><b>Choose designation:
<select name = "Designation">
<option value="RECEPTIONIST">RECEPTIONIST</option>
<option value = "DOCTOR">DOCTOR</option>
<option value = "HELPER STAFF">HELPER STAFF</option>
<option value = "DATABASE MANAGER">DATABASE MANAGER</option>
<option value = "CLEANER">CLEANER</option>
</select>
<div class="line-box">
<div class="line"></div>
</div>
</label>
<label></label><b>Enter your Email:<input type="text" name="Email" required /></b>
<div class="line-box">
<div class="line"></div>
</div>
</label>
<label></label><b>Create a new password:<input type="password" name="Pwd" required /></b>
<div class="line-box">
<div class="line"></div>
</div>
</label>
<input type="submit" value="submit">
<br />
</form>
</body>
</html>