-
Notifications
You must be signed in to change notification settings - Fork 0
/
detail.html
183 lines (172 loc) · 8.9 KB
/
detail.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Detail</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css"
integrity="sha256-t2kyTgkh+fZJYRET5l9Sjrrl4UDain5jxdbqe8ejO8A=" crossorigin="anonymous" />
<link rel="stylesheet" href="css/global.css">
<link rel="stylesheet" href="css/browse.css">
<link rel="stylesheet" href="css/single.css">
<script src="js/jquery-2.1.0.min.js"></script>
<script src="data.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;400&display=swap');
</style>
</head>
<body>
<main id="mainContainer" class="p-b-40">
<header class="d-flex space-between flex-center flex-middle">
<div class="nav-links d-flex flex-center flex-middle">
<a href="/">
<a href="browse.html"><h2 class="logo logo-text red-color f-s-28 m-r-25"><img src="images/icons/logo_header.PNG" height="50px" width="170px" alt="site logo main"></img></h2></a>
<a href="browse.html"><h1 class="second-logo-text red-color f-s-28"><img src="images/icons/logo_header2.PNG" height="40px" width="40px" alt="site logo main"></h1></a>
</a>
</div>
<div class="righticons d-flex flex-end flex-middle">
<a href="search.html"><img src="images/icons/search.svg" alt="search icon"></a>
<div class="dropdown notification">
<img src="images/icons/notification.svg" alt="notificatio icon">
<div class="dropdown-content">
<a href="#" class="profile-item d-flex flex-middle">
<img src="images/icons/user2.png" alt="user profile icon" class="user-icon">
<span>You have new notification from <span>User 123</span></span>
</a>
<a href="#" class="profile-item d-flex flex-middle">
<img src="images/icons/user1.png" alt="user profile icon" class="user-icon">
<span>You have new notification from <span>User 123</span></span>
</a>
<a href="#" class="profile-item d-flex flex-middle">
<img src="images/icons/user4.png" alt="user profile icon" class="user-icon">
<span>You have new notification from <span>User 123</span></span>
</a>
<a href="#" class="profile-item d-flex flex-middle">
<img src="images/icons/user3.png" alt="user profile icon" class="user-icon">
<span>You have new notification from <span>User 123</span></span>
</a>
</div>
</div>
<div class="dropdown">
<img src="images/icons/user-image-green.png" alt="user profile icon" class="user-icon"> <span class="profile-arrow"></span>
<div class="dropdown-content">
<div class="profile-links">
<a href="#" class="profile-item d-flex flex-middle">
<img src="images/icons/user1.png" alt="user profile icon" class="user-icon">
<span>Rajesh</span>
</a>
<a href="#" class="profile-item d-flex flex-middle">
<img src="images/icons/user2.png" alt="user profile icon" class="user-icon">
<span>Karan</span>
</a>
<a href="#" class="profile-item d-flex flex-middle">
<img src="images/icons/user3.png" alt="user profile icon" class="user-icon">
<span>Pappy</span>
</a>
<a href="#" class="profile-item d-flex flex-middle" style="margin-bottom: 13px;">
<img src="images/icons/user4.png" alt="user profile icon" class="user-icon">
<span>Denny</span>
</a>
<a href="#" class="profile-item last" >Manage Profiles</a>
</div>
<div class="line"></div>
<div class="links d-flex direction-column">
<a href="home.html">Account</a>
<a href="#">Help Center</a>
<a href="/">Sign Out of Netflix</a>
</div>
</div>
</div>
</div>
</header>
<!-- 포스터랑 색깔 -->
<section class="movieinformation container">
<div class="movielogo">
<script>
if(localStorage.getItem('idx')){
var idx = localStorage.getItem('idx');
}
getData(idx);
</script>
<!-- 영화 제목 -->
<h1 id="title" style="text-align: center; font-size: 30px;font-family: 'Noto Sans KR', sans-serif;"></h1>
</div>
<div class="movie-poster" style="height: auto; overflow: auto;">
<div class="left"><img id="img" alt="" style="width: 100%; height: auto;"></div>
<div class="right" style="height: auto;">
<div id="color1" class="color_pallete" ></div>
<div id="color2" class="color_pallete" ></div>
<div id="color3" class="color_pallete" ></div>
<div id="color4" class="color_pallete" ></div>
<div id="color5" class="color_pallete" ></div>
<div id="color6" class="color_pallete" ></div>
</div>
</div>
<!-- 재생 버튼 -->
<button class="button play" style="width: 100%; margin-bottom: 10px;" onclick="play()">
▶ 재생
</button>
<iframe id="url"class="youtube" style="display: none;" width="100%" height="315" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<br>
<!-- 정보 -->
<div class="castinformation">
<h3>영화정보</h3>
<p style="line-height: 1.1;" ><span class="name">개봉년도:</span>
<span id="year" style="font-size: 17px; font-weight: 200;"></span>
</p>
<p style="line-height: 1.1;" ><span class="name">장르:</span>
<span id="genre" style="font-size: 17px; font-weight: 200;"></span>
</p>
<p style="line-height: 1.1;"><span class="name">감독:</span>
<span id="director" style="font-size: 17px; font-weight: 200;"></span>
</p>
<p style="line-height: 1.1;"><span class="name">출연:</span>
<span id="actor" style="font-size: 17px; font-weight: 200;"></span>
</p>
</div>
<div>
<h3>줄거리</h3>
<p id="content" style="font-size: 17px; font-weight: 200;"></p>
</div>
</section>
</main>
<br>
<!-- 밑에 버튼 -->
<div class="footer-navigation d-flex space-between">
<a href="browse.html" class="nav-item">
<i class="fa fa-home" aria-hidden="true"></i> </br>
Home
</a>
<a href="search.html" class="nav-item">
<i class="fa fa-search" aria-hidden="true"></i></br>
Search
</a>
<a href="home.html" class="nav-item">
<i class="fa fa-film" aria-hidden="true"></i></br>
About
</a>
</div>
</body>
<script>
function play(){
var check = $(".play").html();
// console.log(check);
if(check=="닫기"){
// console.log(check);
$(".youtube").css("display","none");
$(".play").text("▶ 재생");
}
else{
$(".youtube").css("display","");
$(".play").text("닫기");
}
}
</script>
</html>