-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSETTINGS.html
More file actions
160 lines (155 loc) · 6.75 KB
/
SETTINGS.html
File metadata and controls
160 lines (155 loc) · 6.75 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
156
157
158
159
160
<!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>Settings</title>
<link rel="stylesheet" href="css/cssAll.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/settings.css">
</head>
<body>
<div class="container setting">
<div class="header">
<img src="/image/Ellipse 1.png" alt="" class="thumnail">
<nav class="header-nav">
<ul>
<li class="active-nav"><a href=""><img src="/image/Home.png" alt=""></a></li>
<li class="click-chat"><a href="#"><img src="/image/Chat.png" alt=""></a></li>
<li><a href=""></a><img src="/image/notification.png" alt=""></li>
<li><a href=""></a><img src="/image/Setup.png" alt=""></li>
<li><a href=""></a><img src="/image/Exit.png" alt=""></li>
</ul>
</nav>
</div>
<div class="search">
<input type="text" placeholder="Tìm kiếm">
</div>
<div class="Profile-Settings">
<p>Profile Settings</p>
<div class="item">
<img src="image/Ellipse 1.png" alt="">
<div class="content">
<p class="friends">Friends Reunion</p>
<p>Hi Guys, Wassup!</p>
</div>
</div>
<div class="Profile-Settings-setup">
<ul>
<li><img src="image/profile_setting.png" alt="" id="profile"> <span>Profile.</span></li>
<li><img src="image/editprofile.png" alt=""> <span>Edit Profile Name.</span></li>
<li><img src="image/editstatus.png" alt=""> <span>Edit Profile Status Info.</span></li>
<li><img src="image/Edit_Profile_Photo..png" alt=""> <span>Edit Profile Photo.</span></li>
<li><img src="image/help_setting.png" alt=""> <span>Help.</span></li>
<li><img src="image/share_setting.png" alt=""> <span>Invite.</span></li>
</ul>
</div>
</div>
<div class="Account-Settings">
<p>Profile Settings</p>
<div class="item">
<img src="image/Ellipse 1.png" alt="">
<div class="content">
<p class="friends">Friends Reunion</p>
<p>Hi Guys, Wassup!</p>
</div>
</div>
<div class="Profile-Settings-setup">
<ul>
<li><img src="image/profile_setting.png" alt=""> <span>Profile.</span></li>
<li><img src="image/editprofile.png" alt=""> <span>Edit Profile Name.</span></li>
<li><img src="image/editstatus.png" alt=""> <span>Edit Profile Status Info.</span></li>
<li><img src="image/Edit_Profile_Photo..png" alt=""> <span>Edit Profile Photo.</span></li>
<li><img src="image/help_setting.png" alt=""> <span>Help.</span></li>
<li><img src="image/share_setting.png" alt=""> <span>Invite.</span></li>
</ul>
</div>
</div>
<div class="modal hide update">
<div class="profile-update modal-content ">
<div class="profile-introduct center">
<h3>Cập nhập thông tin</h3>
<button class="modal-close">Đóng</button>
</div>
<div class="profile-image center">
<img src="image/Ellipse 1.png" alt="">
<p>tên hiển thị</p>
<form action="">
<input type="text">
</form>
</div>
<div class="profile-infor">
<p>Thông tin cá nhân</p>
<div class="profile-infor-detail">
<div>
<p>Giới tính</p>
<input type="checkbox" name="male">Nam
<input type="checkbox" name="male">Nữ
</div>
<div>
<p>Ngày sinh</p>
<input type="date">
</div>
</div>
<div class="profile-change">
<!-- <button id="update-infor">Hoàn thành</button> -->
</div>
</div>
</div>
</div>
<div class="modal hide">
<div class="profile modal-content">
<div class="profile-introduct center">
<h3>Thông tin tài khoản</h3>
<button class="modal-close">Đóng</button>
</div>
<div class="profile-image center">
<img src="image/Ellipse 1.png" alt="">
<p>Nguyễn văn long</p>
</div>
<div class="profile-infor">
<p>Thông tin cá nhân</p>
<div class="profile-infor-detail">
<div>
<p>Số điện thoại</p> <span>0123456789</span>
</div>
<div >
<p>Giới tính</p> <span>Nam</span>
</div>
<div>
<p>Ngày sinh</p> <span>1/2/2022</span>
</div>
</div>
</div>
<div class="profile-change">
<button id="update-infor">Cập nhập thông tin</button>
</div>
</div>
</div>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script>
const $menu = $('.modal-content')
const onMouseUp = e => {
if (!$menu.is(e.target) // If the target of the click isn't the container...
&& $menu.has(e.target).length === 0) // ... or a descendant of the container.
{
$('.modal-content').parent().addClass('hide')
}
}
$(document).on('mouseup', onMouseUp)
$(document).ready(function(){
$('#profile').click(function(){
$('.profile').parent().toggleClass('hide')
})
$('#update-infor').click(function(){
$('.profile-update').parent().toggleClass('hide')
})
$('.modal-close').click(function() {
$(this).parent().parent().parent().addClass('hide')
})
})
</script>
</html>