forked from zmaxlwz/Workshop3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
facebook.html
469 lines (460 loc) · 19.3 KB
/
facebook.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
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
<!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">
<!-- The above 3 meta tags *must* come first in the head;
any other head content must come *after* these tags -->
<title>Facebook</title>
<!-- Bootstrap's CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/facebook.css" rel="stylesheet">
</head>
<body>
<!-- Our Facebook layout will go here. -->
<nav class="navbar navbar-fixed-top navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed navbar-btn" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">
<span class="glyphicon glyphicon-home"></span>
</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<form class="navbar-form navbar-left" role="search">
<div class="input-group">
<input type="text" class="form-control fb-search" placeholder="Search Facebook">
<span class="input-group-btn">
<button type="submit" class="btn btn-default">
<span class="glyphicon glyphicon-search"></span>
</button>
</span>
</div>
</form>
<div class="nav navbar-nav navbar-right">
<!-- Right-aligned items -->
<div class="btn-toolbar pull-right" role="toolbar">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default navbar-btn">
John
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default navbar-btn">
Home
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default navbar-btn fb-notifications">
<span class="glyphicon glyphicon-user"></span>
<span class="badge">5</span>
</button>
<button type="button" class="btn btn-default navbar-btn fb-notifications">
<span class="glyphicon glyphicon-comment"></span>
<span class="badge">1</span>
</button>
<button type="button" class="btn btn-default navbar-btn fb-notifications">
<span class="glyphicon glyphicon-globe"></span>
<span class="badge">3</span>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default navbar-btn">
<span class="glyphicon glyphicon-lock"></span>
</button>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default dropdown-toggle navbar-btn"
data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">Log out...</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</nav>
<!-- The container for our grid. The outermost grid must be placed within
a `container` or `container-fluid` class. (Meaning: If you nest a grid
within a grid, you should not define another `container`)
What's the difference between these two types of container? There's a
good answer here: http://stackoverflow.com/a/22263969 -->
<div class="container">
<div class="chat-popup">
<div class="container-fluid">
<div class="row">
<div class="col-md-8">
<span class="green">●</span> Chat (32)
</div>
<div class="col-md-4">
<div class="btn-group pull-right" role="group">
<button type="button" class="btn btn-xs">
<span class="glyphicon glyphicon-pencil"></span>
</button>
<button type="button" class="btn btn-xs">
<span class="glyphicon glyphicon-asterisk"></span>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- The row that contains the three main columns of the website. -->
<div class="row">
<!-- Left sidebar: A cell that spans 2 columns -->
<div class="col-md-2 fb-left-sidebar">
<ul class="nav nav-pills nav-stacked">
<li role="presentation"><a href="#">John Vilk</a></li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-pencil"></span>
Edit Profile</a>
</li>
<li role="presentation">FAVORITES</li>
<li role="presentation" class="active">
<a href="#"><span class="glyphicon glyphicon-list-alt"></span>
News Feed</a>
</li>
<li role="presentation">
<a href="#">
<span class="glyphicon glyphicon-comment"></span> Messages
<span class="badge pull-right">7</span>
</a>
</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-calendar"></span>
Events</a>
</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-picture"></span>
Photos</a>
</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-gift"></span>
Gifts</a>
</li>
<!-- "Saved" also has a number beside it. -->
<li role="presentation">
<a href="#">
<span class="glyphicon glyphicon-bookmark"></span>
Saved
<span class="badge pull-right">2</span>
</a>
</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-tags"></span>
Sale Groups</a>
</li>
<li role="presentation">PAGES</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-plus"></span>
Create Page</a>
</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-signal"></span>
Create Ad</a>
</li>
<li role="presentation">GROUPS</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-plus"></span>
Create Group</a>
</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-user"></span>
New Groups</a>
</li>
<li role="presentation">FRIENDS</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-pushpin"></span>
Amherst, MA</a>
</li>
</ul>
</div>
<!-- Main feed: A cell that spans 7 columns -->
<div class="col-md-7">
<div class="panel panel-default fb-status-update-entry">
<div class="panel-body">
<ul class="nav nav-pills">
<li role="presentation" class="active">
<a href="#"><span class="glyphicon glyphicon-pencil">
</span> <strong>Update Status</strong></a>
</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-picture"></span>
<strong>Add Photos/Video</strong></a>
</li>
<li role="presentation">
<a href="#"><span class="glyphicon glyphicon-th"></span>
<strong>Create Photo Album</strong></a>
</li>
</ul>
<div class="media">
<div class="media-left media-top">
PIC
</div>
<div class="media-body">
<div class="form-group">
<textarea class="form-control" rows="2" placeholder="What's on your mind?"></textarea>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default">
<span class="glyphicon glyphicon-camera"></span>
</button>
<button type="button" class="btn btn-default">
<span class="glyphicon glyphicon-user"></span>
</button>
<button type="button" class="btn btn-default">
<span class="glyphicon glyphicon-heart">
</span>
</button>
<button type="button" class="btn btn-default">
<span class="glyphicon glyphicon-pushpin"></span>
</button>
</div>
</div>
<div class="col-md-6">
<div class="pull-right">
<button type="button" class="btn btn-default">
<span class="glyphicon glyphicon-user"></span>
Friends <span class="caret"></span>
</button>
<button type="button" class="btn btn-default">
Post
</button>
</div>
</div>
</div>
</div>
</div>
<!--Status Update -->
<div class="panel panel-default">
<div class="panel-body fb-status-update">
<!-- Post metadata -->
<div class="row">
<div class="col-md-10">
<div class="media">
<div class="media-left media-top">
PIC
</div>
<div class="media-body">
<a href="#">Someone</a>
<br> Yesterday at 3:48pm · Austin, TX ·
<span class="glyphicon glyphicon-user"></span>
</div>
</div>
</div>
<div class="col-md-2">
<span class="caret pull-right"></span>
</div>
</div>
<!-- Post content -->
<div class="row">
<div class="col-md-12">
ugh.
</div>
</div>
<hr>
<!-- Like, Comment, Share! -->
<div class="row">
<div class="col-md-12">
<ul class="list-inline">
<li>
<a href="#"><span class="glyphicon glyphicon-thumbs-up">
</span> Like</a>
</li>
<li>
<a href="#"><span class="glyphicon glyphicon-comment">
</span> Comment</a>
</li>
<li>
<a href="#"><span class="glyphicon glyphicon-share-alt">
</span> Share</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Comment Thread -->
<div class="panel-footer fb-status-update">
<div class="row">
<div class="col-md-12">
<a href="#">13 people</a> like this
</div>
</div>
<hr>
<ul class="media-list">
<li class="media">
<div class="media-left media-top">
PIC
</div>
<div class="media-body">
<a href="#">Someone Else</a> hope everything is ok!
<br><a href="#">Like</a> · <a href="#">Reply</a> · 20 hrs
</div>
</li>
<li class="media">
<div class="media-left media-top">
PIC
</div>
<div class="media-body">
<a href="#">Another Person</a> sending hugs your way
<br><a href="#">Like</a> · <a href="#">Reply</a> · 20 hrs
</div>
</li>
<li class="media">
<div class="media-left media-top">
PIC
</div>
<div class="media-body">
<div class="input-group">
<input type="text" class="form-control"
placeholder="Write a comment...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">
<span class="glyphicon glyphicon-camera"></span>
</button>
<button class="btn btn-default" type="button">
<span class="glyphicon glyphicon-heart">
</span>
</button>
</span>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<!-- Right sidebar: A cell that spans 3 columns -->
<div class="col-md-3 fb-right-sidebar">
<div class="row">
<div class="col-md-12">
<a href="#" class="pull-right">
<span class="glyphicon glyphicon-download-alt"></span>
</a>
</div>
</div>
<!-- Birthday -->
<div class="row">
<div class="col-md-12">
<span class="glyphicon glyphicon-gift"></span>
<a href="#">Zak</a> and <a href="#">1 other</a>
</div>
</div>
<!-- Trending -->
<div class="row">
<div class="col-md-12 fb-trending">
<div class="row">
<div class="col-md-4 fb-trending-title">
TRENDING
</div>
<div class="col-md-8">
<ul class="nav nav-pills">
<li role="presentation" class="active">
<a href="#"><span class="glyphicon glyphicon-flash"></span></a>
</li>
<li role="presentation"><a href="#">
<span class="glyphicon glyphicon-tower"></span>
</a></li>
<li role="presentation"><a href="#">
<span class="glyphicon glyphicon-sunglasses"></span>
</a></li>
<li role="presentation"><a href="#">
<span class="glyphicon glyphicon-record"></span>
</a></li>
<li role="presentation"><a href="#">
<span class="glyphicon glyphicon-facetime-video"></span>
</a></li>
</ul>
</div>
</div> <!--row first child -->
<div class="row">
<div class="col-md-12">
<ul class="media-list">
<li class="media">
<div class="media-left media-top">
<span class="glyphicon glyphicon-flash"></span>
</div>
<div class="media-body">
<a href="#">George Lucas</a>: Filmmaker Criticizes New
"Star Wars" Film and Direction of Franchise Under
Disney
</div>
</li>
<li class="media">
<div class="media-left media-top">
<span class="glyphicon glyphicon-flash"></span>
</div>
<div class="media-body">
<a href="#">Super Smash Bros.</a>: Game Glitch Allows
Players to Control 8 Characters With 1 Controller
</div>
</li>
<li class="media">
<div class="media-left media-top">
<span class="glyphicon glyphicon-flash"></span>
</div>
<div class="media-body">
<a href="#">Tuukka Rask</a>: Boston Bruins Player
Debuts Goalie Mask for Winter Classic
</div>
</li>
<li class="media">
<div class="media-left media-top">
<span class="caret"></span>
</div>
<div class="media-body">
<a href="#">See More</a>
</div>
</li>
</ul>
</div>
</div>
</div><!--col-md-12 -->
</div> <!-- ends entire trending row -->
<!-- Suggested Pages -->
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-8">
SUGGESTED PAGES
</div>
<div class="col-md-4">
<a href="#" class="pull-right">See All</a>
</div>
</div>
<div class="row">
<div class="col-md-12">
<img src="img/falafel.jpg" width="100%" />
<br><a href="#">Pita Pocket's</a>
<br> Mediterranean Restaurant · 301 likes
<br><button type="button" class="btn btn-default">
<span class="glyphicon glyphicon-thumbs-up">
</span> Like Page</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Include all compiled plugins (below),
or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>