-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
171 lines (170 loc) · 6.51 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
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.js"></script>
<script>
$(window).load(function() {
// Animate loader off screen
$(".se-pre-con").fadeOut("slow");;
});
</script>
<title>signup</title>
<meta charset="utf-8">
<style>
#main{
background-color:black;
color:white;
height:550px;
width:1000px;
margin-left:300px;
margin-top:100px;
border-radius: 20px;
}
body{
background-image:url("images/ebg.png");
background-size:100%;
background-size: 100%;
background-repeat: no-repeat;
background-attachment: fixed;
}
#sign{
margin-top: 80px;
margin-left: 60px;
height:400px;
width:300px;
float:left;
}
#inner{
padding-top:40px;
padding-left:450px;
}
#formhead{
font-family:Georgia;
}
input[type=text]{
background: transparent;
border: none;
border-bottom: 1px solid white;
color:white;
}
input[type=number]{
background: transparent;
border: none;
border-bottom: 1px solid white;
color:white;
}
input[type=password]{
background: transparent;
border: none;
border-bottom: 1px solid white;
color:white;
}
#name{
width:370px;
}
input[type=email] {
background: transparent;
border: none;
color:white;
border-bottom: 1px solid white;
}
input{
height:30px;
}
input[type=submit]{
background-color: #4CAF50;
border: none;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 2px 2px;
cursor: pointer;
}
#num{
margin-left:50px;
}
#check{
height:15px;
}
#submit{
/* border:inset;
background-color:green;
color:white;
width:100px;
font-size:18px;
margin-right:100px; */
height: 40px;
width:100px;
border-radius: 10px;
background: linear-gradient(to bottom, #33ccff 0%, #ff99cc 100%);
border:0;
}
a{
color:white;
}
#long{
display:none;
}
#lat{
display:none;
}
.no-js #loader { display: none; }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
background: url("images/loader2.gif") center no-repeat #fff;
}
</style>
<script>
function initGeolocation()
{
if( navigator.geolocation )
{
// Call getCurrentPosition with success and failure callbacks
navigator.geolocation.getCurrentPosition( success, fail );
}
else
{
alert("Sorry, your browser does not support geolocation services.");
}
}
function success(position)
{
document.getElementById('long').value = position.coords.longitude;
document.getElementById('lat').value = position.coords.latitude
}
function fail(position)
{
alert("Location Access denied,Try turning on GPS.");
}
</script>
</head>
<body>
<div class="se-pre-con"></div>
<div id="main">
<img src="images/sign.png" id="sign">
<div id="inner">
<h1 id="formhead">REGISTRATION INFO</h1><br/>
<form action="/registerdo" method="POST">
<input type="text" placeholder="Your Name" id="name" name="name" required><br/><br/><br/>
<input type="email" placeholder="Email Address" id="mail" name="mail" required>
<input type="number" placeholder="Mobile Number" id="num" name="num" required><br/><br><br/>
<input type="password" placeholder="Password" id="passwd" name="passwd" required><br/><br><br/>
<p id="loc">Location Access</p><input type="checkbox" id="check" name="check" onchange="initGeolocation();" required><br/><br><br/>
<INPUT TYPE="text" NAME="long" ID="long" VALUE="">
<INPUT TYPE="text" NAME="lat" ID="lat" VALUE="">
<input type="submit" id="submit" name="submit">
Alredy have an account ?<a href="login"><b> Login Here</b></a>
</form>
</div>
</div>
</body>
</html>