-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchatpage.html
More file actions
164 lines (157 loc) · 9.17 KB
/
chatpage.html
File metadata and controls
164 lines (157 loc) · 9.17 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
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Chat-App | chats</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link href="global_style.css" rel="stylesheet">
<link href="chatpage.css" rel="stylesheet">
</head>
<body>
<div class="top">
<div class="container-fluid">
<div class="row">
<div class="col-md-3">
<div class="card" id="chat-card">
<div class="d-flex flex-column align-items-center mb-3">
<h1 class="mb-3">Chats</h1>
<img src="profile_pics/my_pic.png" class="rounded-circle mb-3" alt="Your Image" width="100"
height="100">
<button type="button" class="btn btn-primary" data-toggle="modal"
data-target="#addContactModal">+</button>
<div class="modal fade" id="addContactModal" tabindex="-1" role="dialog"
aria-labelledby="addContactModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="addContactModalLabel">Add new contact</h5>
<button type="button" class="btn-close" data-dismiss="modal"
aria-label="Close">
</button>
</div>
<div class="modal-body">
<form>
<div class="mb-3 input-group">
<input type="text" class="form-control" placeholder="Enter name"
name="name">
<button type="submit" class="btn btn-primary">Add</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<form class="mb-3">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search" name="search">
<button class="btn btn-primary" type="submit"><i class="fa fa-search"></i></button>
</div>
</form>
<ul class="list-group">
<!-- Add more list items as needed -->
<li class="list-group-item list-group-item-action">
<img src="profile_pics/p1.png" alt="Your Image" class="rounded-circle me-3" width="50"
height="50">
<div>
<h5 class="mb-1">Sapir Mosi</h5>
<small>12/1/2023 16:45</small>
<p class="mb-0">Hey!!!</p>
</div>
</li>
<li class="list-group-item list-group-item-action">
<img class="chat-icon" src="profile_pics/p2.png" alt="Your Image" class="rounded-circle me-3" width="50"
height="50">
<div>
<h5 class="mb-1">Ido Moshe</h5>
<small>12/1/2023 16:45</small>
<p class="mb-0">You: Are you coming today?</p>
</div>
</li>
<li class="list-group-item list-group-item-action">
<img class="chat-icon" src="profile_pics/p3.png" alt="Your Image" class="rounded-circle me-3" width="50"
height="50">
<div>
<h5 class="mb-1">Yoav Raz</h5>
<small>12/1/2023 16:45</small>
<p class="mb-0">You: What? No way!</p>
</div>
</li>
<li class="list-group-item list-group-item-action">
<img class="chat-icon" src="profile_pics/p4.png" alt="Your Image" class="rounded-circle me-3" width="50"
height="50">
<div>
<h5 class="mb-1">Shira Dan</h5>
<small>12/1/2023 16:45</small>
<p class="mb-0">Shira: I love that song</p>
</div>
</li>
<li class="list-group-item list-group-item-action">
<img class="chat-icon" src="profile_pics/p5.png" alt="Your Image" class="rounded-circle me-3" width="50"
height="50">
<div>
<h5 class="mb-1">Sara Paz</h5>
<small>12/1/2023 16:45</small>
<p class="mb-0">You: Are you going to the party?</p>
</div>
</li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="card">
<div class="card-header">
<img src="profile_pics/p2.png" alt="contact-image" class="rounded-circle me-3" width="50"
height="50">
<h5>Hami Horworitz</h5>
</div>
<div class="card-body">
<div class="mb-3">
<div class="d-flex flex-column align-items-end">
<span class="badge bg-primary">This is a sent message</span>
</div>
</div>
<div class="mb-3">
<div class="d-flex flex-column align-items-start">
<span class="badge bg-secondary">This is a received message</span>
</div>
</div>
<div class="mb-3">
<div class="d-flex flex-column align-items-end">
<span class="badge bg-primary">Another sent message</span>
</div>
</div>
<div class="mb-3">
<div class="d-flex flex-column align-items-end">
<span class="badge bg-primary">Another sent message</span>
</div>
</div>
</div>
<div class="card-footer">
<form class="input-message">
<div class="input-group">
<input name="usermsg" type="text" class="form-control" id="usermsg"
placeholder="Type your message">
<button type="submit" class="btn btn-primary"><i class="fa fa-send"></i></button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"
integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"
integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ"
crossorigin="anonymous"></script>
</body>
</html>