-
Notifications
You must be signed in to change notification settings - Fork 52
/
edit-user-profile.html
430 lines (379 loc) · 18.6 KB
/
edit-user-profile.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
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Edit post</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="styles/edit-pge.css">
<link rel="icon" type="img/png" href="images/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Nunito&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Nunito', segoe UI, sans-serif;
}
.profile-input input, .profile-input select, .profile-input textarea{
width: 50%!important;
}
#header {
width: 100%;
padding: 0;
}
#header #navbar {
padding: 0;
}
#header .logo img {
width: 150px;
}
#header .navbar p {
font-size: 2rem;
color: #6D9BF1;
}
#header .menu .nav-link {
font-size: 1.1rem;
color: rgba(0, 0, 0, 0.7);
transition: 0.4s ease-out;
}
#header .menu .nav-link:hover {
color: blue;
}
#header .menu #nav-register {
background-color: #1257AE;
align-self: center;
color: white;
padding: 0.4rem 1.5rem;
}
#header .menu #nav-register:hover {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
#header .menu li {
margin-left: 2.2rem;
}
#header .fa-bars {
color: #000000;
}
@media (max-width: 860px) {
#header .fa-bars {
margin-bottom: 1rem;
}
#header .menu {
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
padding-bottom: 1rem;
}
#header .menu .nav-link {
font-size: 1rem;
padding: 0.3rem 1rem;
}
#header .menu #nav-register {
padding: 0.3rem 1rem;
}
#header .menu li {
margin-left: 0.5rem;
}
}
#footer {
font-family: Nunito, segoe UI, sans-serif;
margin: 1rem auto;
width: 100%;
}
#footer #hr {
width: 80%;
border: 0.5px solid rgba(0, 0, 0, 0.08);
}
#footer #nav-flex {
display: flex;
flex-direction: row;
justify-content: space-around;
margin: 2rem auto;
}
#footer #nav-flex .link-group {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
#footer .link-group .group-desc {
color: #1257AE;
font-weight: bolder;
margin: 1rem 0;
}
#footer .link-group a {
text-decoration: none;
color: rgba(0, 0, 0, 0.8);
margin: 0.15rem 0;
transition: 0.4s ease-out;
}
#footer .link-group a:hover {
color: rgb(100, 100, 200);
}
#footer #socials {
display: flex;
flex-direction: row;
}
#footer #socials .social-link {
margin-right: 1rem;
border-radius: 100%;
height: 30px;
border: 2px solid white;
transition: 0.4s ease-out;
}
#footer #socials .social-link:hover {
border: 2px solid skyblue;
}
@media (max-width: 860px) {
.profile-input input,
.profile-input select,
.profile-input textarea{
width:100%!important;
}
#footer {
padding-bottom: 1rem;
text-align:center;
}
#footer #nav-flex {
flex-direction: column;
margin: 1rem 2rem;
}
#footer .link-group .group-desc {
margin: 1.5rem 0 0.5rem;
}
}
</style>
</head>
<body>
<header id="header" class="container-fluid">
<div class="container">
<nav class="navbar navbar-expand-lg" id="navbar">
<a href="index.html" class="navbar-brand logo">
<img src="https://res.cloudinary.com/fabianuzukwu/image/upload/v1571749198/c09e9odiqy2cvkosfubl.png" alt="WikiPoli Logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fa fa-bars" aria-hidden="true"></i>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="nav navbar-nav ml-auto menu">
<li class="nav-item">
<a class="nav-link" href="#"><strong>Home</strong></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="nav-register">Profile</a>
</li>
</ul>
</div>
</nav>
</div>
</header>
<div class="container mb-5">
<h3>Edit User Profile</h3>
<form action="">
<!-- User info section to edit user info-->
<div class="card my-4">
<div class="card-header font-weight-bold">User Info</div>
<div class="card-header">
<div class="form-inline mx-auto">
<label for="firstName" class="col-sm-3 col-lg-2 control-label font-weight-bold">First Name</label>
<div class=" col-sm-9 col-lg-10 profile-input">
<input type="text" id="firstName" placeholder="First Name" class="form-control border border-primary" autofocus>
</div>
</div>
<div class="form-inline my-2">
<label for="lastName" class="col-sm-3 col-lg-2 control-label font-weight-bold">Last Name</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="text" id="lastName" placeholder="Last Name" class="form-control border border-primary" autofocus>
</div>
</div>
<div class="form-inline my-2">
<label for="birthDate" class="col-sm-3 col-lg-2 control-label font-weight-bold">Date of Birth</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="date" id="birthDate" class="form-control border border-primary" autofocus>
</div>
</div>
<div class="form-inline my-2">
<label for="birthDate" class="col-sm-3 col-lg-2 control-label font-weight-bold">Gender</label>
<div class="col-sm-9 col-lg-10 form-inline">
<label for="male" class="mr-1">Male</label> <input id="male" type="radio" name="Gender" value="Male" class="mr-4">
<label for="female" class="mr-1">Female</label> <input type="radio" name="Gender" value="Female">
</div>
</div>
<div class="form-inline my-2">
<label for="state" class="col-sm-3 col-lg-2 control-label font-weight-bold">State</label>
<div class="col-sm-9 col-lg-10 profile-input">
<select class="form-control border border-primary" id="state" autofocus>
<option disabled selected>--Select State--</option>
<option value="Abia">Abia</option>
<option value="Adamawa">Adamawa</option>
<option value="Akwa Ibom">Akwa Ibom</option>
<option value="Anambra">Anambra</option>
<option value="Bauchi">Bauchi</option>
<option value="Bayelsa">Bayelsa</option>
<option value="Benue">Benue</option>
<option value="Borno">Borno</option>
<option value="Cross Rive">Cross River</option>
<option value="Delta">Delta</option>
<option value="Ebonyi">Ebonyi</option>
<option value="Edo">Edo</option>
<option value="Ekiti">Ekiti</option>
<option value="Enugu">Enugu</option>
<option value="FCT">Federal Capital Territory</option>
<option value="Gombe">Gombe</option>
<option value="Imo">Imo</option>
<option value="Jigawa">Jigawa</option>
<option value="Kaduna">Kaduna</option>
<option value="Kano">Kano</option>
<option value="Katsina">Katsina</option>
<option value="Kebbi">Kebbi</option>
<option value="Kogi">Kogi</option>
<option value="Kwara">Kwara</option>
<option value="Lagos">Lagos</option>
<option value="Nasarawa">Nasarawa</option>
<option value="Niger">Niger</option>
<option value="Ogun">Ogun</option>
<option value="Ondo">Ondo</option>
<option value="Osun">Osun</option>
<option value="Oyo">Oyo</option>
<option value="Plateau">Plateau</option>
<option value="Rivers">Rivers</option>
<option value="Sokoto">Sokoto</option>
<option value="Taraba">Taraba</option>
<option value="Yobe">Yobe</option>
<option value="Zamfara">Zamfara</option>
</select>
</div>
</div>
<!--
<div class="form-inline my-2">
<label for="town" class="col-sm-3 col-lg-2 control-label font-weight-bold">Town</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="text" id="town" placeholder="Town" class="form-control border border-primary" autofocus>
</div>
</div>
-->
<!--
<div class="form-inline my-2">
<label for="spouse" class="col-sm-3 col-lg-2 control-label font-weight-bold">Name of Spouse</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="text" id="spouse" placeholder="Name of Spouse" class="form-control border border-primary" autofocus>
</div>
</div>
-->
</div>
</div>
<!-- User info section to edit user info-->
<div class="card my-4">
<div class="card-header font-weight-bold">Contact Info</div>
<div class="card-header">
<div class="form-inline my-2">
<label for="address" class="col-sm-3 col-lg-2 control-label font-weight-bold">Contact Address</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="text" id="address" placeholder="Contact Address" class="form-control border border-primary" autofocus>
</div>
</div>
<div class="form-inline my-2">
<label for="email" class="col-sm-3 col-lg-2 control-label font-weight-bold">Email</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="email" id="email" placeholder="[email protected]" class="form-control border border-primary" autofocus>
</div>
</div>
<div class="form-inline my-2">
<label for="phone" class="col-sm-3 col-lg-2 control-label font-weight-bold">Phone</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="text" id="phone" placeholder="2348100000000" class="form-control border border-primary" autofocus>
</div>
</div>
<div class="form-inline my-2">
<label for="facebook" class="col-sm-3 col-lg-2 control-label font-weight-bold">Facebook URL</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="text" id="facebook" placeholder="Facebook URL" class="form-control border border-primary" autofocus>
</div>
</div>
<div class="form-inline my-2">
<label for="twitter" class="col-sm-3 col-lg-2 control-label font-weight-bold">Twitter URL</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="text" id="twitter" placeholder="Twitter URL" class="form-control border border-primary" autofocus>
</div>
</div>
<div class="form-inline my-2">
<label for="linkedin" class="col-sm-3 col-lg-2 control-label font-weight-bold">Linkedin URL</label>
<div class="col-sm-9 col-lg-10 profile-input">
<input type="text" id="linkedin" placeholder="Linkedin URL" class="form-control border border-primary" autofocus>
</div>
</div>
</div>
</div>
<!--
<div class="card my-4">
<div class="card-header font-weight-bold">Biography</div>
<div class="card-header form-inline">
<label for="" class="col-sm-3 col-lg-2 control-label font-weight-bold"></label>
<div class="form-group my-2 col-sm-9 col-lg-10 profile-input">
<textarea class="form-control border border-primary" name="biography" rows="5" id="biography" placeholder=" Your Biography" autofocus></textarea>
</div>
</div>
</div>
<div class="card my-4">
<div class="card-header font-weight-bold">Education History</div>
<div class="card-header form-inline">
<label for="" class="col-sm-3 col-lg-2 control-label font-weight-bold"></label>
<div class="form-group my-2 col-sm-9 col-lg-10 profile-input">
<textarea class="form-control border border-primary" name="education" rows="5" id="education" placeholder="full detail of your Education history" autofocus></textarea>
</div>
</div>
</div>
<div class="card my-4">
<div class="card-header font-weight-bold">Career History</div>
<div class="card-header form-inline">
<label for="" class="col-sm-3 col-lg-2 control-label font-weight-bold"></label>
<div class="form-group my-2 col-sm-9 col-lg-10 profile-input">
<textarea class="form-control border border-primary" name="career" rows="5" id="career" placeholder="Your Career Journey" autofocus></textarea>
</div>
</div>
</div>
<div class="card my-4">
<div class="card-header font-weight-bold">Political History</div>
<div class="card-header form-inline">
<label for="" class="col-sm-3 col-lg-2 control-label font-weight-bold"></label>
<div class="form-group my-2 col-sm-9 col-lg-10 profile-input">
<textarea class="form-control border border-primary" name="political" rows="5" id="political" placeholder="Your Political History" autofocus></textarea>
</div>
</div>
</div>
-->
<div class="d-flex justify-content-end">
<input type="submit" class="btn btn-primary font-weight-bold px-5" value="Edit">
</div>
</form>
</div>
<footer id="footer">
<hr id="hr">
<nav id="nav-flex">
<section class="link-group">
<span class="group-desc">Company</span>
<a href="">About Us</a>
<a href="">Career</a>
</section>
<section class="link-group">
<span class="group-desc">Help & Support</span>
<a href="">FAQ</a>
<a href="">Contact us</a>
</section>
<section class="link-group">
<span class="group-desc">Legal</span>
<a href="">Terms and Conditions</a>
<a href="">Privacy Policy</a>
</section>
<section class="link-group">
<span class="group-desc">Follow Us</span>
<section id="socials" class="justify-content-center">
<a class="social-link" href=""><img src="images/facebook-icon.png" height="30px"></a>
<a class="social-link" href=""><img src="images/linkedin-icon.png" height="30px"></a>
<a class="social-link" href=""><img src="images/twitter-icon.png" height="30px"></a>
</section>
</section>
</nav>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body></html>