-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuserProfile.php
More file actions
155 lines (150 loc) · 8.7 KB
/
userProfile.php
File metadata and controls
155 lines (150 loc) · 8.7 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Profile</title>
<link rel="stylesheet" href="bootstrap.css" />
<link rel="stylesheet" href="user-profile.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css" />
<link href='https://unpkg.com/boxicons@2.1.2/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-10 col-md-6 col-lg-4 offset-1 offset-md-2 offset-lg-4 mt-4 mb-4 border shadow overflow-hidden position-relative" style="border-radius: 10px;">
<div class="row">
<!-- main header -->
<div class="col-12 d-flex flex-column flex-md-column flex-lg-row align-items-center align-items-md-center justify-content-lg-start p-4 border-bottom">
<div class="d-flex flex-column">
<img src="resources/images/profile_images/Janidu_63bd3798ed521.jpeg" class="p-2 profile border bg-white shadow-sm" alt="profile-image" id="main-profile-image" />
<input type="file" id="profile-image-uploader" class="d-none" />
<button class="profile-edite-btn mx-5 border-4 shadow" onclick="changeProfileImage();"><label for="profile-image-uploader"><i class="bi bi-pencil-square text-white"></i></label></button>
</div>
<div class="d-flex flex-column align-items-center align-items-md-center align-items-lg-start ps-0 ps-md-0 ps-lg-3 mt-3 mt-md-3 mt-lg-0">
<span class="main-header">Sahan Diluka</span>
<span class="fs-5 text-muted">@sahanDiluka</span>
</div>
</div>
<!-- main header -->
<!-- info section -->
<div class="col-12 p-4">
<div class="row">
<div class="col-12">
<h3>User Details</h3>
</div>
<div class="col-12 col-md-12 col-lg-6">
<div class="inputBox mt-4">
<input type="text" required="required" id="first_name">
<span id="fname">First Name</span>
<i class="i"></i>
</div>
</div>
<div class="col-12 col-md-12 col-lg-6">
<div class="inputBox mt-4">
<input type="text" required="required" id="last_name">
<span id="fname">Last Name</span>
<i class="i"></i>
</div>
</div>
<div class="col-12">
<div class="inputBox mt-4">
<input type="text" required="required" id="username">
<span id="fname">Username</span>
<i class="i"></i>
</div>
</div>
<div class="col-12">
<div class="inputBox mt-4">
<input type="text" required="required" id="email">
<span id="fname">Email</span>
<i class="i"></i>
</div>
</div>
<div class="col-12">
<div class="inputBox mt-4">
<input type="text" required="required" id="mobile">
<span id="fname">Mobile</span>
<i class="i"></i>
</div>
</div>
<div class="col-12">
<div class="inputBox mt-4">
<input type="password" class="password" required="required" id="password1">
<span id="spanpassword">password</span>
<div id="password-hide-btn1" onclick="shiftwPasswordHide('1');">
<i class='bx bx-hide eye-icon'></i>
</div>
<i class="i"></i>
</div>
</div>
<div class="col-12">
<div class="inputBox mt-4">
<textarea type="text" required="required" id="bio"></textarea>
<span id="fname">Bio</span>
<i class="i"></i>
</div>
</div>
<div class="col-12">
<div class="inputBox mt-4">
<span id="fname">Gender</span>
</div>
</div>
<div class="col-12 d-flex flex-row mt-4">
<div class="checkbox d-flex flex-row my-auto">
<input type="radio" disabled checked name="gender" />
<label class="ms-2">Male</label>
</div>
<div class="checkbox d-flex flex-row my-auto">
<input type="radio" disabled name="gender" />
<label class="ms-2">Female</label>
</div>
</div>
<div class="col-12 mt-4">
<div class="field button-field mt-4">
<a style="color: #fff;" class="button1 pt-2 pb-2 fs-5" onclick="userProfileUpdate();">Update Profile</a>
</div>
</div>
</div>
</div>
<!-- info section -->
</div>
</div>
</div>
</div>
<!-- Message toast | small and medium screen -->
<div class="toast-container position-fixed top-0 start-50 translate-middle-x pt-3 d-block d-md-block d-lg-none">
<div id="liveToast-sm-md" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-body border-0 shadow" style="background-color: #f5683d27;border-radius: 10px;">
<div class="row p-2">
<div class="col-10">
<span class="def-header" id="toast-msg-sm-md"></span>
</div>
<div class="col-2 d-flex flex-row justify-content-center align-items-center">
<button type="button" class="btn-close border-1 bg-white" data-bs-dismiss="toast" aria-label="Close" style="border-radius: 100%;background-color: #f5683d;"></button>
</div>
</div>
</div>
</div>
</div>
<!-- Message toast | small and medium screen -->
<!-- Message toast | large screen -->
<div class="toast-container position-fixed bottom-0 end-0 pb-3 pe-3 d-none d-md-none d-lg-block">
<div id="liveToast-lg" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-body border shadow" style="background-color: #f5683d27;border-radius: 10px;">
<div class="row p-2">
<div class="col-10">
<span class="def-header" id="toast-msg-lg"></span>
</div>
<div class="col-2 d-flex flex-row justify-content-center align-items-center">
<button type="button" class="btn-close border-1" data-bs-dismiss="toast" aria-label="Close" style="border-radius: 100%;background-color: #f5683d;"></button>
</div>
</div>
</div>
</div>
</div>
<!-- Message toast | large screen -->
<script src="bootstrap.bundle.js"></script>
<script src="userProfile.js"></script>
</body>
</html>