-
Notifications
You must be signed in to change notification settings - Fork 0
/
search_result.html
99 lines (89 loc) · 4.08 KB
/
search_result.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>search result</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
</head>
<style>
.search-result-displayer{
z-index:10;
position: fixed;
right:20px;
top:60px;
width:450px;
display:none;
overflow: auto;
background-color: #EEEEEE;
padding:5px;
min-height: 50px;
max-height:400px
}
.s-box{
padding:10px 20px;
text-decoration: none;
border-bottom: grey solid 1px;
color:black;
}
.s-box:hover{
background-color: rgb(182, 178, 178);
cursor: pointer;
}
</style>
<body>
<nav class="navbar navbar-expand navbar-dark sticky-top" style="background-color: #334257;">
<div class="container-fluid">
<span class="navbar-brand">DEV MoviLogue</span>
<form class="d-flex">
<input class="form-control me-2 p-2" style="width:450px" type="text" placeholder="Search" id="insta_searchbar">
</form>
</div>
</nav>
<div class="search-result-displayer text-center" id="srch-display"></div>
<div class="container-fluid py-2 text-center text-secondary">
<h1 class="display-3">Your Movie Details</h1>
<p class="text-warning">!!If the details doesnot show or only an image is showing then <br>
what you searched for is not a Movie.<br>
This application only shows details about movies .So anything else causes an Error!!</p>
</div>
<div class="container py-3">
<div class="row justify-content-center">
<div class="col-9">
<div class="card">
<img src="" class="card-img-top" id="film-img" height=304px>
<div class="card-body text-center " style="background-color:#476072;">
<h5 class="card-title text-white py-2" id="film-title"></h5>
<p class="card-text text-white pb-2" style="font-size:12px;" id=film-year></p>
<p class="card-text text-white py-4" style="font-size:16px;" id="film-plot"></p>
<p class="card-text text-white py-4" style="font-size:14px;" id="film-time"></p>
<a href="#" class="btn btn-secondary">Watch Now</a>
</div>
<div class="card-footer text-muted">
<div class="clearfix">
<span class="float-start">Ratings:<span id="film-rating"></span></span>
<span class="float-end me-2"><img src="star.svg" width=15px height=15px><span id="film-votes"></span></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid " style="background-color:#548CA8 ;">
<div class="row py-5">
<div class="col-12 my-2 col-sm-4 text-center text-white" style="font-weight: 500;letter-spacing:4px"> DEV MoviLogue </div>
<div class="col-12 my-2 col-sm-4 text-center text-white"> copyright ~ Ratan Kumar</div>
<div class="col-12 my-2 col-sm-4 text-center">
<img src="facebook.svg" class="mx-2" width=30px height=30px>
<img src="linkedin.svg" class="mx-2" width=30px height=30px>
<img src="twitter.svg" class="mx-2" width=30px height=30px>
</div>
</div>
</div>
<script src="imd_res.js">
</script>
</body>
</html>