forked from rohan688/tata-Mg1-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
242 lines (237 loc) · 8.11 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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sign Up | 1mg.com</title>
<link rel="stylesheet" href="styles/signup.css" />
<link rel="stylesheet" href="styles/navbar.css" />
<link rel="stylesheet" href="styles/footer.css" />
<link rel="stylesheet" href="styles/mdcn.css" />
</head>
<body>
<div id="container">
<div id="navbar"></div>
<div id="container_1">
<div id="slideshow_container">
<div class="mySlides">
<img
src="https://www.1mg.com/images/login-signup/Your-Go-To-Health-App.png"
alt=""
/>
<div class="text">
<h2>Make Healthcare Simpler</h2>
<p>
Get medicine information, order medicines, book lab<br />tests
and consult doctors online from the comfort of<br />your home.
</p>
</div>
</div>
<div class="mySlides">
<img
src="https://www.1mg.com/images/login-signup/Know-Your-Medicines.png"
alt=""
/>
<div class="text">
<h2>Know Your Medicines</h2>
<p>
View medicine information like usage, side effects and <br />
cheaper substitutes before you take them.
</p>
</div>
</div>
<div class="mySlides">
<img
src="https://www.1mg.com/images/login-signup/Home-Delivery-of-Medicines.png"
alt=""
/>
<div class="text">
<h2>Medicines, Home Delivered</h2>
<p>
Order any medicine or health product and we'll deliver <br />
it for free. Enjoy discounts on everything.
</p>
</div>
</div>
<div class="mySlides">
<img
src="https://www.1mg.com/images/login-signup/Lab-Tests-at-Home.png"
alt=""
/>
<div class="text">
<h2>Lab Tests at Home</h2>
<p>
Book any test from any lab. We'll collect the sample <br />and
send the reports. Save up to 80% every time.
</p>
</div>
</div>
<div class="mySlides">
<img
src="https://www.1mg.com/images/login-signup/Health-Related-Queries.png"
alt=""
/>
<div class="text">
<h2>Health Related Queries?</h2>
<p>
Consult our certified doctors from anywhere, anytime,<br />and
for free. We guarantee your privacy.
</p>
</div>
</div>
<div class="dot_container">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
<span class="dot" onclick="currentSlide(4)"></span>
<span class="dot" onclick="currentSlide(5)"></span>
</div>
</div>
<div id="account_1">
<h1>
Sign Up
<!-- <span class="close">[x]</span> -->
</h1>
<p>
Please enter your Mobile number to receive One Time Password (OTP)
</p>
<form>
<input
type="number"
placeholder="Enter Mobile Number"
id="mobile_number"
oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);"
maxlength="10"
/>
</form>
<p id="account_invalid_num">
Entered mobile number is not valid. Please enter a valid 10 digit
mobile number.
</p>
<p><input type="checkbox" />Are you a Healtcare Professional?</p>
<button id="account_continue">CONTINUE</button>
<div>
<p>
Have an account?
<span class="a_orange" id="login_span">Login</span>
</p>
<p>
For Corporate Sign Up,
<a href="signup_corporate.html" class="a_orange">Click Here</a>
</p>
<p id="terms">
By signing up, you agree to our
<a href="">Terms and Conditions</a> &
<a href="">Privacy Policy</a>
</p>
</div>
</div>
<div id="account_2">
<h1>
Login
<!-- <span class="close">[x]</span> -->
</h1>
<p>Get access to your orders, lab tests & doctor consultations</p>
<form>
<input
type="number"
placeholder="Enter Mobile Number"
id="login_mobile_number"
oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);"
maxlength="10"
/>
</form>
<p id="login_invalid_num">
Entered mobile number is not valid. Please enter a valid 10 digit
mobile number.
</p>
<button id="login_button-1">LOGIN</button>
<div>
<p>
New on 1mg?
<span class="a_orange" id="signup_span">Sign Up</span>
</p>
<p>
Have a corporate account?
<a href="login_corporate.html" class="a_orange">Click Here</a>
</p>
<p id="terms">
By logging up, you agree to our
<a href="">Terms and Conditions</a> &
<a href="">Privacy Policy</a>
</p>
<p>
<a href="NeedHelp.html" class="a_orange"
>Need help? Get In Touch</a
>
</p>
</div>
</div>
<div id="verify_otp">
<h1>
Verify OTP
<!-- <span class="close">[x]</span> -->
</h1>
<p>
Provide OTP sent to <span id="user_mobile"></span>
<span class="a_orange" id="edit_button">Edit</span>
</p>
<form>
<input
type="password"
placeholder="One Time Password"
id="one_time_p"
minlength="8"
maxlength="12"
/>
</form>
<p id="wrong_otp">Please enter a valid OTP.</p>
<p id="error">
<span class="a_orange" id="otp_sms">Get OTP on SMS</span> |
<span class="a_orange" id="otp_call">Get OTP on Call</span>
</p>
<button id="done">DONE</button>
<div>
<p>
<a href="" class="a_orange">Need help? Get In Touch</a>
</p>
</div>
</div>
<div id="email_id_new">
<h1>
Enter your email id
<!-- <span class="close">[x]</span> -->
</h1>
<p>
We are almost ready! just need your email id to keep your account
extra safe
</p>
<form>
<input type="email" placeholder="Enter Email ID" id="email_new" />
</form>
<p id="invalid_email">Please enter a valid email ID.</p>
<button id="email_continue" onclick="Register(event)">CONTINUE</button>
<div>
<p id="terms">
By logging up, you agree to our
<a href="">Terms and Conditions</a> &
<a href="">Privacy Policy</a>
</p>
<p>
<a href="" class="a_orange">Need help? Get In Touch</a>
</p>
</div>
</div>
</div>
<div id="footer"></div>
</div>
</body>
</html>
<script src="script/login_signup.js"></script>
<script type="module">
import footer from "./script/footer.js";
document.getElementById("footer").innerHTML = footer();
import navbar from "./script/navbar.js";
document.getElementById("navbar").innerHTML = navbar();
</script>