-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit_profile.html
112 lines (103 loc) · 5.24 KB
/
edit_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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
<script type="module" src="./js/edit_profile.js"></script>
<title>edit profile</title>
</head>
<body>
<!-- navbar start -->
<script src="./js/header.js"></script>
<!-- navbar end -->
<!-- new edit profile start -->
<div class="container-fluid mt-5 d-flex justify-content-center align-items-center">
<div class="col-md-6">
<h2 class="mb-4 text-center">Edit Profile</h2>
<p class="text-center px-5" style="font-size: 12px; color: red;"><span style="color: black;">Importent :</span> if any problem occurred then logout from your account and login again ! </p>
<form class="bg-light px-5 py-5 rounded" id="editProfileForm">
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">👤</div>
</div>
<input class="form-control" type="text" id="username" name="username" placeholder="username"
required>
</div>
<div class="form-group pt-3">
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">📧</div>
</div>
<input class="form-control" type="email" id="email" name="email" placeholder="email" required>
</div>
</div>
<div class="form-group pt-3">
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">📝</div>
</div>
<textarea class="form-control" id="bio" name="bio" placeholder="tell something about you..."
maxlength="100" style="height: 10px;"></textarea>
</div>
</div>
<div class="input-group pt-3 mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">🚻</div>
</div>
<select class="form-control" id="gender" name="gender" required>
<option value="" disabled selected>Select Gender</option>
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
</div>
<div class="form-group pt-3">
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">🏠</div>
</div>
<input class="form-control" type="text" id="address" name="address" placeholder="Address">
</div>
</div>
<div class="form-group pt-3">
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">📅</div>
</div>
<input class="form-control" type="date" id="dob" name="dob" placeholder="Date of Birth">
</div>
</div>
<div class="form-group pt-3">
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">🌐</div>
</div>
<input class="form-control" type="url" id="socialLink" name="socialLink"
placeholder="Social Link">
</div>
</div>
<div class="form-group pt-3">
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">📂</div>
</div>
<input class="form-control" type="file" id="profilePhoto" name="profilePhoto" required>
</div>
</div>
<div class="text-center text-success my-3">
<div class="flex-row">
<div class="col">
<div id="feedback" class="py-4 text-success"></div>
</div>
</div>
<button type="button" class="btn btn-primary w-100" id="clearAllButton">Clear all texts</button>
<button class="btn btn-primary w-100 mt-2" id="edit_profile">Save</button>
</form>
</div>
</div>
<!-- new edit profile end -->
</body>
<script type="module" src="./js/navbar.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</html>