-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
129 lines (122 loc) · 6.88 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
<!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">
<title>DateButler</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;800&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<header>
<h1 class="heading text-center text-white">DateButler</h1>
</header>
<p class="text-center" id="description">For date night suggestions type/select what you want to search for, then hit the find button. Save and load previous favorites using the save/load buttons. Leave fields blank for a random surprise. Enjoy!</p>
<div class="container">
<div class="row">
<!-- Meal card -->
<div class="col-12 cold-md-6 col-lg-4">
<div class="card">
<div class="mealDetails">
<img class="mx-auto d-block" id="mealPicture"><br>
<h5 class="card-title" id="mealTitle"></h5>
<a id="mealRecipe"></a>
</div>
<div class="card-body" id="mealNameDiv"><br>
<h5 class="card-title">Meal Suggestion</h5>
<p></p>
<input type="text" placeholder="enter food search here" id="mealName"/><br><br>
<button type="button" class="btn btn-danger btn-custom" id="mealNameSubmit">Find Meal</button>
<button type="button" class="btn btn-danger btn-custom" id="saveMeal">Save Meal</button>
<button type="button" class="btn btn-danger btn-custom" id="loadMeal">Load Meal</button>
<p class="saveFeedback" id="saveMealFeedback"></p>
</div>
</div>
</div>
<!-- Drink card -->
<div class="col-12 cold-md-6 col-lg-4">
<div class="card">
<div class="drinkDetails">
<img id="drinkImg" class="mx-auto d-block"><br>
<h5 id="drinkTitle"></h5>
<ul class="drinkIngredients" id="drinkIngredients"></ul>
<div id="drinkRecipeInfo"></div><br>
</div>
<div class="card-body" id="drinkNameDiv">
<h5 class="card-title">Cocktail Recipe</h5>
<p class="card-text" id="drinkRecipe"></p>
<input type=text placeholder="enter drink search here" id="drinkName"><br><br>
<button id="drinkNameSubmit" class="btn btn-danger btn-custom">Find Drink</button>
<button id="saveDrink" class="btn btn-danger btn-custom">Save Drink</button>
<button id="loadDrink" class="btn btn-danger btn-custom">Load Drink</button>
<p class="saveFeedback" id="saveDrinkFeedback"></p>
</div>
</div>
</div>
<!-- Movie card -->
<div class="col-12 cold-md-6 col-lg-4">
<div class="card">
<div id="movieDetails">
<img id="poster" class="mx-auto d-block"><br>
<h5 id="title"></h5>
<div id="overview"></div>
</div><br>
<h5 class="card-title">Movie Suggestion</h5>
<form>
<div>Movie Genre</div>
<select id="movieGenres">
<option value="28">Action</option>
<option value="12">Adventure</option>
<option value="16">Animation</option>
<option value="35">Comedy</option>
<option value="80">Crime</option>
<option value="99">Documentary</option>
<option value="18">Drama</option>
<option value="10751">Family</option>
<option value="14">Fantasy</option>
<option value="36">History</option>
<option value="27">Horror</option>
<option value="10402">Music</option>
<option value="9648">Mystery</option>
<option value="10749">Romance</option>
<option value="878">Science Fiction</option>
<option value="10770">TV Movie</option>
<option value="53">Thriller</option>
<option value="10752">War</option>
<option value="37">Western</option>
</select>
<div>Popular, highest rated, or highest grossing?</div>
<select id="movieType">
<option value="popularity.desc">Popular</option>
<option value="vote_average.desc">Highest Rated</option>
<option value="revenue.desc">Highest Grossing</option>
</select>
<div>MPAA Rating</div>
<select id="rating">
<option value="PG-13">PG-13</option>
<option value="R">R</option>
<option value="NR">NR</option>
<option value="G">G</option>
<option value="PG">PG</option>
<option value="NC-17">NC-17</option>
</select>
<div>Release Date</div>
<input type=text placeholder="enter release date here" id="releaseDate"><br><br>
<button id="movieButton" class="btn btn-danger btn-custom">Find Movie</button>
<button id="saveMovie" class="btn btn-danger btn-custom">Save Movie</button>
<button id="loadMovie" class="btn btn-danger btn-custom">Load Movie</button>
<p class="saveFeedback" id="saveMovieFeedback"></p>
</form>
</div>
</div>
</div>
</div>
<div class="col-md-3 bg-danger rounded"></div>
<section id="drink-section"></section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="assets/script.js"></script>
</body>
</html>