-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
180 lines (170 loc) · 4.96 KB
/
signup.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
173
174
175
176
177
178
179
180
<html>
<head>
<title>Registration</title>
<link rel="shortcut icon" type="image/x-icon" href="images/plus.jpg" />
<link rel="stylesheet" href="loader.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/b379d3e204.js" crossorigin="anonymous"></script>
<style>
*{
margin:0;
padding:0;
font-family: sans-serif;
}
.menu{
background-color:#009879;
height:1000px;
width:100%;
position: absolute;
}
.formbox{
font-family: sans-serif;
height: 620px;
width: 430px;
position: relative;
margin: 6% auto;
background: #fff;
padding: 5px;
border-radius: 20px;
box-shadow: 0 0 20px 9px #ff61241f;
}
.input-group{
top:180px;
position: absolute;
width: 280px;
transition: .5s;
}
.input-field{
width: 100%;
padding: 10px 0;
margin: 5px 0;
border-left: 0;
border-top:0;
border-right: 0;
border-bottom: 1px solid #999;
outline: none;
background: transparent;
}
.submit-btn{
width: 85%;
padding: 10px 30px;
cursor: pointer;
display: block;
margin:auto;
background: linear-gradient(to right,#009879,#32CD32);
border: 0;
outline: none;
border-radius: 30px;
}
#register1{
left: 50px;
}
.eye{
position: absolute;
margin-top: 10px;
margin-left:270px;
cursor:pointer;
}
#hide1{
display: none;
}
#hide3{
display:none;
}
h1{
font-family: sans-serif;
color:#009FFD;
}
.float-right{
color: #fff;
font-size: 15px;
text-decoration: none;
}
.link{
background-color:#009879;
width:1290px;
height:40px;
}
.avatar{
width:200px;
height:200px;
border-radius:50%;
position:absolute;
top:-50px;
left:170px;
}
</style>
</head>
<body>
<div class="loader">
<img src="gif/loader.gif" alt="Loading...." />
</div>
<script src="load.js">
</script>
<div class="menu">
<div class="link">
<a class="float-right" href="home.html" style="font-size:20px;"><h4><i class="fa fa-home" aria-hidden="true">HOME</i></h4></a>
</div>
<div class="formbox">
<center><img src="images/login.jpg" class="avatar" style="width:100px;height:100px;"></center><br><br><br>
<center><h1 style="color:#009879;"> PATIENT<br> REGISTRATION</h1></center>
<form action="patregistration.php" name="myform" method="post" id="register1" class="input-group" autocomplete="off">
<input type="text" name="fullname" class="input-field" placeholder="Full Name" required>
<input type="text" name="userid" class="input-field" placeholder="User Id" required>
<input type="email" name="email" class="input-field" placeholder="Email Id" required>
<input type="number" name="phoneno" class="input-field" placeholder="Phone Number" required>
<span class="eye" onclick="myFunction()">
<i id="hide1"class="fa fa-eye" style="color:#009879;margin-bottom: auto;"></i>
<i id="hide2"class="fa fa-eye-slash" style="color:#009879; margin-bottom: auto;"></i>
</span>
<input type="password" name="password" class="input-field" id="myinput" placeholder="Enter Password" >
<span class="eye" onclick="myFunction2()">
<i id="hide3"class="fa fa-eye" style=" color:#009879;margin-bottom: auto;"></i>
<i id="hide4"class="fa fa-eye-slash" style="color:#009879; margin-bottom: auto;"></i>
</span>
<input type="password" name="cpassword" class="input-field" id="myinput2" placeholder="Confirm Password" required>
<select name="gender" class="input-field" onchange="myFunction()" required>
<option value="" disabled selected>--Select Gender--</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="Others">Others</option>
</select><br><br>
<a href="signin.html" id="up" style="text-decoration:none; font-family: sans-serif;color:#ff568c;">Already have an account?</a>
<br><br><center><button type="submit" class="submit-btn" onclick="validate()" style="margin-left:40px;">Patient Register</button></center>
</form>
</div>
</div>
<script>
function myFunction(){
var x = document.getElementById("myinput");
var y = document.getElementById("hide1");
var z = document.getElementById("hide2");
if(x.type === 'password'){
x.type = "text";
y.style.display="block";
z.style.display="none";
}
else{
x.type = "password";
y.style.display="none";
z.style.display="block";
}
}
function myFunction2(){
var a1 = document.getElementById("myinput2");
var b2 = document.getElementById("hide3");
var c3 = document.getElementById("hide4");
if(a1.type === 'password'){
a1.type = "text";
b2.style.display="block";
c3.style.display="none";
}
else{
a1.type = "password";
b2.style.display="none";
c3.style.display="block";
}
}
</script>
</body>
</html>