-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
257 lines (244 loc) · 12.5 KB
/
main.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<link href="./img/favicon.ico" rel="icon" type="image/x-icon">
<link href="./css/style.css" rel="stylesheet">
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" rel="stylesheet">
<title>Mango Messenger</title>
</head>
<body class="d-flex">
<div class="menu" id="menu">
<nav class="navigation-bar p-2">
<div class="logo p-1">
<img alt="Mango Logo" height="40" src="./img/logo.png" width="40">
</div>
<ul class="text-center menu-buttons">
<li>
<a href="#">
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path class="path active"
d="M17 8h2a2 2 0 012 2v6a2 2 0 01-2 2h-2v4l-4-4H9a1.994 1.994 0 01-1.414-.586m0 0L11 14h4a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2v4l.586-.586z"
stroke-linecap="round" stroke-linejoin="round"
stroke-width="2"/>
</svg>
</a>
</li>
<li>
<a href="#">
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path class="path"
d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"
stroke-linecap="round" stroke-linejoin="round"
stroke-width="2"/>
</svg>
</a>
</li>
<li>
<a href="#">
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path class="path"
d="M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"
stroke-linecap="round" stroke-linejoin="round"
stroke-width="2"/>
</svg>
</a>
</li>
</ul>
</nav>
<aside class="sidebar">
<header class="sidebar-header p-3">
<div class="d-flex justify-content-between align-items-center">
<h5>Chats</h5>
<button class="button-dark p-2">
Create Group
</button>
</div>
<div class="d-flex justify-content-between mt-2">
<div class="dropdown">
<button class="dropdown-toggle p-2 button-dark" data-toggle="dropdown" href="#">All
chats
</button>
<div aria-labelledby="dLabel" class="dropdown-menu mt-0" role="menu">
<div class="dropdown-item">All chats</div>
<div class="dropdown-item">Groups</div>
<div class="dropdown-item">Direct chats</div>
<div class="dropdown-item">Archived</div>
</div>
</div>
<div class="d-inline">
<div class="input-group mb-3 ">
<label for="searchBar"></label>
<input aria-describedby="basic-addon1" class="form-control ml-3" id="searchBar" name="searchBar"
placeholder="Search chats..."
type="text">
<div class="input-group-prepend">
<button class="input-group-text" id="basic-addon1">
<img alt=" Search Icon" src="./svg/search-icon.svg"/>
</button>
</div>
</div>
</div>
</div>
</header>
<ul class="list overflow py-3 px-2">
<li class="active">
<img alt="Chat avatar" class="avatar" src="./img/chat-avatar.png">
<div class="content">
<div class="title">
<img alt="Group Icon" class="mr-2" height="16" src="./svg/group.svg" width="16">
<div class="info">
<p>
chatnamehmfdgnkjdfghjdkgjjdfgjksdhgjkdhgk;ldfshgjldhsgjkldsfhjghldflkgjdfslghdfjklghfdjsklghfdjsklghjksldf
</p>
<div>12:35</div>
</div>
</div>
<div class="message">
<b>Nickname: </b>gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
</div>
</div>
</li>
<li>
<img alt="Chat avatar" class="avatar" src="./img/chat-avatar.png">
<div class="content">
<div class="title">
<img alt="Group Icon" class="mr-2" height="16" src="./svg/group.svg" width="16">
<div class="info">
<p>
chatnamehmfdgnkjdfghjdkgjjdfgjksdhgjkdhgk;ldfshgjldhsgjkldsfhjghldflkgjdfslghdfjklghfdjsklghfdjsklghjksldf
</p>
<div>12:35</div>
</div>
</div>
<div class="message">
<b>Nickname: </b>gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
</div>
</div>
</li>
</ul>
</aside>
</div>
<main class="chat" id="chat">
<div class="chat-layout">
<div class="chat-header">
<img alt="Chat Avatar" class="avatar" src="./img/chat-avatar.png"/>
<div class="chat-info ml-2">
<div class="chat-description">
<span class="chat-name">fasfsdaf</span>
<span>fsadsaf</span>
<span>2 members</span>
</div>
<div class="chat-actions">
<button class="button-dark">
<img alt="Search Icon" src="./svg/search-icon.svg"/>
</button>
<div class="dropdown">
<button aria-expanded="false" aria-haspopup="true" class="button-dark" data-toggle="dropdown"
role="button" title="Details">
<img alt="Vertical Dots" src="./svg/dots-vertical.svg"/>
</button>
<div class="dropdown-menu dropdown-menu-right">
<div class="dropdown-item" data-target="#startConversation" data-toggle="modal"
role="button">
<img alt="Archive Icon" class="mr-1" src="./svg/archive.svg">
<span>Archive Chat</span>
</div>
<div class="dropdown-item" data-target="#createGroup" data-toggle="modal" role="button">
<img alt="Leave Chat Icon" class="mr-1" src="./svg/trash.svg">
<span class="text-red">Leave Chat</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="chat-messages overflow background-pattern ">
<ul>
<li class="message">
<div class="message-layout">
<img alt="User Avatar" class="user-avatar" src="./img/razumovsky_picture.jpg"/>
<div class="message-wrapper">
<div class="message-content">
testttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttаааааа
</div>
<div class="message-options">
<p class="message-time mr-2">12:56</p>
<div class="message-button">
<img alt="Reply Icon" src="./svg/reply.svg">
</div>
</div>
</div>
</div>
</li>
<li class="message self">
<div class="message-layout">
<img alt="User Avatar" class="user-avatar" src="./img/razumovsky_picture.jpg"/>
<div class="message-wrapper">
<div class="message-content">
fdgsdsfgfsgsdfgfdsg
</div>
<div class="message-options">
<p class="message-time">12:56</p>
<button class="message-button mr-2">
<img alt="Reply Icon" src="./svg/reply.svg">
</button>
<div class="dropdown">
<button aria-expanded="false" aria-haspopup="true" class="message-button mr-2"
data-toggle="dropdown" role="button" title="Details">
<img alt="Horizontal Dots" src="./svg/dots-horizontal.svg"/>
</button>
<div class="dropdown-menu">
<div class="dropdown-item" data-target="#startConversation" data-toggle="modal"
role="button">
<img alt="Edit Icon" class="mr-1" src="./svg/edit.svg">
<span>Edit</span>
</div>
<div class="dropdown-item" data-target="#createGroup" data-toggle="modal"
role="button">
<img alt="Delete Message Icon" class="mr-1" src="./svg/trash.svg">
<span class="text-red">Delete</span>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="chat-footer">
<div class="dropdown">
<button aria-expanded="false" aria-haspopup="true" class="button-dark align-text-top"
data-toggle="dropdown">
<img alt="Attach icon" src="./svg/attach.svg">
</button>
<div class="dropdown-menu">
<div class="dropdown-item">
<input id="attachment" type="file">
</div>
</div>
</div>
<button class="button-dark mr-2">
<img alt="Emoji Icon" src="./svg/emoji.svg">
</button>
<textarea class="message-input overflow" placeholder="Write message..."></textarea>
<button class="send-message">
<img alt="Arrow Right Icon" src="./svg/arrow-right.svg">
</button>
</div>
</div>
</main>
<script crossorigin="anonymous"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script crossorigin="anonymous"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script crossorigin="anonymous"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
</body>
</html>