forked from soumitha18/Masai_sprint_5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
random.html
103 lines (92 loc) · 4.24 KB
/
random.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style/style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</head>
<body>
<nav class="bg-light p-2 sticky-top">
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-6 col-lg-3" id="index">
<h3 class="text-secondary font-weight-bolder">MASAIGRAM</h3>
</div>
<div class="col-sm-12 offset-sm-0 offset-md-0 offset-lg-7 col-md-6 col-lg-2 offset-1 mt-1">
<div class="row">
<div class="col-4 text-center" id="home">
<img src="https://image.flaticon.com/icons/svg/1946/1946488.svg" class="imgWidth">
</div>
<div class="col-4 text-center" id="random">
<img src="https://image.flaticon.com/icons/svg/860/860806.svg" class="active">
</div>
<div class="col-4 text-center" id="profile">
<img id="userProfile" class="rounded-circle picture">
</div>
</div>
</div>
</div>
</div>
</nav>
<div class="container pt-3">
<div class="row">
<div class="h2 text-secondary offset-2 col-4 font-weight-bold">
Explore
</div>
<div class="offset-1 pl-lg-5 col-5">
<span class="font-weight-bold">Sort :</span>
<select id="sort" class="p-1">Sort here
<option value="" selected>Latest</option>
<option value="likes">Most Liked</option>
<option value="comments">Most Comments</option>
</select>
</div>
</div>
</div>
<div class="container" id="width">
<div class="row px-5">
<div id="posters" class="px-5">
</div>
</div>
</div>
<div class="modal fade" id="commentModal" tabindex="-1" role="dialog" aria-labelledby="commentModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="commentModalLabel">Write Your Comment Here</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="" class="addCommentForm" id="addCommentForm">
<textarea id="comment" name="comment" class="inputText"></textarea>
<button class="btn btn-primary p-2" type="submit">Comment</button>
</form>
<div class="mt-2">
<h5>Comments</h5>
<ul class="list-group list-group-flush" id="comments">
</ul>
</div>
</div>
</div>
</div>
</div>
<script src="js/app.js"></script>
<script src="js/random.js"></script>
<script src="js/navLocation.js"></script>
</body>
</html>