-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddAddress.html
330 lines (314 loc) · 11.5 KB
/
addAddress.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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
<!DOCTYPE html>
<html lang="en" dir="ltr">
<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>Megaminds Academy</title>
<meta name="description" content="megaminds-academ" />
<meta name="keywords" content="megaminds-academ" />
<link rel="icon" type="image/x-icon" href="./images/iconePage.webp" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script>
<link rel="stylesheet" href="css/bootstrap.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.rtl.min.css"
integrity="sha384-gXt9imSW0VcJVHezoNQsP+TNrjYXoGcrqBZJpry9zJt8PCQjobwmhMGaDHTASo9N"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./css/owl.carousel.min.css" />
<link rel="stylesheet" href="./css/owl.theme.default.min.css" />
<link rel="stylesheet" href="./css/all.min.css" />
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container">
<a class="navbar-brand" href="index.html"
><img src="./images/megaminds-academy.webp" alt="logo"
/></a>
<button
class="navbar-toggler collapsed"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="toggler-icon top-bar"></span>
<span class="toggler-icon middle-bar"></span>
<span class="toggler-icon bottom-bar"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html"
>Home</a
>
</li>
<li class="nav-item">
<a class="nav-link" href="aboutUs.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="courses.html">Courses</a>
</li>
<li class="nav-item">
<a class="nav-link" href="careers.html">Careers</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contactUs.html">Contact Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="store.html">Store</a>
</li>
</ul>
<div class="endnav">
<!-- if you need "Sign In" add className "hide" to dropdown -> and true otherwise -->
<a href="signIn.html" class="btn_page btn_nav">Sign In</a>
<div class="dropdown hide">
<h4
class="dropdown-toggle f-b"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Profile
</h4>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="profile.html">
<img src="./images/myProfile.webp" alt="myProfile" />
<p>My Profile</p></a
>
</li>
<li>
<a class="dropdown-item" href="followUp.html">
<img src="./images/followUp.webp" alt="myProfile" />
<p>Follow-up</p></a
>
</li>
<li>
<a class="dropdown-item" href="myCart.html">
<img src="./images/myCart.webp" alt="myProfile" />
<p>My Cart</p></a
>
</li>
<li>
<a class="dropdown-item" href="myOrders.html">
<img src="./images/myOrder.webp" alt="myOrder" />
<p>My Orders</p></a
>
</li>
<li>
<a class="dropdown-item" href="addresses.html">
<img src="./images/addresses.webp" alt="Addresses" />
<p>Addresses</p>
</a>
</li>
<li>
<a class="dropdown-item" href="signIn.html"
><p style="color: black">Log Out</p></a
>
</li>
</ul>
</div>
<button class="btn-lang" type="button">
<img src="./images/lang.svg" alt="lang" />
<p class="f-b">العربية</p>
</button>
</div>
</div>
</div>
</nav>
<section class="account container mb100">
<div class="linksAccount">
<ul>
<li>
<a href="profile.html"> My Profile </a>
</li>
<li>
<a href="followUp.html"> Follow-Up </a>
</li>
<li>
<a href="myCart.html"> My Cart </a>
</li>
<li>
<a href="myOrders.html"> My Orders </a>
</li>
<li>
<a href="addresses.html" class="active"> Addresses </a>
</li>
<li>
<a href="signIn.html"> Log out </a>
</li>
</ul>
</div>
<div class="carts checkout acount_part2">
<h2 class="acountTitle1">Add New Addresss</h2>
<div class="items_order form_order">
<div class="content">
<form class="row g-3 form_page">
<h3 class="f-s">Please fill in this form to get your order</h3>
<h4>Location Details</h4>
<!-- map -->
<div class="map">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d13644.980469861162!2d29.985604349999996!3d31.2416371!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14f5c52fadf4220f%3A0x7d08dceaad4557bd!2sSan%20Stefano%20Grand%20Plaza!5e0!3m2!1sen!2seg!4v1678613910844!5m2!1sen!2seg"
width="600"
height="450"
style="border: 0"
allowfullscreen=""
loading="lazy"
referrerpolicy="no-referrer-when-downgrade"
></iframe>
</div>
<div class="col-md-12">
<label for="inputCity" class="form-label"
>City <span>*</span></label
>
<select id="inputCity" class="form-select">
<option selected>Select Your City</option>
<option>alex</option>
<option>cairo</option>
</select>
</div>
<div class="col-md-12">
<label for="inputAddress" class="form-label"
>Address <span>*</span></label
>
<input
type="text"
class="form-control"
id="inputAddress"
placeholder="Enter Your Address"
/>
</div>
<h4>Personal Details</h4>
<div class="col-md-12">
<label for="inputFirstName" class="form-label"
>Full Name <span>*</span></label
>
<input
type="text"
class="form-control"
id="inputFirstName"
placeholder="First Name"
/>
</div>
<div class="col-md-12">
<label for="inputPhone " class="form-label"
>Phone Number <span>*</span></label
>
<input
type="tel"
class="form-control"
id="phone"
placeholder="Phone Number"
/>
</div>
<div class="col-md-12">
<label for="inputEmail" class="form-label"
>Email Adress <span>*</span></label
>
<input
type="email"
class="form-control"
id="inputEmail"
placeholder="Email"
/>
</div>
<h4>Building Details</h4>
<div class="col-md-6">
<label for="inputBuilding " class="form-label"
>Building Number <span>*</span></label
>
<input
type="number"
class="form-control"
id="inputBuildingNumber"
placeholder="Number"
/>
</div>
<div class="col-md-6">
<label for="inputFloor " class="form-label"
>Floor Number <span>*</span></label
>
<input
type="number"
class="form-control"
id="inputFloorNumber"
placeholder="Number"
/>
</div>
<div class="col-md-6">
<label for="inputFlat " class="form-label"
>Flat Number <span>*</span></label
>
<input
type="number"
class="form-control"
id="inputFlatNumber"
placeholder="Number"
/>
</div>
<div class="col-md-6">
<label for="inputStreet " class="form-label"
>Street Number <span>*</span></label
>
<input
type="number"
class="form-control"
id="inputStreetNumber"
placeholder="Number"
/>
</div>
<div class="col-md-12">
<label for="inputComment " class="form-label"
>Address Notes
</label>
<textarea
class="form-control"
name=""
id=""
cols="30"
rows="10"
placeholder="Enter Your Notes"
id="inputComment "
></textarea>
</div>
<!-- found address -->
</form>
<input type="submit" value="Add Address" class="btn_page" />
</div>
</div>
</div>
</section>
<script>
const phoneInputField = document.querySelector("#phone");
function getIp(callback) {
fetch('https://ipinfo.io/41.47.128.120?token=6f23784d8e0441', { headers: { 'Accept': 'application/json' }})
.then((resp) => resp.json())
.catch(() => {
return {
country: "eg",
};
})
.then((resp) => callback(resp.country));
}
const phoneInput = window.intlTelInput(phoneInputField, {
initialCountry: "auto",
geoIpLookup: getIp,
utilsScript:
"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/utils.js",
});
</script>
<script src="js/popper.min.js"></script>
<script src="js/jquery-3.6.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="./js/owl.carousel.min.js"></script>
</body>
</html>