forked from eeast/Dude-Wheres-My-Show
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
162 lines (140 loc) · 7.1 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
<!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.0">
<!-- Materialize CSS link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!-- Google Icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- CSS -->
<link rel="stylesheet" href="./assets/css/style.css">
<title>Dude, Where's My Show?</title>
</head>
<body>
<nav class="main-nav">
<div class="nav-wrapper">
<a href="#" class="brand-logo center"><span class="title">Dude, Where's My Show?</span></a>
<ul id="nav-mobile" class="left">
<li>
<a href="about.html"><i class="material-icons left">group</i><span class="about-text">About</span></a>
</li>
</ul>
</div>
</nav>
<div class="searchregion">
<!-- Search button + modal(below) - centered on bar, large button -->
<input id="main-search-input" type="text" placeholder="Enter search here" class="text-white"></input>
<button class="btn-large btn accent-2 waves-effect waves-light hoverable" id="main-search-button" type="submit"
value="submit">Search</button>
<!-- Adv Search Modal Trigger -->
<a class="modal-trigger btn-large btn #FFD166 accent-2 waves-effect waves-light hoverable" id="adv-search-btn"
href="#modal1">Advanced Search</a>
<!-- Adv Search Modal Structure -->
<div id="modal1" class="modal">
<div class="modal-content">
<h4>Advanced Search</h4>
<input class="modal-input-text" id="modal-input-text" type="text" placeholder="Enter search here"></input>
<!-- Country Select dropdown -->
<div class="input-field col s12">
<select id="country-dropdown">
<option value="" disabled selected>Choose country</option>
<option value="us">USA</option>
<option value="ca">Canada</option>
<option value="mx">Mexico</option>
</select>
<label id="advanced-label-1">Country</label>
</div>
<!-- Type Select dropdown -->
<div class="input-field col s12">
<select id="type-dropdown">
<option value="" disabled selected>Choose type</option>
<option value="movie">Movie</option>
<option value="series">Series</option>
<option value="all">All</option>
</select>
<label id="advanced-label-2">Type</label>
</div>
<!-- Language Select dropdown -->
<div class="input-field col s12">
<select id="language-dropdown">
<option value="" disabled selected>Choose language</option>
<option value="en">English</option>
<option value="es">Spanish</option>
<option value="fr">French</option>
</select>
<label id="advanced-label-3">Language</label>
</div>
</div>
<div class="modal-footer">
<a id="modal1-close-button" href="#modal1" class="modal-close waves-effect waves-green btn-flat">Close</a>
<a id="modal1-search-button" href="#modal1" class="modal-close waves-effect waves-green btn-flat">Search</a>
</div>
</div>
<!-- YouTube Modal Trigger -->
<a id = "youtube-btn" class="waves-effect waves-light btn btn-large accent-2 modal-trigger" href="#modal2">Youtube Trailer</a>
<!-- YouTube Modal Structure -->
<div id="modal2" class="modal valign-wrapper" style="background-color: black;">
<!-- Potential close window for youtube trailer -->
<!-- <div class="modal-fixed-footer">
<a id="modal1-close-button" href="#modal1" class="modal-close waves-effect waves-green btn-flat">X</a>
</div> -->
<iframe
id="YT-iframe"
class="center-align"
width="100%"
height="600"
src=""
title="YouTube trailer"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
></iframe>
</div>
</div>
<!-- Other links (tbd) - top right corner -->
<!-- Welcome and description/Search results - stretch 80% -->
<main>
<div class="row" id="movie-container">
<div class="col s12 m12 l8 flow-text">
<section class="row">
<!-- movie poster -->
<div id="poster-box">
<div class="col s12 m4 l4" id="movie-poster">
</div>
</div>
<!-- movie info (title, year, runtime, services) -->
<div class="col s12 m8 l8" id="movie-info">
<h3 id="movie-title"></h3>
<p id="year"></p>
<p id="runtime"></p>
<!-- favorites btn -->
<button class="sml-large btn #FFD166 accent-2 waves-effect waves-light hoverable" type="button" id="addFavorite">Add To Favorites</button>
<h4>Streaming Services:</h4>
<div id="services">
</div>
</div>
</section>
</div>
<div id="aside" class="col s12 m12 l4">
<!-- Favorites and Search History - stretch 20% -->
<aside>
<h6 Favorites class="aside-title">Favorites</h6>
<ul id ="favorites" style="list-style: none;" title="Favorites"></ul>
<h6 class="aside-title" >Search History</h6>
<ul id ="searchHist" style="list-style: none;" title="searchHist"></ul>
<div><a class="btn-small history-btn" id="clearSearch">Clear Search</a></div>
</aside>
</div>
</div>
</main>
<!-- About us/contact info -->
<footer></footer>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<!-- <script src="./assets/js/config.js"></script> -->
<script src="./assets/js/script.js"></script>
</body>
</html>