-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
386 lines (382 loc) · 27 KB
/
index.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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap Grid Project</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container-fluid">
<div class="row my-row">
<!--Vertical navigation bar with message folders/categories -->
<div class="d-none d-sm-block col-sm dark-bckg3 vh-100 overflow-scroll" id="navbarCol">
<div class="mt-5">
<nav class="navbar navbar-expand-lg">
<div class="container-fluid d-flex flex-column">
<div class="navbar-nav d-flex flex-column align-items-center row-gap-5 w-50">
<a class="navbar-brand mx-1 mb-4" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="currentColor" class="bi bi-envelope" viewBox="0 0 16 16">
<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1zm13 2.383-4.708 2.825L15 11.105zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741M1 11.105l4.708-2.897L1 5.383z"/>
</svg>
</a>
<button class="d-xs-block d-sm-none navbar-toggler mx-4 border-light navbarToggleBtn" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<button type="button" class="btn btn-warning" data-bs-toggle="modal" data-bs-target="#staticBackdrop">Compose</button>
<button type="button" class="btn btn-outline-light" id="inbox-btn">Inbox</button>
<button type="button" class="btn btn-outline-light" id="tagged-btn">Tagged</button>
<button type="button" class="btn btn-outline-light" id="important-btn">Important</button>
<button type="button" class="btn btn-outline-light" id="sent-btn">Sent</button>
<button type="button" class="btn btn-outline-light" id="drafts-btn">Drafts</button>
<button type="button" class="btn btn-outline-light" id="trash-btn">Trash</button>
<button type="button" class="btn btn-light" data-bs-toggle="collapse" data-bs-target="#more-folders" aria-expanded="false" aria-controls="collapseExample">
More
</button>
<div class="collapse" id="more-folders">
<div class="card card-body dark-bckg3 d-flex flex-column row-gap-5 border-0">
<button type="button" class="btn btn-outline-light" id="scheduled-btn">Scheduled</button>
<button type="button" class="btn btn-outline-light" id="spam-btn">Spam</button>
</div>
</div>
</div>
</div>
</nav>
</div>
</div>
<!--Remaining two columns: Message List Column and Message Text Container Column -->
<div class="d-block d-sm-block col-sm-10 vh-100 overflow-scroll" id="nonNavbarCol">
<!--Search bar -->
<div class="row">
<nav class="navbar navbar-dark bg-dark w-100">
<form class="form-inline w-75 d-flex">
<button class="d-xs-block navbar-toggler mx-4 border-light navbarToggleBtn" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<input class="form-control mx-2 w-50" type="search" placeholder="Search for emails..." aria-label="Search">
<button class="btn btn-outline-light mx-2 my-2 my-sm-0" type="submit">Search   🔍</button>
</form>
</nav>
</div>
<div class="row">
<!--Message List Column: contains message list for each email folder-->
<div class="d-md-block col-md-6 dark-bckg1" id="message-list-col">
<!--Inbox messages list-->
<div class="email-list my-2 d-flex row-gap-3 flex-column vh-100 inbox">
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 1</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 1</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 1</h6>
<p class="card-text text-dark text-nowrap overflow-hidden">Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
Some quick example text to build on the card title and make up the bulk of the card's content...
</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 2</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 2</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 2</h6>
<p class="card-text text-dark">text 2</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 3</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 3</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 3</h6>
<p class="card-text text-dark">text 3</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 4</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 4</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 4</h6>
<p class="card-text text-dark">text 4</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 5</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 5</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 5</h6>
<p class="card-text text-dark">text 5</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 6</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 6</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 6</h6>
<p class="card-text text-dark">text 6</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 7</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 7</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 7</h6>
<p class="card-text text-dark">text 7</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 8</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 8</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 8</h6>
<p class="card-text text-dark">text 8</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 9</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 9</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 9</h6>
<p class="card-text text-dark">text 9</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 10</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 10</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 10</h6>
<p class="card-text text-dark">text 10</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Title 11</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name 11</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date 11</h6>
<p class="card-text text-dark">text 11</p>
</div>
</div>
</a>
</div>
<!--Tagged messages list-->
<div class="d-none email-list my-2 d-flex row-gap-3 flex-column vh-100 tagged">
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Tagged 1</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (tagged) 1</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (tagged) 1</h6>
<p class="card-text text-dark">text (tagged) 1</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Tagged 2</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (tagged) 2</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (tagged) 2</h6>
<p class="card-text text-dark">text (tagged) 2</p>
</div>
</div>
</a>
</div>
<!--Important messages list-->
<div class="d-none email-list my-2 d-flex row-gap-3 flex-column vh-100 important">
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Important 1</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (important) 1</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (important) 1</h6>
<p class="card-text text-dark">text (important) 1</p>
</div>
</div>
</a>
</div>
<!--Sent messages list-->
<div class="d-none email-list my-2 d-flex row-gap-3 flex-column vh-100 sent">
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Sent 1</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (sent) 1</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (sent) 1</h6>
<p class="card-text text-dark">text (sent) 1</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Sent 2</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (sent) 2</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (sent) 2</h6>
<p class="card-text text-dark">text (sent) 2</p>
</div>
</div>
</a>
</div>
<!--Drafts messages list-->
<div class="d-none email-list my-2 d-flex row-gap-3 flex-column vh-100 drafts">
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Drafts 1</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (drafts) 1</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (drafts) 1</h6>
<p class="card-text text-dark">text (drafts) 1</p>
</div>
</div>
</a>
</div>
<!--Trash messages list-->
<div class="d-none email-list my-2 d-flex row-gap-3 flex-column vh-100 trash">
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Trash 1</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (trash) 1</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (trash) 1</h6>
<p class="card-text text-dark">text (trash) 1</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Trash 2</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (trash) 2</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (trash) 2</h6>
<p class="card-text text-dark">text (trash) 2</p>
</div>
</div>
</a>
<a href="#" class="text-decoration-none">
<div class="card w-100">
<div class="card-body">
<h5 class="card-title">Trash 3</h5>
<h6 class="d-inline card-subtitle mb-2 text-muted">Sender name (trash) 3</h6>
<h6 class="d-inline card-subtitle mb-2 text-muted float-end">Date (trash) 3</h6>
<p class="card-text text-dark">text (trash) 3</p>
</div>
</div>
</a>
</div>
<!--Scheduled messages list-->
<div class="d-none email-list my-2 d-flex row-gap-3 flex-column vh-100 scheduled">
<h4>This folder is empty.</h4>
</div>
<!--Spam messages list-->
<div class="d-none email-list my-2 d-flex row-gap-3 flex-column vh-100 spam">
<h4>This folder is empty.</h4>
</div>
</div>
<!--Message body column: displays full email message received-->
<div class="d-none d-md-block col-md-6 dark-bckg2 p-4" id="message-body-col">
<div class="card w-100 vh-100 p-5 overflow-scroll">
<div class="card-header bg-transparent">
<h5 class="card-title text-center mb-5 fs-2" id="fullMsgTitle">Message title</h5>
</div>
<div class="card-body">
<h6 class="card-subtitle mb-2 text-muted fst-italic" id="fullMsgName">Sender name</h6>
<h6 class="card-subtitle mb-2 text-muted fst-italic">Sender email address</h6>
<h6 class="card-subtitle mb-2 text-muted fst-italic" id="fullMsgDate">Date when sent</h6>
<p class="card-text text-dark mt-5 fs-5 lh-lg" id="fullMsgBody">Some quick example text to build on the card title and make up the bulk of the card's content...
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
And more and more text... <br>
</p>
</div>
<div class="card-footer bg-transparent">
<button type="button" class="btn btn-dark float-end btn-lg mt-3" data-bs-toggle="modal" data-bs-target="#staticBackdrop">Reply</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- New message modal -->
<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content h-75">
<div class="modal-header flex-column row-gap-3">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<input class="form-control" id="new-msg-subject" aria-describedby="emailHelp" placeholder="Subject:">
<input type="email" class="form-control" id="new-msg-email" aria-describedby="emailHelp" placeholder="To:">
</div>
<div class="modal-body text-dark">
<form>
<div class="form-group">
<textarea class="form-control" id="exampleFormControlTextarea1" rows="19" placeholder="Type your message here..."></textarea>
</div>
</form>
</div>
<div class="modal-footer d-flex justify-content-between">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-dark">Send</button>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="script.js"></script>
</body>
</html>