-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (60 loc) · 3.3 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
<!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">
<link rel="stylesheet" href=".\css\styles.css">
<title>Films V2</title>
</head>
<body>
<header>
<h1>Film Picker</h1>
<p>A site to select requirements for a film, to get a random selection from your tmdb watchlist.</p>
</header>
<main>
<section class="intro center">
<header><h2>First Steps</h2></header>
<form class="auth">
<label for="approve">To start off make sure you have a <a href="https://www.themoviedb.org/signup">TMDB</a> account, with a relevant watchlist. Then click authorise to allow the upload of your list</label>
<button type="submit" class="button" id="approve">Authorise</button>
</form>
</section>
<section class="intro center hide">
<header><h2>Watchlist</h2></header>
<form class="session">
<label for="session">Now authorised, you can now upload your TMDB watchlist</label>
<button type="submit" class="button" id="session">Upload</button>
</form>
</section>
<section class="intro center hide">
<header><h2>Submit Choices</h2></header>
<p>Now your watchlist is uploaded, make decisions based on the form below to get random films from your watchlist.</p>
<form class="picker">
<!-- <label for="runtime">Maximum runtime in minutes (0 for any length)</label>
<input id="runtime" type="number" name="runtime" /> -->
<label for="genre">Select Genre</label>
<select id="genre" name="genre_ids">
<option value="any-genre">Any Genre</option>
</select>
<label for="language">Select Language</label>
<select id="language" name="original_language">
<option value="any-lang">Any Language</option>
</select>
<label for="decade">Select Decade</label>
<select id="decade" name="release_date">
<option value="any-decade">Any Decade</option>
</select>
<label for="returned">Enter the number of films to be returned</label>
<input id="returned" type="number" name="number_returned" value="1" min="1"/>
<button type="submit" class="button" id="pick-btn">Submit Choices</button>
</form>
</section>
<section class="results center grid width-lg"></section>
<overlay class="overlay grid"></overlay>
</main>
<footer class=""><img src="https://www.themoviedb.org/assets/2/v4/logos/v2/blue_square_1-5bdc75aaebeb75dc7ae79426ddd9be3b2be1e342510f8202baf6bffa71d7f5c4.svg" alt="TMDB Logo for attribution"><p>"This product uses the <a href="https://developers.themoviedb.org/3/getting-started/introduction">TMDB API</a> but is not endorsed or certified by <a href="https://www.themoviedb.org/">TMDB</a>."</p></footer>
<script src=".\js\objects.js"></script>
<script src=".\js\script.js"></script>
</body>
</html>